Tag Info

New answers tagged


Using files with spaces in their names is usually discouraged. Quotes around the name are a partial solution, but when babel is loaded along with language modules that define shorthands with " it won't work. The solution is not using files with spaces in their names or, if you can't avoid it, loading also \usepackage{grffile} (after babel is best).


Concentrating on the direct use of emdash as control of --- is a bit harder. The following produces the following in pdflatex, lualatex and xelatex. I think that's the desired outcome. \documentclass{scrartcl} \usepackage[hmargin = 4cm]{geometry} \ifx\Umathchar\undefined %pdftex \usepackage[utf8]{inputenc} \let\oldtextemdash\textemdash ...


You can prepare the following example: \input ucode \input lmfonts \hsize=12cm —Hola, esto es un texto absurdo —para ejemplificar lo que ocurreconestedocumento— con algunas palabras más. \end and you can try to process it by 1) xetex test and 2) xetex -fmt pdfcsplain test. You will see different results: 1) the long word isn't hyphenated, 2) the long ...


I just happened to came with the same problem. As Ulrike Fischer and Javier Bezos pointed out, a simple update (as manager) from your MikTeX's administrative tools should work it out.


This is for XeLaTeX only, as the behavior of LuaLaTeX when inputting — (U+2014) seems satisfactory. We want to allow hyphenation in the word preceding the em-dash, so we can add a zero kern before it, which will make the word end, but doesn't create a line break point. However, we want also to remove the behavior of the em-dash that, for compatibility with ...

Top 50 recent answers are included