Librewriter for a pdf book

1. number pages

You can add number pages at the footer of your pages

  • in format -> page style -> footer -> Footer on
  • and then, in footer area (by clicking at the bottom) insert -> page number (select mirror to get different alignment for even and odd pages

2. titles in header

You can also create header, with, i.g., the book title (on the even pages) and the chapter title (on the odd ones):

  • in format -> page style -> header -> Header on (deselect same content for left and right pages)
  • and, as above for the footer, going in header area, insert, i.g. in a left page the field title, in a right page, insert -> fields -> Document -> (type: heading, format: heading content). Don’t forget to set the “up to level” (typically : 2, if you want tha names of headings of 2° level, as h2 in html), changing it from 1.

3. bibliografy

You can also add bibliography enter (i.g. in footnotes) and get an automatic bibliografi index at the the end of your file (book/article). These are the steps:

  • Set a “bibliografy entry” (or “citation”): insert -> table of content or index – > bibliografy entry (or “citation”) -> source: document content – new
  • there you have to set, if it is a book, at least the author, the title and the year, and a short name (in Italian, a sigla) to recall it afterwards quicky. (if Journal Article → Author, Title, Year, Journal).
  • Then you can create, typically at the end of your document, the bibliography index: insert -> table of content or index – > table of content or index or bibliography -> type: bibliography, and there you can edit the structure of the items (and their formatting)

Timeout of grub boot

You have to edit grub in /etc/default (i.g. with nano: sudo nano /etc/default/grub)

not only modifying this line: GRUB_TIMEOUT=3

but also adding (after that) this one: GRUB_RECORDFAIL_TIMEOUT=$GRUB_TIMEOUT

Of course after these changes you have to do a

sudo update-grub

as explained here.