# Tag Info

1

The package required to compile using XeLaTeX was not installed on my linux ditribution. Solved with: sudo apt-get install texlive-xetex

2

If you compile with XeLaTeX and have the Fontin fonts installed on your system it works fine after some modifications to the preamble and the very beginning of the file. The main modifications consisted in deleting some obsolete options or packages, and the \fb switch-font command defined just after \begin{document}; re-defining it with fontspec and using ...

0

The conversion from Hello'' to „Hello“ via a feature file. Disadvantages: Copy&paste will catch the first form. LuaTeX only. Example file: \documentclass{article} \usepackage{fontspec} \usepackage{filecontents} \begin{filecontents*}{germanquotes.fea} # germanquotes.fea languagesystem DFLT dflt ; languagesystem latn dflt ; ...

1

For babel-style shortcuts, don't use "smart" quotes: using "dumb" double quotes is the way to go. \documentclass[a4paper]{scrartcl} \usepackage{fontspec} \usepackage{polyglossia} \setdefaultlanguage[spelling=new, babelshorthands=true]{german} \usepackage{csquotes} \begin{document} \enquote{Hallo} --- with \texttt{\string\enquote}, this works "`Hallo"' ...

1

There is a mailing list for TeX and hyphenation patterns. This is a good starting point for anything TeX-and-language-related. For babel you could file a bug report with the LaTeX project. For polyglossia you could also file an issue with the current maintainer.

6

Very likely you need option unicode for hyperref. It can be given the following way: \documentclass[hyperref={unicode}]{beamer} Alternatively (for other classes that load hyperref and do not have special options for specifying package options of loaded packages): \PassOptionsToPackage{unicode}{hyperref} \documentclass{beamer}

2

Only workaround, not a real solution I haven't found the source of this problem, but ignoring errors works. I downloaded file with: wget -O myfile.txt https://gist.githubusercontent.com/anonymous/7e10ab5a663e9e3367f8/raw/f502f17b15‌​f806d622ce3c4eadd36f36aedaad6f/gistfile1.txt I added amsmath package as the generated file contains \text command. ...

5

The problem is caused by your placement of \tikzexternalize. Older versions of pgf would allow this in both the preamble and document body, although this was not documented. With the v3 update, it now has to appear in the preamble: what you are actually seeing is a failure in the main job after the auxiliary job aborts. (The error message is clearer with ...

5

I have just faced the same problem and it turns out that the solution was to install the lmodern package. If I understand correctly this also installs the fonts-lmodern package which contains the missing font file lmroman10-regular that lualatex was complaining about. (lmodern seems to contain font files for pdfTeX) The conclusion is that this is perhaps ...

6

By default latexmk compiles all tex files in the current directory, including doing the necessary calls to biber, bibtex, etc. To run pdflatex on the files use latexmk -pdf or for lualatex latexmk -lualatex You can set default behaviour via a configuration file.

2

LuaLaTeX and circuitikz example: A one-phase transformer approximately equivalent circuit (T-cicuit). Give the equivalent circuit parameters manually in the code. \documentclass{article} \usepackage[utf8x]{inputenc} \usepackage{luacode} \usepackage{amsmath,graphicx} \usepackage{circuitikz} \begin{document} \luaexec{ tp=tex.print local R1 = 0.1 local X1 = ...

0

Based on David Carlisle's solution and egreg's comment I came up with something that seems to work on my TeX installation: \documentclass[11pt]{article} \usepackage[main=english,russian]{babel} \usepackage{tabu} \usepackage[textwidth=6.5in,textheight=9in,nohead,headheight=39pt,headsep=12pt, top=72pt]{geometry} \usepackage{fontspec} ...

8

You could use a loop in the shell eg cd myfolder; for i in *.tex; do pdflatex $i;done 3 I imagine there are quite a few ways to do this- David Carlisle mentioned one in his comment, here's another: find -name "*.tex"|while read file; do pdflatex "$file";done

2

Here's a latex approach to question #1 using the atbegshi package together with tikz to generate the random pages (I tried using lcg first, but it seems to seed its random generator using the time that the file was saved with the result that the random pages were not so random unless you saved the file...). It's not quite as comprehensive as Malipivo's ...

3

With only code fragments to go by, I can't be entirely confident that this will work. You could use a longtable environment instead of a tabular* environment, along the following lines: \usepackage{longtable} \newenvironment{entrylist}{% \setlength\LTleft{0pt} \setlength\LTright{0pt} \begin{longtable}{@{}l@{\extracolsep{\fill}}l@{}} % this tells ...

2

I think you have two options: Switch from XeLaTeX to LuaLaTeX. When I run your MWE on my system (MacOSX 10.9.2, MacTeX2013, Acrobat pdf viewer, TeXworks editor), I get the same problems as you do when I compile it under XeLaTeX, with all three font pairs you mention. However, no problems occur if I compile the MWE under LuaLaTeX using either Minion/Myriad ...

6

I don't really know ployglossia but if I explicitly select russian the word is hyphenated: \documentclass[11pt]{article} \usepackage{polyglossia} \setotherlanguage{russian} \usepackage{tabu} \usepackage[textwidth=6.5in,textheight=9in,nohead,headheight=39pt,headsep=12pt, top=72pt]{geometry} \usepackage{fontspec} \setmainfont{CMU Serif} ...

5

There is a different behavior between \luadirect & \luaexec commands and luacode & luacode* environments, please see page 2 in the luacode manual. This is your example taking an advantage of knowing that. %! lualatex mal-lua-to-tikz.tex \documentclass{article} %\usepackage[utf8x]{inputenc} %\usepackage{amsmath} \pagestyle{empty} \usepackage{luacode} ...

1

LuaSQL can be used with LuaTeX.

4

The SQLite organization provides the LuaSQLite library, with documentation and examples. I guess if you want more help with the lua code itself the Lua community is more suited for more in depth support, if further questions are about the implementation with lualatex this is an at least equally appropriate site to ask your questions.

Top 50 recent answers are included