Blogging with LibreOffice

This post is just a WordPress workflow test.

The goal (heading 3)

The goal is to find a reasonable way to edit a blog post in WordPress without using the online editor (previous 5 words underlined). The reason is that my internet connection is sometimes unreliable and after having lost the whole text of blog posts during editing, I prefer to edit, format save the text offline using LibreOffice.

This text is therefore edited and formatted entirely in LibreOffice 5, complete with hyperlinks. Below, I also include a one column/2 row borderless table with an image in the first row and a centered caption in the second row:


Above is a random image.
This is the centered image caption, complete with some bolded text.

Having formatted the text, one should be able to transfer the whole thing into WordPress by copy/paste or some other simple process. It goues without saying the transfer should be complete with formatting, tables, links and images. But when I try direct copy/paste, everything just disappears (previous 3 words in italics).

The solution? (heading 3)

Searching the web, I found that lots of of people have similar needs. One tip that seemed interesting was to work around the problem by first pasting the formatted text into an Online HTML editor and then from that into WordPress.

If you read this post, it means the procedure works.

Code::Blocks with MSVC2013

This is a quick placeholder post on how to set up the C++ IDE Code::Blocks with the Microsoft Visual Studio 2013 tool chain. The main information is found in this PDF.

Quote from the PDF:

“This document aims to explain a way to configure Code::Blocks on Windows using different Visual
Studio C++ compilers and Windows SDKs. Where relevant it is discussed how to compile for x86
(32bit) and x64 (64bit) executables.

The general approach taken is to employ the Code::Blocks global variables for configuration of the
compiler and related tools, i.e. set the global variable values according to the needs of the compiler,
SDK and target processor architecture. Examples are provided for MSVC2010 and MSVC2013. By
extension, it should be feasible to reconfigure for other MSVC versions.”

If you have questions or comments to the method described, please comment below.