Remove new lines from a text file
Posted: 2019-10-08 Filed under: office | Tags: line, sed, space, tr Leave a commentI want to copy some text from a PDF file into a word processor. Copying works, but the line breaks from the PDF formatting are also copied. This messes up the text and results in disconnected text with many rows. I decided to use the command line to fix this automatically. I searched a bit and it seems that there are two steps that have to be taken.
Read the rest of this entry »
Syntax highlighting
Posted: 2019-08-04 Filed under: office, system | Tags: highlight, html, libreoffice, openoffice, syntax, word, WPS Office, writer Leave a commentI’ve been writing a text document, where I want to paste an excerpt of a shell script. I want to put it in a frame as a separate “figure”, referred to in the text as “Box ##”. To make it clearer to the reader, I want to have the appropriate syntax highlighting. How to do it?
Read the rest of this entry »
WPS Office dictionary
Posted: 2017-10-15 Filed under: office | Tags: dictionary, en_GB, spellcheck, WPS Office 2 CommentsI have been using WPS Office for quite some time now, and I am really not looking back. The default spellcheck that comes with the office is American English (en_US). I wanted to add a spell check in Writer for British English, since this is what I normally use for documents.
NOTE (03 April 2021): Please, check this newer post for updated howto for WPS Office 11.*!
WPS Office
Posted: 2016-12-28 Filed under: office | Tags: font, impress, MT Extra, office, Presentation, Spreadsheets, WPS Office, writer 1 CommentWith the latest SlackBuilds.org update, WPS Office was added to the repository. I decided to give it a try, as I have never been too happy with Impress.
The SlackBuild script just repackages the binaries provided from upstream. So far, the office suite seems amazingly good. Really. The interface is user-friendly, it is very fast and offers good compatibility with the file formats of MS Office. Upon start, a warning window appeared, complaining about a missing font:
Read the rest of this entry »
LibreOffice: start numbering at page 2
Posted: 2016-11-06 Filed under: office | Tags: libreoffice, numbering, title page, writer Leave a commentI have a text document prepared in LibreOffice Writer, where the first page should contain only title and table of contents. Page numbering should then begin on the following page. That’s it: page 1 should have no numbering, page 2 should be numbered 1, page 3 should be numbered 2 and so on… How to do it?
Read the rest of this entry »