Reputation
2,837
Top tag
Next privilege 3,000 Rep.
Cast close & reopen votes
Badges
9 12
Newest
 Necromancer
Impact
~98k people reached

  • 0 posts edited
  • 0 helpful flags
  • 104 votes cast
2d
comment Cannot load hyphenation patterns
I'll fix it or provide a workaround asap (tomorrow, I hope). Note also polyglossia was really intended for xetex (and many languages even raise an error with luatex).
Jan
29
comment XeLaTeX: incomplete \iffalse with pdfpages and spanish babel
After upgrading pdfpages I could reproduce the error, and jfbu is (almost) right in the answer below. I don't think loading a package when the document has started is a good idea, but if done catcodes should be sanitized (except if we want the catcodes as used in the document body, of course), as done in font encodings with \nfss@catcodes. Note the example fails even with the current version of spanish, with a bug fixed - catcodes are now activated at the right time, but pdfpages is loaded too late. I think you should contact the maintainer of pdfpages.
Jan
28
comment Problem with spanish babel package
They have a purpose - the Spanish-speaking world is huge and there are lots of conventions regarding quotes. <<>> provide a short logical markup, so that the same document could be typeset in different countries preserving their own conventions. On the other hand, T1 ligatures are visual markup. (And it existed long before csquotes was created.)
Jan
28
comment Weird pdfLaTeX+babel+color bug, Missing = inserted for \ifnum
Yes, it was a bug. Fixed.
Jan
28
comment XeLaTeX: incomplete \iffalse with pdfpages and spanish babel
@jfbu In spanish <<>> is unrelated to spacing.
Jan
28
comment XeLaTeX: incomplete \iffalse with pdfpages and spanish babel
Works for me, too, with the latest release. Please, Emilio, could you say which versions of pdfpages, babel and spanish are used?
Jan
28
awarded  Necromancer
Jan
15
comment How to cut pdf at crop marks?
But note with pdfpages all kinds of links will get lost. Have a look at jPDF Tweak (written in Java), by Michael Schierl.
Jan
12
comment Problems with mixing Icelandic and German with LuaLaTex
@egreg Yes, it's font dependent. With Cambria works like a charm, too. But that's what happens when we delegate these things to the font, as essentially lua/xe do with fontspec. As to the error without fontspec, will have a look at it, but a minimal example would be veeery useful.
Jan
12
comment Does pdfTex produce warnings when it doesn't find the word hyphenation pattern?
An alternative approach, which will work in many documents, is to extract the text with pdftotext -layout and then search for lines ending with - with a script (I use Python). Far from perfect, but it helps a lot.
Jan
12
comment Problems with mixing Icelandic and German with LuaLaTex
@egreg I don't know. This language is somewhat complex because Old Icelandic requires a few unusual characters (eg, o with acute and ogonek). The issues with the latin1 encoding should be solved, but support for lua/xe is new and therefore it might be still incomplete or buggy.
Jan
12
comment Problems with mixing Icelandic and German with LuaLaTex
@egreg Please, could you report a bug with a MWE?
Dec
30
revised How to write a letter “ģ”
added 12 characters in body
Dec
30
comment How to write a letter “ģ”
@JānisErdmanis See my edit.
Dec
30
revised How to write a letter “ģ”
An even simpler solution
Dec
29
revised How to write a letter “ģ”
added 85 characters in body
Dec
29
answered How to write a letter “ģ”
Dec
29
comment How to write a letter “ģ”
Actually, if combelow is loaded latvian modifies its behaviour to render these characters correctly. The fact inputenc doesn't recognizes them, on the other hand, is nor directly related to babel (as explained in the babel-latvian manual). Now the LaTeX core provides a comma below, and a better one, I'll update the style (and perhaps avoid the dependency on `combelow', too, for older versions).
Dec
12
comment How do I remove the left margin of enumerate in the second level?
Let enumitem do the computations for you, with widest=a instead of labelsep. The default value for this parameter is m.
Nov
26
comment Language detection and condition
Use iflang (by Heiko Oberdiek) instead. As explained in the babel docs, \iflanguage is not reliable.