[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference vaxuum::document_ft

Title:DOCUMENT T1.0
Notice:**New notesfile (DOCUMENT.NOTE) now available (see note 897)**
Moderator:CLOSET::ADLER
Created:Mon Feb 09 1987
Last Modified:Thu Oct 31 1991
Last Successful Update:Fri Jun 06 1997
Number of topics:897
Total number of notes:4397

66.0. "HYPHENATION does it, but ..." by HAMCL1::HOFFMANN () Fri Mar 06 1987 07:40


	When using <HYPHENATE>(EX\AM\PLE) the word "EXAMPLE" will
	get written at the end of the processed GNC-file. This
	destroyes all documents that use hyphenate. 

	Help, please - the english hyphenation algorithm of TeX
	does not work too well for our german texts !!!!

	detlef.
T.RTitleUserPersonal
Name
DateLines
66.1what does it do?CLOSET::ANKLAMFri Mar 06 1987 12:2518
    
    How are you using the tag? <hyphenate>(ex\am\ple) works for a
    single occurrence of the word you specify. It doesn't set parameters
    to indicate that 'all occurrences of this word' be hyphenated.
    
    We are providing for V1.0 a description of how to include hyphenation
    exceptions either locally, for all doctypes, or on a doctype-specific
    basis. If this is what you are doing, we can provide that info here.
    If this is not what you're doing, I'll need to see a file that is
    causing the problem.
    
    (Also, our plans for full internationalization of DOCUMENT call
    for the local language versions to have hyphenation patterns set
    for the different languages, so that there won't be a need for
    extensive hyphenation dictionaries.)
    
    patti anklam
    
66.2got itHAM::HOFFMANNFri Mar 06 1987 15:0910
	yeah, I thought this would work like the \hyphenation in
	TeX. If this is not to much extra work, would you please
	supply the offered additional information. We have some
	documents in production right now - and we have lots of
	hyphenation-exceptions with the desired doctypes.

	When you are talking about the fieldtest update, what
	timeframe are you thinking of?

	detlef.
66.3Interim workaround?COOKIE::JOHNSTONFri Mar 06 1987 18:0729
Is there some fix until V1.0 that can be used to words that must *never* be
hyphenated?  Strange hyphenation doesn't occur that often in text, 
but I have several product names that appear in tables many times; these names 
must not be broken across rows.  Right now I'm getting things like:


 Max R-
 Widget

which should appear as:

Max 
R-Widget



"Max R-Widget" is in the table a dozen times.  Must I <hyphenate>(R-Widget\)
a dozen times?  I've been working around it with <align_char>, but would 
prefer a simpler solution whereby I defined it once and that's all.

This situation is not peculiar; I and others on my writing team
expect many similar situations in the future.


Thanx for any help you can give.


Rose

66.4<KEEP>CLOSET::ANKLAMMon Mar 09 1987 09:105
    
    You can use <KEEP>(R-widget) to keep the text from breaking. Will
    post the hyphenation info requested in .2 shortly.
    
    
66.5hyphenation and "umlaute"HAM::HOFFMANNWed Mar 18 1987 03:078
    Is it true, that in the current version any word that contains
    "umlaut"-characters will not get hyphenated? Is there a simple
    way to turn this on (like enabling hyphenation for capitalized
    words)?

    detlef (who is fighting <TeX>s hyphenation algorithm with only
            limited success ...)
66.6Local hyphenationVAXUUM::SEGALWed Mar 18 1987 14:1931
    Some notes on tuning DOCUMENT/TeX hyphenation:
    
    A system adminstrator can add hyphenation exceptions
    to TeX's exception dictionary on a system-wide basis by inserting 
    them into the local system elements file (requires the logical 
    DOC$LOCAL_ELEMENTS be defined), or on a doctype basis by adding 
    them to the doctype design file(s). As with macro definitions, 
    the latest exception entry for any word replaces prior entries.

    Entries in TeX's hyphenation dictionary are global (they are 
    not affected by grouping), and must consist entirely of 
    letters plus hyphens, or letters plus NO hyphens.
    (No hyphens = no hyphenation.) Plural terms are 
    unique words, and not affected by exception entries for 
    singular forms. For example:

    \hyphenation{digital 
        trace-point trace-points time-slicing
         task-name task-names mne-mon-ic mne-mon-ics 
          mod-ule-name mod-ule-names syn-chron-ous}

    When TeX prepares to hyphenate, it converts the word to 
    lowercase, then compares the results to entries in the 
    exceptions dictionary  *UNLESS*  your doctype specifically 
    excludes hyphenation of uppercase words (most permit it). 
    In that case, it just forgets about hyphenating (and 
    converting the word to lowercase for comparison) when 
    it finds ANY word that begins with an uppercase letter.
    
    Lee