findhyph \*(-- find words hyphenated by TeX in a document


Copy findhyph or findhyph.bat (depending on OS used) to a directory included in system PATH. Perl interpreter is required to be in \f(CW\*(C`/usr/bin/\*(C'\fR for Unix-like systems or in PATH when using findhyph.bat.


1) 4 set \f(CW\*(C`\tracingparagraphs=1\*(C'\fR in a TeX document foo.tex and run:

2) 4 tex foo.tex

3) 4 findhyph [options] foo.log


-c 4 display hyphenated words in context

-f 4 display font selectors and other strings starting with a backslash character

-v 4 display program version

-p 4 generate file containing information about one-letter prepositions and conjunctions left at the end of line

-l=STRING 4 use prepositions/conjunctions listed in STRING instead of default list of prepositions and conjunctions \f(CW\*(C`kKsSvVzZoOuUiIA\*(C'\fR used for Slovak and Czech language


foo.hyph 4 List of hyphenated words. All punctuation characters, parentheses and other character immediately preceding or following displayed words are included in this list. TeX constructs which are too difficult to display (\f(CW\*(C`\hbox{}\*(C'\fR, \f(CW\*(C`\mark{}\*(C'\fR etc.) are shown as \f(CW\*(C`[]\*(C'\fR. Math mode is indicated by \f(CW\*(C`$\*(C'\fR sign. .Sp Page numbers in square brackets refer to LOG file and may occasionally differ from the typeset document. The reason is that TeX may need to break more paragraphs than it would eventually fit on the page in order to find a page break. .Sp Words hyphenated in footnotes are listed before the words hyphenated in the paragraph in which the footnote is referenced.

foo.prep 4 List of prepositions if option -p is used.


1.0 (2001-04-08)

4 public release

2.0 (2009-08-10)

4 fixes in line breaks detection algorithm; support for third pass of line breaking algorithm in TeX (positive \emergencystretch); support for discretionary breaks in the first pass

4 page number detection improved (recognized negative page numbers, compound page numbers when \f(CW\*(C`\count1\*(C'\fR to \f(CW\*(C`\count9\*(C'\fR registers are non-zero and \f(CW\*(C`[nn{mapfile}]\*(C'\fR, \f(CW\*(C`[nn<picture>]\*(C'\fR and \f(CW\*(C`[nn<newline>\*(C'\fR formats used by pdfTeX; false page number detection should be much more rare)

4 configurable list of prepositions and conjunctions

4 hyphenated words can be displayed in context

4 suggestions and testing by Pavel Striz


This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version.


Copyright (c) Martin Budaj < > 2000, 2001, 2009