Making a patch
Posted: 2016-11-26 Filed under: slackbuilds | Tags: diff, patch, sed Leave a commentI usually fix the SlackBuilds I maintain by sed
, as it makes things much more transparent. However, sed
is not always an option, especially for some big fixes or fixes that contain “weird” characters, for example something like this:
unless (defined(@$slist) && defined($hlist_sel)) {
The above is an excerpt from perlprimer.pl
, that had to be fixed. The problem in question has been discussed here. I wanted to provide a fix for my perlprimer.SlackBuild, therefore I decided to make a patch.
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 »