[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Creating marginal comments?
From: |
Knut Petersen |
Subject: |
Re: Creating marginal comments? |
Date: |
Wed, 30 Nov 2016 13:33:13 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 |
Am 29.11.2016 um 13:02 schrieb tapani:
I am producing a hymnal, using Lilypond and lilypond-book with xelatex. I
would like to insert biblical references in the margin of the page, parallel
with the lyrics.
For example, in "Hark, the Herald Angels Sing", the lyrics "Ris'n with
healing in his wings" would have "Mal. 4:2" in the margin.
In TeX like systems, this is easily done with the \marginnote command.
So do use TeX ;-) Put the attached files in an empty directory, don't forget to
make mkhymex and mypdfcrop
executable, then run ./mkhymex. You'll get an 8-page hymnal book with some
example marginal notes.
Two A5 pages on every side of an A4 sheet, correctly arranged for printing.
hymex.tex is the hymnal example file to be compiled by lualatex or xelatex.
mkhymex is a script to translate hymex.tex to hymexc.pdf.
mypdfcrop is needed because pdfcrop is broken for pdfs without embedded fonts.
Only recent versions of luaLatex and xelatex will work. For lualatex that means
version 0.8x won't work.
hymex.tex requires quire.tex provided by the midnight macro package.
You need a recent lilypond. Recent means very recent. The
"-dgs-never-embed-fonts" must be present.
You need ghostscript. You'll need the current version.
cu,
Knut
mkhymex
Description: Text document
mypdfcrop
Description: Text document
hymex.tex
Description: Text Data