home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / text / tex / 15379 < prev    next >
Encoding:
Internet Message Format  |  1993-01-24  |  1.8 KB

  1. Path: sparky!uunet!math.fu-berlin.de!ira.uka.de!Germany.EU.net!sbsvax!sol.cs.uni-sb.de!bouillon
  2. From: bouillon@sol.cs.uni-sb.de (Peter G. Bouillon)
  3. Newsgroups: comp.text.tex
  4. Subject: Advanced hyphenation problem for (esp. German) compound words
  5. Summary: How can I persuade TeX to consider certain hyphenations as 
  6.      possible but worse than other hyphenations?
  7. Keywords: \hyphenation, compound words, German
  8. Message-ID: <24093@sbsvax.cs.uni-sb.de>
  9. Date: 24 Jan 93 18:28:16 GMT
  10. Sender: news@sbsvax.cs.uni-sb.de
  11. Followup-To: poster
  12. Lines: 28
  13.  
  14. German compound words can be hyphenated in several ways; however,
  15. hyphenating their components is considered uglier than hyphenating in
  16. between their components.  As, for example, the word `Gangschaltung'
  17. has the components, `Gang' and `Schaltung', the hyphenation
  18. `Gang-schaltung' is considered preferable to `Gangschal-tung'.
  19. Similarly, words ending on `ion' can be hyphenated `i-on', but any
  20. typesetter would avoid that wherever possible.
  21.  
  22. As however the German language is full of very long words, it is
  23. unfortunately impossible to completely avoid ugly hyphenations in any
  24. context.  Therefore, you can't really solve this problem by inserting
  25. `\-' in all the preferable places.  For one thing, this would force you
  26. to re-read your whole text after any alteration to the document
  27. (style) to find out whether certain ugly hyphenations have to be
  28. re-allowed in the new situation.
  29.  
  30. So I wonder how to convey to TeX that certain hyphenations have higher
  31. badness than others.  Even if the border between components were marked
  32. somehow (as a macro or something), you would still logically need to
  33. use two hyphenation penalties.  There is only one in TeX, and it can
  34. only be specified once per paragraph.
  35.  
  36. Does anyone have a workable solution?
  37.  
  38. (Please reply per email; I don't read this news group regularly.)
  39.  
  40. --
  41. Peter G. Bouillon        bouillon@cs.uni-sb.de    
  42.