[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tex:triky [2018/10/03 13:53]
vodrazka [Tips and Tricks for LaTeX]
tex:triky [2019/09/09 16:37] (current)
lauschmannova [pdf-a verification of theses]
Line 6: Line 6:
      
 There are folders for several years backward up to the latest distribution. There are folders for several years backward up to the latest distribution.
 +
 +In order to use the shared TeX binaries from the command line, you may want to add the following line to your .bashrc:
 +
 +  export PATH=/opt/texlive/2018/bin/x86_64-linux/:$PATH
  
 === Texstudio === === Texstudio ===
Line 12: Line 16:
 ====== Tips and Tricks for LaTeX ====== ====== Tips and Tricks for LaTeX ======
  
 +  * see also [[::it-tricks#latex-pdf|IT-tricks with LaTeX and pdf]]
   * For the redefining the **header**, you can use   * For the redefining the **header**, you can use
     * ''\markboth'' -- two parameters (left and right page) or ''\markright'' with just one parameter     * ''\markboth'' -- two parameters (left and right page) or ''\markright'' with just one parameter
Line 153: Line 158:
  
 Some [[https://wiki.ufal.ms.mff.cuni.cz/tex:pbml|PBML]] and [[https://wiki.ufal.ms.mff.cuni.cz/tex:sctl|SCTL]]-specific issues can be found at these links. Some [[https://wiki.ufal.ms.mff.cuni.cz/tex:pbml|PBML]] and [[https://wiki.ufal.ms.mff.cuni.cz/tex:sctl|SCTL]]-specific issues can be found at these links.
 +
 +====== pdf-a verification of theses ======
 +All theses submitted at the Charles University must be in the pdf-a format,
 +following a specific set of requirements defined by a university profile.
 +`/lnet/ms/projects/verapdf/checkpdf` in the ufal internal network is a wrapper for the verapdf tool which you can use to check whether your thesis fulfills these requirements. New university profiles appear regularly at  
 +https://cuni.cz/UK-7987.html , so don't rely on the default.
 +
 +[[vernerova@ufal.mff.cuni.cz|Anša's]] experience:
 +I used Eda's LaTeX template (send me an e-mail if you want to get it) and no amount of tweaking would give me a valid pdf-a, even though I was using 
 +    \usepackage[a-2u]{pdfx}
 +and compiling with a wrapper script containing the line 
 +    LC_ALL=cs_CZ.UTF-8 xelatex -shell-escape -output-driver="xdvipdfmx -z 0" -synctex=1 "$@"
 +I sent my pdf file to [[https://www.mff.cuni.cz/cs/fakulta/organizacni-struktura/lide?hdl=2684|Petra Hoffmannová from the library]], who ran my pdf file through Adobe Acrobat (the library has a commercial licence)... and voilà, it was a valid pdf-a. Unlike verapdf, Acrobat also gives a detailed summary of the exact issues with your file (like which piece of text in which image fails the validation).

[ Back to the navigation ] [ Back to the content ]