Reputation
2,262
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
10 17
Newest
 Civic Duty
Impact
~237k people reached

Oct
14
comment Adding default hyphenation for transliterated Sanskrit
The patterns are not enabled in the format. Please follow your distribution’s instructions to rebuild the format file with the Sanskrit patterns in them.
Oct
14
comment Adding default hyphenation for transliterated Sanskrit
No, it should work with just \devanagarifont and the sanskrit environment with no option.
Oct
14
comment Adding default hyphenation for transliterated Sanskrit
No, the patterns are defined in files called hyph-*.tex, for Sanskrit it’shyph-sa.tex. As you’ve found out Latin transliteration is not taken care of by Polyglossia, that’s something I need to add; for the moment you can work around it by using a font that has both Devanagari and Latin, such as FreeSerif, and defining \newfontfamily\devanagarifont{FreeSerif}.
Oct
14
comment Adding default hyphenation for transliterated Sanskrit
You don’t need patgen to make a new set of hyphenation patterns, you can write them by hand. Many languages do that – patgen is mostly useful when you have a list of hyphenated words, which is not your case. Also, there already are patterns for transliterated Sanskrit, which seem to implement more or less the rules you describe. They’re part of the Sanskrit patterns (that support many scripts, including Latin).
Aug
25
awarded  Civic Duty
Aug
25
comment Right-to-left script with pdfLaTeX, LuaLaTex
@mb21 There is a luabidi, albeit very rudimentary, they has bidi's basic commands.
Aug
25
comment Right-to-left script with pdfLaTeX, LuaLaTex
@cfr XeTeX is being actively developed.
Aug
25
comment Where to put tfm and gf files
@cfr GF is the original output format of Metafont 2; PK is only a slightly more compact version. The extension actually stands for "packed". Not sure what the OP used to produce these though, since any process invoking Metafont in a recent distribution will call gftopk immediately.
Aug
25
comment Installing a .LDF language file
Also, which language is it?
Aug
23
comment LuaLaTeX: How to use a \char directive inside a string.gsub function?
Please don't hardcode the value of the node type id for glyphs; even for a one-off example there is no good reason not to use node.id('glyph') (possibly via a local variable, of course). Using the numeric value just makes the code harder to understand and potentially non-portable.
Aug
23
comment ZWJ in LuaTeX prints a bar
@JavierBezos Since fontspec for LuaTeX uses luaotfload, that ultimately uses the ConTeXt shaping engine, that depends on what ConTeXt does, so you'll have to convince Hans to use ZWJ correctly.
Aug
23
comment Making a faithful representation of a single Russian letter
@egreg If that's any consolation, others use breves instead of háčeks in languages such as Czech and Croatian ;-)
Aug
23
comment Differences between LuaTeX, ConTeXt and XeTeX
@MartinScharrer NTS was completed for all I know. It was just judged unusable because hundreds of times slower than the original implementation of TeX. What was then abandoned was plans to extend it with additional features.
Aug
23
comment How are hyphenation patterns written?
Actually, for some languages, the grammatical rules are so regular that they have been generated automatically by a program. This is the case for Turkish, there may be others.
Aug
19
comment Package for typing honorific title
+1 just for the names :-) Note that Forgeron is actually quite rare as a surname; better examples for the same profession would be Maréchal or Fabre; or the different variants of Lefèvre.
Aug
9
comment Fancy way to write '>>'
You've misspelt the name of the command: it's \guillemotright. Can you try with that?
Aug
5
comment Prevent Hyphenation across lines + Enforce right margin
I sympathise with your situation. What the committee member is missing is that we use hyphenation because it’s the best we can do, and, as @egreg mentioned, we benefit from literally centuries of experience: the breakpoints in words are very carefully thought out to be as unobtrusive and understandable as possible (“schools” is never hyphenated, for example); and they don’t depend on the subject matter. I’d also point out that from what you say, you have proofread your dissertation with normal hyphenation on, so removing is now is the extra burden. How long is your dissertation, by the way?
Aug
4
comment XeLaTeX and changing fonts inside a document
I don’t understand what you don’t understand about the post you linked to. It is very detailed, just read it. The parts you need most are the sections “selecting font locally” and “restricting the scope of the selection”: just define a new font with \newfontfamily\deutschenormalscript{Deutsche Normalschrift and type {\deutschenormalschrift Text in Deutsch Normalschrift}.
Aug
4
comment Smashing diacritics on all uppercase characters
You’re welcome. I’ll amend the code.
Aug
3
comment XeLaTeX: Set an alternative font in case it is not found
@cfr If only it would end the pretence that TeX documents are unconditionally portable (in reply to your first comment). I have never seen it to be true for users who really needed it, and for others who didn't it has made them unnecessarily picky (refusing to make a trivial change on 3 lines of a 15-year old document - I have seen it). I think we've reached a point where this claim is actually harmful. A more useful and accurate claim is that TeX documents will still be usable after decades, and under carefully controlled conditions can be made to produce the same output.