# Tag Info

7

latex provides \MakeUppercase because \uppercase will destroy lots of text, almost all text if you are using UTF-8 with non ascii letters. However the specific error here is \uppercase\chaptertitlename The braces are not optional, it has to be \uppercase{\chaptertitlename} hence the missing brace error that you show. But as noted above this will break ...

4

Try this: \documentclass{article} \newcommand{\test}{{abc}def} \begin{document} \uppercase\test \end{document} The output is Funny? A bit. The fact is that \uppercase is a TeX primitive that requires { after it. To this end, it expands tokens after it; any \relax token or space token is ignored and expansion is resumed. This expansion process ends as ...

4

Taking the questions in order: It's up to you where you put the version number, but it's useful it both the .sty and .lua files contain some information on release number for debugging CTAN require some documentation, ideally a README and a PDF containing details; for TeX Live in particular you need to provide the source for the PDF too. MiKTeX and TeX Live ...

2

Short Answer The command TEXMFVAR=texmf-var updmap-user should be TEXMFHOME=texmf TEXMFVAR=texmf-var updmap-user instead. The TEXMFHOME path needs to be specified so that updmap-user reads the font map config from the user directory, finds an entry for fontawesome in it and includes details about it in the map files generated at the TEXMFVAR path. See ...

2

Note: I have referred to a fresh new Debian GNU/Linux 10.0 (buster) installation while writing this answer. Since Ubuntu is a Debian-based distribution, I would expect these details to be similar in Ubuntu as well. The table below shows the size of archives that would be downloaded and the additional disk space that would be used for each package installed ...

1

How to run these games? – danielleontiev 3 hours ago Locate hanoi.tex on your system. For me it is /usr/local/texlive/2019/texmf-dist/tex/plain/hanoi/hanoi.tex go into folder run tex hanoi and dvipdf hanoi the results of game will be in hanoi.pdf If you prefer to play yourself, try https://ctan.org/tex-archive/macros/latex/contrib/jeopardy/example

1

You should really not change the package files. Human error will always come back to haunt you :-) Searching a bit I found this Overleaf help page, which helps to solve half the problem. Create an empty file called .latexmkrc in your project folder, and then add the following line to it: $ENV{'TEXINPUTS'}='./l3stuff//:' .$ENV{'TEXINPUTS'}; Now create an ...

1

As explained in How to use a command as path in 'includegraphics'? the \includegraphics command has problems parsing file names that consist of multiple elements. The solution is also given in that post, although a bit hidden. The idea is to compose a fully expanded path+filename string and use that as argument. Code: \def\image{yourimage.eps} \...

1

The variable $pdf_mode is responsible for the engine used to generate pdfs. You have to set$pdf_mode to 5 if you want to use XeLaTeX. You can do that by adding the following line to your configuration file (i.e. $HOME/.latexmkrc):$pdf_mode = 5; Possible values for \$pdf_mode are: 0 = no pdf 1 = pdflatex 2 = pdf from ps 3 = pdf from dvi 4 = lualatex 5 ...

1

Without considering your tex editor, in order to compile your tex file with xelatex, add %!TeX program = xelatex to the first line of your source code. Because according to this link, Vimtex supports two TeX directives: TeX root and TeX program. Please consider the following example: %!TeX program = xelatex \documentclass{report} \usepackage{fontspec} \...

Only top voted, non community-wiki answers of a minimum length are eligible