Hot answers tagged

24

Karl's Path SEarch Library WHICH


20

Update november 2019 From now on the recommended way to use harfbuzz with luatex and latex is to use a latex format based on the engine luahbtex together with the version 3.11 or newer of luaotfload which contains support for the harf mode. The binary luahbtex has been added to texlive 2019 for the major OS. It has been connected to the lualatex-dev ...


19

As info kpathsea says (online manual here), Kpathsea is a library for path searching (e.g., for very quickly locating a given .sty file in a set of potentially large TEXMF trees, without doing a recursive directory tree traversal every time a given file is needed; this is important when compiling LaTeX documents using several packages, themselves requiring ...


12

harftex for (currently) x86_64-linux, i386-linux, and win32 is now in contrib.texlive.info. One can install it with tlmgr --repository https://contrib.texlive.info/current install harftex If I get access to other binaries I will add them later on.


11

TeX Live is finalised once per year, as David says in his answer this includes a more-or-less fixed set of binaries. (Binary updates almost never add features, only fix issues, during the year.) At the same time, this release version is made into an ISO for DVD production. During the year, (macro) package updates happen from this point to the point at which ...


10

\numexpr is an additional item that can be used in contexts where TeX is looking for a <number>. It basically is an “unnamed counter register” as far as its syntax is concerned and is not allowed “bare”. It essentially works like \countX (where \countX stands for an “unreachable” count register number) after this unnamed register is loaded with the ...


10

A format file is just a preloaded set of definitions to speed up document processing. "pdflatex" for example is just "pdftex" with the definitions in latex.ltx preloaded. Actually these days not loading latex.ltx on every document only saves a fraction of a second, when the system was designed it would save tens of minutes per document. Related to this the \...


9

You need \number or \the in front of the expression: \numexpr works like a TeX \count. Alternatively, you could use the xfp package to provide a thin wrapper \documentclass{article} \usepackage{xfp} \begin{document} \number\numexpr 1 + 2 * 3 \relax \the\numexpr 1 + 2 * 3 \relax \inteval{1 + 2 * 3} \end{document}


9

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


9

Without the context provided by a minimum working example, it is hard to say how this would be implemented in the OP's context. However, constructing a koron is straightforward, by stacking a | and a >. This MWE derives from Writing musical pitches \documentclass{article} \usepackage{stackengine} \newcommand\koron{\kern-.7pt\raisebox{-1pt}{\...


9

Getting hold of a proper resource for generating patterns is not just a matter of volunteer effort. The U.S. and British patterns were derived from commercially published dictionaries. The source of the U.S. patterns is identified in Frank Liang's dissertation (a copy of it is on the TUG web site), and the British patterns are based on an Oxford mini-...


9

For TeX Live, issue from the terminal kpsewhich texmf.cnf This should answer /usr/local/texlive/2019/texmf.cnf (the year can vary). This is the top level texmf.cnf and values set here are not overridden by later loaded similar configuration files. The main texmf.cnf file, which sits as /usr/local/texlive/2019/texmf-dist/web2c/texmf.cnf contains ...


8

essentially the binaries only get updated once a year (except for critical updates) but packages and other text files get updated on a rolling basis as they are uploaded to ctan.


8

The problem is from polyglossia and cleverref. cleverref doesn't like it if the language isn't yet declared. The following errors: \documentclass[]{book} \usepackage{polyglossia} \usepackage{cleveref} \setmainlanguage{english} \begin{document} \end{document} Solution: move the \setmainlanguage{english} before loading cleverref.


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


6

For web2c, I documented why all the differences are considered acceptable in web2c/triptrap/README, that is, http://tug.org/svn/texlive/trunk/Build/source/texk/web2c/triptrap/README?view=markup


5

I will restrict my explanations to formats and their handling in TeX Live. MikTeX has a different approach I guess. To add to David's explanation, formats are defined in the so called TLPOBJ, these are the stanzas (paragraphs) you can see in the texlive.tlpdb (which is in PATH/TO/TEXLIVE/2019/tlpkg/texlive.tlpdb). An example: name aleph category Package ...


5

The default paths are just your regular system default library paths. Technically the name is passed (at least on UNIX-like systems like Linux) to the system function dlopen. This function is responsible for searching the library and it's behaviour is documented in it's man page DLOPEN(3). (On Windows the function is called LoadLibraryA) But you should ...


5

LuaTeX uses dynamic memory allocation for main mem so the texmf.cnf setting you are using would have no effect even if you set if for luatex rather than pdftex. However it does still inherit some fixed array usage from classic tex, including the number of strings. this produces the error that you state (note it is an infinite loop so it relies on an error ...


4

(./graphics.cfg) you have a graphics.cfg file in the current directory that you may want to delete. Whatever is in it, it is doing the wrong thing. You should also delete the local copies of color.cfg, graphics.sty, graphicx.sty dvips.def etc they are all ancient versions for example your log shows trig 1994/10/16 v1.08 sin cos tan (DPC) whereas the ...


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


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

The only advantage of installing TL over WSL is the speed at compile times, I did the test installing using WSL 1.0 (version 2.0 is not yet available). If you're looking to improve the compile times a bit, it's better to install the 64-bit TL version. Back to your question, the answer is YES, to use TL from windows under WSL, you only have to call the ...


4

Note: hyperref has been updated to detect the version of GhostScript being used by pstopdf and to use the appropriate code in each case. So the workaround described below is not needed (since January 2020 release of hyperref). Ulrike in chat provided a simpler test case \documentclass{article} \usepackage{hyperref} \begin{document} \url{www.abc.de} \end{...


4

The return value of -5 means that signature verification for a repository has failed. There is currently a bug in tlmgr that prevents a sensible error message from being printed, but this is being worked on and should be fixed soon: https://tug.org/pipermail/tex-live/2020-February/044775.html The most recent incarnation of this problem stems from the ...


3

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


3

In 2020, type : tlmgr info --only-installed to get the list of installed package. Then do whatever you want with the output (like putting it in a file with > myfile.tx). info command replaces former show and list commands (tlmgr manual: "The former actions "show" and "list" are merged into this action, but are still supported for backward ...


3

This not a bug, you should specify an existing directory tex --help reports: -output-directory=DIR use existing DIR as the directory to write files in ^^^^^^^^ While this particular case isn't a bug, the answer to the question in the title on where to report texlive bugs is answered on the page https://www.tug.org/texlive/...


3

What you posted should work. URW Arial is not exactly the same as the version from Monotype that Microsoft distributes. The messages you got are mostly harmless. OMS/ua1/m/n is a math symbol alphabet. T1/ua1/m/sc is small caps. If you’re allowed to use LuaLaTeX or XeLaTeX, and you want to use Microsoft Arial, the best approach is: \usepackage{fontspec} ...


3

It is a bug in the newest xdvipdfmx. I run your example without problem, then updated only dvipdfmx.win32 and then it failed for some math fonts. Restoring the backup resolved the problem. I reported this on the texlive list and got the answer that it will be fixed soon.


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