New answers tagged

3 votes
Accepted

Tagged PDF Creating Using Table Module -- Error

colortbl is currently not officially supported. In your example you can try the following code after the loading of colortbl, but be aware that there can be other open problems and do not ignore the ...
Ulrike Fischer's user avatar
1 vote

lualatex: how to produce PDF acceptable by arxiv?

Message them Instead of working against the system, work with it. You have a valid submission but due to technical reasons, the system ("their") fails to succesfully submit it. That's it. ...
Mayou36's user avatar
  • 171
3 votes
Accepted

How use cyrillic language support in plain Xe/luaTeX?

You've already figured out how to load fonts: input luaotfload.sty then use the \font command with the name of the font that you want to load. Cyrillic has a few characters that have different ...
Max Chernoff's user avatar
  • 4,442
2 votes

Delete non-ascii characters from string? No special chars involved. Do not need to replace them

Here I use a token cycle. Macros and grouping are also stripped out of the result, though if it were desired to retain them, that would be a simple change. \documentclass{article} \usepackage{...
Steven B. Segletes's user avatar
4 votes
Accepted

Unicode character U+1E2B

Minion Pro is well known to lack lots of glyphs. But it has U+02D8 BREVE and you can define a workaround (note: copy-paste won't work). \documentclass{article} \usepackage{fontspec} \usepackage{...
egreg's user avatar
  • 1.1m
4 votes
Accepted

Delete non-ascii characters from string? No special chars involved. Do not need to replace them

The following uses \text_purify:n to first remove anything that's not a character (math mode would be untouched) while fully expanding expandable macros exhaustively. Then it steps over the result ...
Skillmon's user avatar
  • 59.2k
0 votes

How use cyrillic language support in plain Xe/luaTeX?

The clarification has evolved a little, so here's an example using pdflatex: \documentclass[10pt,a4paper]{article} \usepackage[T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[ukrainian,english]{...
MS-SPO's user avatar
  • 10.4k
6 votes
Accepted

Tagged PDF creation with lualatex-dev (Adobe Acrobat Profession Error)

At first: Do not trust every failure message. Validators have bugs and sometimes complain about perfectly fine documents. I would recommend to use as validator verapdf (https://dev.verapdf-rest....
Ulrike Fischer's user avatar
7 votes
Accepted

Tagpdf Creation using lualatex-dev (Section should be H1 tag)

You need phase-III for the tagging of section commands, and the table module for basic table tagging. You then also should tell the code that the first line is a header row (be aware that the table ...
Ulrike Fischer's user avatar
4 votes

Force LuaTeX to ignore unknown Unicode characters

\documentclass{article} \begin{document} ctrl-A [] \end{document} produces ! Text line contains an invalid character. l.5 ctrl-A [^^A ] ? The classic approach would be to make the ...
David Carlisle's user avatar
4 votes
Accepted

Force LuaTeX to ignore unknown Unicode characters

TeX is a very complicated program, handling all possible input requires testing all possible input. So it's recommended for you to create a file with all the Unicode character from 0 to 1114111 and ...
user202729's user avatar
  • 6,933
3 votes
Accepted

LuaLatex and intersection segments: Error only with Lua

If the code is compiled with LuaLaTeX then the intersection point at the origin is not found. This is probably due to rounding errors. If the domain in the line \addplot[domain=0:5, name path=f] {f(x)}...
matexmatics's user avatar
  • 3,579
1 vote
Accepted

Basic multilingual lualatex document

It depends on what you need. For small chunks of texts in the secondary languages (words, sentences, maybe groups of a few paragraphs), there is no need to pass the languages as options: \...
Javier Bezos's user avatar
  • 9,846
7 votes
Accepted

LuaLatex doesn't work textbf textit

Do not use fontenc and luainputenc. This does not switch to "ttf-fonts" but uses legacy fonts. For cyrillic, you can e.g. use newcomputermodern: \documentclass{article} \usepackage[14pt]{...
Ulrike Fischer's user avatar
1 vote
Accepted

Font choice in moderncv banking style inconsistent with other styles

You need to load the font after the theme: \documentclass{moderncv} \usepackage{fontspec} % modern themes \moderncvstyle{banking} \moderncvcolor{blue} \setmainfont{Lobster Two} % personal data \...
Marijn's user avatar
  • 37k
2 votes
Accepted

Execute simple command at shipout, depending on value of a boolean

\documentclass{article} % Compile with lualatex. \usepackage{fontspec} \newif\ifusedfoo \def\foo{\clearpage Hello.\par\usedfootrue} \def\unfoo{Goodbye.\par\usedfoofalse\clearpage} \AddToHook{shipout/...
cfr's user avatar
  • 196k
2 votes
Accepted

Building a class for matrices

You can if you wish accept either the outer class or the inner tbl data, checking at run time the argument types, so you can pass in A or A.tbl \documentclass{article} \usepackage{tkz-euclide} \...
David Carlisle's user avatar
5 votes

UTF8 not (fully) working in tables

It's unrelated to the tabular the table environment is resetting to the document default latin modern sans serif, which has no Greek \documentclass{article} \usepackage{fontspec} \setmainfont{arial}[ ...
David Carlisle's user avatar
10 votes
Accepted

UTF8 not (fully) working in tables

If you want to switch \familydefault, you should do it before \begin{document} or explicitly use \normalfont afterwards in order to actually use it, otherwise the currently loaded font is still the ...
Marcel Krüger's user avatar
3 votes
Accepted

LuaLaTeX strange error with Noto CJK and babel onchar=ids fonts

It seems a bug in babel. Try the following hack in the preamble: \makeatletter \let\bblorg@mapselect\bbl@mapselect \def\bbl@mapselect{\ifmmode\else\bblorg@mapselect\fi} \makeatother But I have to ...
Javier Bezos's user avatar
  • 9,846
1 vote
Accepted

Want to darken a font just a little

I just submitted issue #498 to the GitHub page for latex3/fontspec. Linked to this thread at SE. When they get back to me, I will comment here. Meanwhile, work-around (works with lualatex): In most ...
rallg's user avatar
  • 1,912
1 vote
Accepted

Compile pdfpages code with lualatex

You could use \usepackage{luatex85} which defines most of the pdftex names in terms of luatex primitives.
David Carlisle's user avatar
6 votes

Want to darken a font just a little

Both TeX engines [XeTeX] and [LuaTeX with luaotfload] support the engine-implemented font feature embolden=decimal_number for OpenType fonts. PDF standard defines two basic painting routines for ...
wipet's user avatar
  • 73.2k
0 votes

What are the incompatibilities of pdftex, xetex and luatex?

I do not know about XeTeX, but LuaTeX offers the possibility of doing some things using Lua programs, without the need for shell escape. For example, it is possible to examine the content of arbitrary ...
rallg's user avatar
  • 1,912
1 vote

Lualatex don't work after updates

As commented, the modules lua-uni-case, lua-uni-normalize, lua-uni-graphemes etc. are provided by the lua-uni-algos package.
PHPirate's user avatar
  • 1,765
3 votes

Error Context (latex)

To properly answer this, you should include an MWE (i.e., your code should include loading any packages as well as \starttext/\stoptext) and the full error message (which clearly identifies which ...
Max Chernoff's user avatar
  • 4,442
1 vote

What are the incompatibilities of pdftex, xetex and luatex?

In LuaTeX, several \pdf... primitives of pdfTeX are removed or renamed, as mentioned in Joseph Wright's answer. As a result, some packages does not work in LuaLaTeX, for example, xypic package (source)...
user202729's user avatar
  • 6,933
1 vote

How to set the TTF font size in LuaTeX with Pandoc?

The KOMA-classes support arbitrary fontsizes. E.g. \documentclass[fontsize=22pt]{scrartcl} should work. Be aware that the KOMA classes change also other things and the look of your document can alter. ...
Ulrike Fischer's user avatar
1 vote

Is the advice I find to use \colon for punctuation and : for set notation outdated

The advice you found is about colons in math formulas. In text the colon is input just with :. For the case at hand, Knuth would suggest Joshua~23\thinspace:\thinspace 8, but it's a stylistic ...
egreg's user avatar
  • 1.1m
1 vote

Make section number same as org-mode subheading

It seems you added the numbering 1.1.1, 1.1.2, 1.1.4, and 1.1.6 to the org heading manually since org is not numbering its headings automatically. How should Latex or org know about your manual edits? ...
lukeflo's user avatar
  • 1,545

Top 50 recent answers are included