# Tag Info

2

You could set Latin Modern as the main font if you like it for the Latin range, and then use CMU Serif as a fallback font for higher Unicode ranges. Depends on how much higher Unicode you need. I still hope someone can devise a mechanism for an automatic font-fallback system like in CSS. (Define fallback font for specific Unicode characters in LuaLaTeX) ...

1

The Latin Modern font family is available in OpenType format as well; see The Latin Modern (LM) Family of Fonts site. Even better, it's distributed with both TeXLive and MikTeX. (Am I maybe missing something about capabilities of CMU that are not available in LM?) Thus, you could write % !TEX TS-program = lualatex \documentclass{scrartcl} ...

1

You have two possibilities. 1 – Use fouriernc with TeX Gyre Schola as text font \documentclass{article} \usepackage{amsmath} \usepackage{fouriernc} \usepackage[no-math]{fontspec} \usepackage{lipsum} \setmainfont[Scale=0.93]{TeX Gyre Schola} \begin{document} \lipsum*[2] \begin{equation*} \widehat{bcd} \ \widetilde{efg} \ \dot A \ \dot R \ {\ddot A ...

2

Standard pdflatex fonts have some glyphs not there where lualatex expects thems. This doesn't show when the text uses only ascii. But try out this document with lualatex to see the problems with fouriernc: \documentclass{article} \usepackage{fouriernc} \begin{document} Euro: € Sharp s: ß \end{document} Compare it with the fontspec output: ...

4

I tried your input changing the loading of fontspec into \usepackage[no-math]{fontspec} (and using a Times font I have on my machine, which should be irrelevant); this is the report by pdffonts without no-math name type emb sub uni object ID ------------------------------------ ----------------- --- --- --- ...

4

It turns out the Lua version shipped with LuaTeX doesn't support shifting operator >> from the line exponent = exponent >> 1. For those who are interested here the complete working code for the old Lua 5.2 (hopefully they'll update soon): TeX: \documentclass{article} \usepackage{luacode} \begin{document} \directlua{dofile("mr.lua")} Is ...

3

The problem is resolved by adding \luatexbodydir TRT to the definition of the syriac environment. So, the correct definition is \newenvironment{syriac}{% Syriac paragraph \luatexpardir TRT\luatextextdir TRT\luatexbodydir TRT\syriacfont}{} There is hardly any documentation available of the LuaTeX text direction infrastructure.

2

The version 1.18.0 / 1.12.0 of eledmac/eledpar, just uploaded now on CTAN, should solve this issue. Thanks for reporting it and for test.

3

I don't know the answer for first two questions, as I don't use XeTeX, but I want to provide option for the third question. Thanks to Arthur's code I was able to create basic package for unicode normalization in LuaLaTeX. The code needed only slight modifications to work with current LuaTeX. I will post only main Lua file here, full project is available on ...

5

The simple file \input pgf \show\shipout produces different results when compiled using TeX Live 2012, with PGF version 2.10, or under TeX Live 2014, with PGF version 3.0.0 Version 2.1.0 > \shipout=macro: ->\afterassignment \pgfutil@@EveryShipout@Test \setbox 255= . Version 3.0.0 > \shipout=macro: ->\edef \AtBegShi@GroupLevel {\number ...

5

The code from @egreg's answer supposes that there is \let\pgfutil@@EveryShipout@Org@Shipout=\shipout in the macros of pgf.tex. The error message shown in your post says that the line above is not processed. Maybe, a new or old version of PGF uses another control sequence names or does something different and the @egreg's code is incompatible with this ...

14

Peer pressure once again. :) IIRC, pure Lua has no built-in way to find out the current working directory without resorting to trickery. Thankfully, LuaTeX is shipped with the amazing LuaFileSystem, which is a "library developed to complement the set of functions related to file systems offered by the standard Lua distribution." The reference section of ...

11

You can probably mess directly with TeX's hash table from lua but simpler is just to get lua to write out the \let statements. > \b=macro: ->s. l.10 \show\b ? > \c=macro: ->s. l.11 \show\c ? ) No pages of output Produced from: \def\a{s} \directlua{ x = {"b","c"} for n,y in pairs(x) do tex.print("\string\\let\string\\" .. y .. ...

0

After fiddling around with the same issue, I found the source of the «bug». It was the «Wordspace» feature. I am not quite sure that the «Letterspace» definition takes care of the spaces as well. \documentclass{article} \usepackage{blindtext} \usepackage{fontspec} \setmainfont[SmallCapsFont={Latin Modern Roman Caps}, ...

1

See two marked bits (otherwise the tic labels are set in math mode by default) \documentclass[12pt]{standalone} \usepackage{tikz} \usepackage{pgfplots} \usepackage{fontspec} \usepackage{ebgaramond}%<=== think you needed this - you presumably have the font locally otherwise \begin{document} \pgfplotsset{every axis/.append style={ line width=.5 pt, tick ...

7

Variablen in your example is a node list. Various types of nodes exists, such as glyphs for characters, glue for spacing, or hlist which is the type you get for your \hbox. hlist contains child nodes, which are accessible in n.head attribute. You can then loop this child list for glyphs and glues. Each node type is distinguishable by value of n.id ...

5

Pgfplots unintionally defined additional unprefix forms of such macros. I have already fixed this in the developer version of pgfplots (thanks to the helpful remark of @DavidCarlisle). Switching the load order (unicode-math before pgfplots) is currently the most simple work-around (known to me).

1

As I said, with XeLaTeX I can obtain what you need with the following MWE \documentclass{book} \usepackage{fontspec,polyglossia} \usepackage{eledmac,eledpar} \setmainlanguage{english} \setotherlanguage{syriac} \usepackage{bidi} \setlength{\parindent}{0pt} \newfontfamily\syriacfont[Script=Syriac,Scale=1.2]{Estrangelo Edessa} \newcommand{\n} [1] % ...

4

This is due to a bug in the external lib. It has already been fixed in PGF CVS. To overcome the weakness, you have two choices: 1.use a decent version of pgfplots and replace \usetikzlibrary{external} by \usepgfplotslibrary{external} (which also contains the bugfix) OR 2.Use: \tikzset{% external/system call ={lualatex -enable-write18 -halt-on-error ...

0

no, you have to write this in the terminal. Go to the directory, where the .tex file is located with cd and then write the command line lualatex --shell-escape myfile

Top 50 recent answers are included