summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/findhyph/findhyph.txt
blob: 1362b9a8222f490be72865e69fa777a6f3588a0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
NAME
    findhyph -- find words hyphenated by TeX in a document

INSTALLATION
    Copy findhyph or findhyph.bat (depending on OS used) to a directory
    included in system PATH. Perl interpreter is required to be in
    "/usr/bin/" for Unix-like systems or in PATH when using findhyph.bat.

SYNOPSIS
    1)  set "\tracingparagraphs=1" in a TeX document foo.tex and run:

    2)  tex foo.tex

    3)  findhyph [options] foo.log

OPTIONS
    -c  display hyphenated words in context

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

    -v  display program version

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

    -l=STRING
        use prepositions/conjunctions listed in STRING instead of default
        list of prepositions and conjunctions "kKsSvVzZoOuUiIA" used for
        Slovak and Czech language

OUTPUT FILES
    foo.hyph
        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 ("\hbox{}", "\mark{}" etc.) are shown as "[]".
        Math mode is indicated by "$" sign.

        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.

        Words hyphenated in footnotes are listed before the words hyphenated
        in the paragraph in which the footnote is referenced.

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

HISTORY
   1.0 (2001-04-08)
    *   public release

   2.0 (2009-08-10)
    *   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

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

    *   configurable list of prepositions and conjunctions

    *   hyphenated words can be displayed in context

    *   suggestions and testing by Pavel Striz

LICENSE
    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.

AUTHOR
    Copyright (c) Martin Budaj <m.b@speleo.sk> 2000, 2001, 2009