|
Re: XeTeX 1.0 - request for comments: msg#00161tex.xetex
On 19 Oct 2005, at 10:42 pm, Pavel Straňák wrote: On 19.10.2005, at 21:49, William F. Adams wrote: You can create alternate font-mapping files that change the quotation marks to different characters; "tex-text" is not in any way built in to the XeTeX program, it's just a mapping file created with TECkit (http://scripts.sil.org/teckit) and stored in texmf/fonts/misc/xetex/ fontmapping. So create a variant called "tex-text-cs.tec" and then use fontspec to load this mapping when typesetting Czech.
Would this be true whenever there is a hyphen in the original source text, and you break the line there? If so, I imagine it's done by making hyphen an active character that expands to \discretionary{-}{-} {-} or something like that. This is no different under XeTeX; the same mechanisms should still work. You can limit the minimal number of characters before and after hyphen (usually 2 and 3 respectivelly). I don't know the details, but I believe they should be possible. Basically, you can use all the same macros to control the typography, you just want to discard any character-encoding stuff in order to work directly with Unicode text and fonts instead. But someone who knows more about exactly what the Czech requirements are, and how they're implemented, would need to work through this in more detail. Jonathan |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: XeTeX 1.0 - request for comments: 00161, Pavel Stra?ák |
|---|---|
| Next by Date: | Re: XeTeX 1.0 - request for comments: 00161, Pavel Stra?ák |
| Previous by Thread: | Re: XeTeX 1.0 - request for commentsi: 00161, Pavel Stra?ák |
| Next by Thread: | Re: XeTeX 1.0 - request for comments: 00161, Pavel Stra?ák |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |