Tag Info

New answers tagged

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 ...


4

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


1

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.


5

Partially solved This problem (part 1 of the question) was simply tempting, so I couldn't resist it even if my solution doesn't provide shipping out hackery. As I am improving my skills in LuaTeX, that beast, excuse me my keyboard mistyped that word, that beauty I meant, this task was a challenge. Briefly said the LuaTeX code does: It generates a ...


7

What is currently the most modern way of TeX-based typesetting? It should include microtypographic features, UTF-8 support, preferably OTF fonts and compatibility with most basic classes like KOMA/memoir and packages such as pgfplots and biblatex with the use of biber. Apologies if this answer is a bit tongue-in-cheek. The most "modern" from my ...


0

The following solution takes care of the problem caused by figure. \usepackage{letltxmacro} \newcommand{\disableAllButCounters}{% % Dealing with the figure environment \LetLtxMacro{\savedfigure}{\figure} \renewcommand{\figure}{} \LetLtxMacro{\savedendfigure}{\endfigure} \renewcommand{\endfigure}{} % Disabling everything but counter \setbox0=\vbox\bgroup } ...


10

You could try with \newcommand{\disableAllButCounters}{\setbox0=\vbox\bgroup} \newcommand{\enableAllButCounters}{\egroup} Since \setcounter and similar commands act globally, this should do; \write commands are executed only when the box eventually finds its way in the main vertical list, which the constructed box won't. \documentclass{article} ...



Top 50 recent answers are included