7

Why does \uchyph=0 not work for me? It is in my preamble, but Istill get names of people hyphenated.

Is it a font issue?

I typeset with XeLaTeX.


Minimal example: try with XeLaTeX with and without fontspec:

\documentclass{article}
\usepackage{fontspec}

\begin{document}
\noindent
Some Textual Material.
Some Textual Material.
Some Textual Material.
Some Textual Material.
Some Textual Material.
Some Textual Material.
Some Textual Material.

\uchyph=0 %
\noindent
Some Textual Material.
Some Textual Material.
Some Textual Material.
Some Textual Material.
Some Textual Material.
Some Textual Material.
Some Textual Material.
\end{document}
4
  • Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}.
    – yo'
    Jan 2, 2013 at 9:36
  • I have a feeling this is to do with loading fonts using the 'extended' (system font) interface. I put together a MWE, and it works 'correctly' (\uchyph has an effect) if I do not load fontpsec, but fails if I do. The fontspec package automatically loads the Latin Modern OTF font, and I have a feeling this is where the trouble starts: using XeTeX and the 'traditional' lmodern package does not cause a problem.
    – Joseph Wright
    Jan 2, 2013 at 9:41
  • @tohecz I've edited in my MWE, as the issue does not seem to be related to a specific font.
    – Joseph Wright
    Jan 2, 2013 at 9:44
  • I suspect this is a XeTeX bug: see tug.org/pipermail/xetex/2007-June/006601.html (from 2007!).
    – Joseph Wright
    Jan 2, 2013 at 9:48

1 Answer 1

2

I solved my problem.

I use several documents as input to my article. It seems I need to include \uchyph=0 in each of these separate documents. I always assumed that having uchyph in the preamble would make it effective globally.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .