eXistSolutions / LGPN

1 stars 0 forks source link

[book] pdf generation #256

Closed tuurma closed 4 years ago

tuurma commented 5 years ago

TODO

I've updated the server, plugging in the pdf generation. Clicking on the print icon next to an entry the pdf with book fragment for that name will be downloaded. It may take a while, depending how many person entries exist for a given name.

image

I'm still struggling with proper font setup, didn't manage to set up Times New Roman correctly on the server, which is why numbers for entries are missing. Some characters are missing as well, Grzegorz is working on that (highlighted below)

image
tuurma commented 5 years ago

Pro memoria

luatex --version
This is LuaTeX, Version 1.10.0 (TeX Live 2019)

tex-command to use on the server is /usr/local/texlive/2019/bin/x86_64-linux/lualatex

TeX sources for generated files are written to java temp dir, i.e. /usr/local/existdb/exist/tools/yajsw/tmp and likewise generated .pdf and .log files are stored there.

All generated .tex files are referring to lexicon.pream file which includes LGPN TeX macros (plus points to some further resources). All these are located in /usr/local/texlive/texmf-local/tex/latex/local/lexicon

LGPN fonts are located in lgpn_fonts directory and also symbolically linked from tmp_dir (/usr/local/existdb/exist/tools/yajsw/tmp)

image
tuurma commented 5 years ago

For orientation: generating whole letter Δ (2000 entries) took ca 10 mins, I will try to speed up this performance but please be patient and don't trigger the pdf generation multiple times or it might crash the server

tuurma commented 5 years ago

Version of the same sample from my local machine

image
tuurma commented 5 years ago
image
tuurma commented 5 years ago

Some examples of dot under

image image image