Is there anybody can help my problem :
I have a hyphenation file for Indonesian (my native) and the file still has a bug.
I need to modify the file, but I'm not sure how to do. Because the algorithm seems strange
for me. What I need is the explanation or description to the algorithm, so I can do modify the file.
I hope this community would help. Many Thanks.
(I'm a newbie in this community)
Document Classes ⇒ Hyphenation
NEW: TikZ book now 40% off at Amazon.com for a short time.
Hyphenation
Is it just one or two words that are not being hyphenated correctly? Perhaps you can just specify special rules for those rules. See:
http://www-h.eng.cam.ac.uk/help/tpl/tex ... x-244.html
and
http://www-h.eng.cam.ac.uk/help/tpl/tex ... x-182.html
The first gives you the "\hyphenation{...}" macro, which lets you specify a word list with hyphenation points marked by "-". The second gives you "\-" which lets you put hyphenation points right into the words as you type them.
http://www-h.eng.cam.ac.uk/help/tpl/tex ... x-244.html
and
http://www-h.eng.cam.ac.uk/help/tpl/tex ... x-182.html
The first gives you the "\hyphenation{...}" macro, which lets you specify a word list with hyphenation points marked by "-". The second gives you "\-" which lets you put hyphenation points right into the words as you type them.
-
- Posts: 3
- Joined: Thu Jul 05, 2007 1:47 pm
Re: Hyphenation
Sorry Ted, but what I found in the hyphenation is not only \hyphenation macros, but also \pattern macros. The main point is I need the explanation or description for \pattern macros.
Please help me again..??
I need the algorithm for my thesis project.
Thank You.
Please help me again..??
I need the algorithm for my thesis project.
Thank You.
Hyphenation
Again, if there are only a few exceptions (i.e., only a couple of words that you have found hyphenated wrong), then you should add those exceptions using \hyphenation IN YOUR PREAMBLE. I am not recomemnding that you modify the hyphen.tex files.
I would be very surprised that there would be so many "bugs" in the hyphenation patterns for your language (you have instructed LaTeX to change to your language, right?) that you would want to modify the hyphen.tex manually. If there are only a couple of exceptions, add them to your preamble and move on. That way things are PORTABLE.
If you really really want to generate your own list of aptterns, you should consult the patgen program. You can find its manual page here.
If you really feel you need more information, start your search from patgen and work from there.
I would be very surprised that there would be so many "bugs" in the hyphenation patterns for your language (you have instructed LaTeX to change to your language, right?) that you would want to modify the hyphen.tex manually. If there are only a couple of exceptions, add them to your preamble and move on. That way things are PORTABLE.
If you really really want to generate your own list of aptterns, you should consult the patgen program. You can find its manual page here.
If you really feel you need more information, start your search from patgen and work from there.
-
- Posts: 3
- Joined: Thu Jul 05, 2007 1:47 pm
Re: Hyphenation
Ok Ted, I'll try to follow your link.
I hope I can solve my problem.
Thank You for your help.
I hope I can solve my problem.
Thank You for your help.