[XeTeX] hyphenation cancelled through footnote

2018-01-03 Thread hanneder
When editing Sanskrit texts with very long compounds, avoiding manual hyphenation is extremely time saving. XeLaTeX fortunately takes care of this, but the mechanism is cancelled by footnotes within the compounded word. In the example below the \varc{}{} causes the error. Any idea on how to

Re: [XeTeX] hyphenation cancelled through footnote

2018-01-03 Thread Zdenek Wagner
Hi, the expansion of \varc becomes a part of the word which then cannot be founs in \patters. Since it is a compound word, both parts have a chance to be in \patterns, so you must inform TeX that these parts should be considered words. This definition works: \newcommand{\varc}[2]{\nobreak\hskip 0

Re: [XeTeX] hyphenation cancelled through footnote

2018-01-03 Thread Ulrike Fischer
Am Wed, 03 Jan 2018 14:35:56 +0100 schrieb hanne...@staff.uni-marburg.de: > When editing Sanskrit texts with very long compounds, avoiding manual > hyphenation is extremely time > saving. XeLaTeX fortunately takes care of this, but the mechanism is > cancelled by footnotes within > the compoun

Re: [XeTeX] hyphenation cancelled through footnote

2018-01-03 Thread Zdenek Wagner
2018-01-03 16:16 GMT+01:00 Ulrike Fischer : > Am Wed, 03 Jan 2018 14:35:56 +0100 schrieb > hanne...@staff.uni-marburg.de: > > > When editing Sanskrit texts with very long compounds, avoiding manual > > hyphenation is extremely time > > saving. XeLaTeX fortunately takes care of this, but the mechan

Re: [XeTeX] hyphenation cancelled through footnote

2018-01-03 Thread hanneder
Thanks for the workaround! I checked with other parts of my edition and there are still erratic problems. In the example below the first paragraph works, but the second does not. My installation is recent: This is XeTeX, Version 3.14159265-2.6-0.8 (TeX Live 2017/Arch Linux) JH \documen

Re: [XeTeX] hyphenation cancelled through footnote

2018-01-03 Thread Ulrike Fischer
Am Wed, 3 Jan 2018 16:16:38 +0100 schrieb Ulrike Fischer: > I see no difference with and without \varc. In both cases I get an > overful line. Ah. I think I know why I didn't get any hyphenation: Font mapping `RomDev.tec' for font `Sanskrit 2003' not found. Where is the .tec? -- Ulrike Fisc

Re: [XeTeX] hyphenation cancelled through footnote

2018-01-03 Thread hanneder
When some installations I used had problems to find it, I started keeping it in the directory where the files are. - Nachricht von Ulrike Fischer - Datum: Wed, 3 Jan 2018 18:06:11 +0100 Von: Ulrike Fischer Antwort an: ne...@nililand.de, "XeTeX (Unicode-based TeX) discus

Re: [XeTeX] hyphenation cancelled through footnote

2018-01-03 Thread Zdenek Wagner
Hi, this is the problem of the first word of a paragraph which is too long and TeX never hyphenates the first word. I did not managed to persuade TeX to consider it as the second word but maybe somebody knows TeX better than me and can help. Zdeněk Wagner http://ttsm.icpf.cas.cz/team/wagner.shtm