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

  • 0 posts edited
  • 0 helpful flags
  • 108 votes cast
Apr
27
comment How to automatically generate names of sections in head part of fancyhdr?
I don't think this is possible with fancyhdr, if I've understood correctly (well, it's possible, but far from easy). titleps makes things easier, but note I'm its author, so I'm biased :-). See the manual, p. 9. The problem is you need to use several mark registers, which must be properly synchronized, but fancyhdr only provides one.
Apr
12
comment Babel or Polyglossia with LuaLatex?
I won't say current babel is better than polyglossia (I'm biased) but certainly is better than versions of a couple of year ago. Some languages already define Unicode strings, and the core provides tools like reading on the fly of language.dat, as well as \babelpatterns to add/modify specific patterns. In a few months (before Summer, I hope), Unicode strings for all babel languages, will be provided, as well as some aditional tools.
Apr
6
answered Creating new counter formats on-the-fly with enumitem's \AddEnumerateCounter*
Mar
28
revised Cyrillic hyphenation with lualatex using luainputenc
A little mistake. T2A is fine, but not Unicode engines by default
Mar
27
comment Cyrillic hyphenation with lualatex using luainputenc
This is the way babel loads hyphenation patterns. Other engines (pdftex, xetex) load this file and the patterns when the format is built, but with luatex they can be loaded when the document is being typeset. If this file is placed in the directory of the document, then it takes precedence.
Mar
27
revised Cyrillic hyphenation with lualatex using luainputenc
added 15 characters in body
Mar
26
revised Cyrillic hyphenation with lualatex using luainputenc
added 6 characters in body
Mar
26
answered Cyrillic hyphenation with lualatex using luainputenc
Mar
26
comment Cyrillic hyphenation with lualatex using luainputenc
Before sending a complete answer, could you please post a few Ukrainian words with their hyphenation points (just to be sure).
Mar
26
comment Cyrillic hyphenation with lualatex using luainputenc
The real problem is not luainputenc but fontenc. I presume with the new babel you can create a local language.dat loading the T2A patterns, but like David I'm not sure of the details. I'll investigate.
Mar
8
comment title sec throwing error
Perhaps the file block.tss is missing in your system.
Mar
4
comment Wrong hyphenation of simple German words using babel with option [ngerman]
Load babel with the showlanguages option, ie, \usepackage[ngerman,showlanguages]{babel}. This will write to the log file a list of the languages in the format. Search also that file for other babel related messages. This could provide hints of what's happening.
Mar
4
comment Bad interaction between titlesec/titleps and packages that use \markboth internally
@moewe Yes, I think the warning is an option, indeed. I'm reading the code in search of inspiration, and I have some ideas I'd like to test.
Mar
3
comment Bad interaction between titlesec/titleps and packages that use \markboth internally
It's not a bug - just the one-step mechanism is incompatible with the two-step one. I'll try to minimize problems, but a general solution is impossible.
Mar
3
comment Bad interaction between titlesec/titleps and packages that use \markboth internally
@UlrikeFischer I know the problem and in fact it's documented. My point is this example is wrong even for testing and debugging purposes, because LaTeX doesn't work that way. Just use \markboth and it will be fine (I mean, wrongly fine ;-)).
Mar
3
comment Bad interaction between titlesec/titleps and packages that use \markboth internally
@UlrikeFischer This doesn't work even without titleps, as one could expect if a TeX primitive is used instead of LaTeX \mark... stuff. LaTeX internally uses a couple of values inside marks (left and right), and you are passing, as far as LaTeX is concerned, three -- a, b and c. Therefore, you'll get bc (or ac, depending on the page) with standard LaTeX, too.
Feb
11
comment No hyphenation patterns were preloaded for the language 'nil'
The babel documentation doesn't say that, and in fact I don't think it's a good idea. Use hyphenrules instead. Except if you are using luatex, babel has not changed the behavior of language.dat.
Feb
7
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.)