On Oct 20, 2011, at 11:15 AM, Wolfgang Keller wrote: > for a given document, I need to use XeTeX (OTF-font). LyX claims in the > protocol that: >> Babel <v3.8m> and hyphenation patterns for english, dumylang, >> nohyphenation, ge rman-x-2011-07-01, ngerman-x-2011-07-01, basque, >> ukenglish, usenglishmax, frenc h, german, ngerman, swissgerman, >> loaded. > > But when proof-reading, I noticed that the german hyphenation patterns > seem to be rather incomplete, for example Fre-itag dazwis-chen etc. > > I know about the use of \hyphenation in the preamble, but I would like > to define my additional hyphenation patterns in a central place, so > that they get used for all my documents (with XeTeX). > > Can anyone tell me, which file (in texmf-local?) I need to edit?
You can simply put your additional patterns into a file anywhere in your own user space and call it in the preamble of any document. For example, suppose you name the file "myhyph.tex" and you put it into a directory called "LaTeX", which you create as a subdirectory to your "Documents" directory. Then simply add the command \input{/Users/wolfgang/Documents/LaTeX/myhyph.tex} to the preamble of your documents (Document -> Settings -> LaTeX Preamble). And, of course, if you are not using OS X, you'll need to adjust the details of your path accordingly (e.g., under Windows, use \ instead of /, specify a drive letter, etc). I think that's the sort of thing you had in mind. Chris Menzel