diff options
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/man/man1/findhyph.1 | 114 | ||||
-rw-r--r-- | Master/texmf-dist/doc/man/man1/findhyph.man1.pdf | bin | 7659 -> 7863 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/support/findhyph/Makefile.doc | 9 | ||||
-rw-r--r-- | Master/texmf-dist/doc/support/findhyph/README | 2 | ||||
-rwxr-xr-x | Master/texmf-dist/doc/support/findhyph/findhyph.bat | 36 | ||||
-rw-r--r-- | Master/texmf-dist/doc/support/findhyph/findhyph.txt | 18 | ||||
-rwxr-xr-x | Master/texmf-dist/scripts/findhyph/findhyph | 36 |
7 files changed, 107 insertions, 108 deletions
diff --git a/Master/texmf-dist/doc/man/man1/findhyph.1 b/Master/texmf-dist/doc/man/man1/findhyph.1 index bff6bb5bebe..a3b6ac4f12a 100644 --- a/Master/texmf-dist/doc/man/man1/findhyph.1 +++ b/Master/texmf-dist/doc/man/man1/findhyph.1 @@ -1,4 +1,4 @@ -.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07) +.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28) .\" .\" Standard preamble: .\" ======================================================================== @@ -38,6 +38,8 @@ . ds PI \(*p . ds L" `` . ds R" '' +. ds C` +. ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. @@ -48,93 +50,38 @@ .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. -.ie \nF \{\ -. de IX -. tm Index:\\$1\t\\n%\t"\\$2" +.\" +.\" Avoid warning from groff about undefined register 'F'. +.de IX .. -. nr % 0 -. rr F -.\} -.el \{\ -. de IX +.nr rF 0 +.if \n(.g .if rF .nr rF 1 +.if (\n(rF:(\n(.g==0)) \{ +. if \nF \{ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" .. +. if !\nF==2 \{ +. nr % 0 +. nr F 2 +. \} +. \} .\} -.\" -.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). -.\" Fear. Run. Save yourself. No user-serviceable parts. -. \" fudge factors for nroff and troff -.if n \{\ -. ds #H 0 -. ds #V .8m -. ds #F .3m -. ds #[ \f1 -. ds #] \fP -.\} -.if t \{\ -. ds #H ((1u-(\\\\n(.fu%2u))*.13m) -. ds #V .6m -. ds #F 0 -. ds #[ \& -. ds #] \& -.\} -. \" simple accents for nroff and troff -.if n \{\ -. ds ' \& -. ds ` \& -. ds ^ \& -. ds , \& -. ds ~ ~ -. ds / -.\} -.if t \{\ -. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" -. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' -. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' -. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' -. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' -. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' -.\} -. \" troff and (daisy-wheel) nroff accents -.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' -.ds 8 \h'\*(#H'\(*b\h'-\*(#H' -.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] -.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' -.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' -.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] -.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] -.ds ae a\h'-(\w'a'u*4/10)'e -.ds Ae A\h'-(\w'A'u*4/10)'E -. \" corrections for vroff -.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' -.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' -. \" for low resolution devices (crt and lpr) -.if \n(.H>23 .if \n(.V>19 \ -\{\ -. ds : e -. ds 8 ss -. ds o a -. ds d- d\h'-1'\(ga -. ds D- D\h'-1'\(hy -. ds th \o'bp' -. ds Th \o'LP' -. ds ae ae -. ds Ae AE -.\} -.rm #[ #] #H #V #F C +.rr rF .\" ======================================================================== .\" .IX Title "FINDHYPH 1" -.TH FINDHYPH 1 "2013-06-18" "perl v5.10.1" "" +.TH FINDHYPH 1 "2015-10-18" "perl v5.20.2" "" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" -\&\fBfindhyph\fR \- find words hyphenated by TeX in a document +findhyph – find words hyphenated by TeX in a document .SH "INSTALLATION" .IX Header "INSTALLATION" Copy \fBfindhyph\fR or \fBfindhyph.bat\fR (depending on \s-1OS\s0 used) to a directory -included in system \s-1PATH\s0. Perl interpreter is required to be in +included in system \s-1PATH.\s0 Perl interpreter is required to be in \&\f(CW\*(C`/usr/bin/\*(C'\fR for Unix-like systems or in \s-1PATH\s0 when using \fBfindhyph.bat\fR. .SH "SYNOPSIS" .IX Header "SYNOPSIS" @@ -208,7 +155,7 @@ public release .IX Subsection "2.0 (2009-08-10)" .IP "\(bu" 4 fixes in line breaks detection algorithm; support for the third pass of line -breaking algorithm in TeX (positive \eemergencystretch); support for +breaking algorithm in TeX (positive \f(CW\*(C`\eemergencystretch\*(C'\fR); support for discretionary breaks in the first pass .IP "\(bu" 4 page number detection improved (recognized negative page numbers, compound page @@ -220,20 +167,20 @@ configurable list of prepositions and conjunctions .IP "\(bu" 4 hyphenated words can be displayed in context .IP "\(bu" 4 -suggestions and testing by Pavel Striz +suggestions and testing by Pavel Stříž .PP 3.0 (2012\-02\-01) .IX Subsection "3.0 (2012-02-01)" .IP "\(bu" 4 fixed a bug when total paragraph demerits are negative .IP "\(bu" 4 -\&\f(CW\*(C`\elooseness\*(C'\fR setting is now taken into account (thanks to Karel Horak +\&\f(CW\*(C`\elooseness\*(C'\fR setting is now taken into account (thanks to Karel Horák for identifying the issue) .PP 3.1 (2012\-11\-03) .IX Subsection "3.1 (2012-11-03)" .IP "\(bu" 4 -fixed displaying of hyphenated ligatures (bug reported by Karel Horak) +fixed displaying of hyphenated ligatures (bug reported by Karel Horák) .PP 3.2 (2012\-11\-21) .IX Subsection "3.2 (2012-11-21)" @@ -245,6 +192,14 @@ improved example definition of the \f(CW\*(C`\esetlooseness\*(C'\fR macro .IX Subsection "3.3 (2013-06-18)" .IP "\(bu" 4 fixed the manual page as suggested by Eric S. Raymond +.PP +3.4 (2015\-10\-18) +.IX Subsection "3.4 (2015-10-18)" +.IP "\(bu" 4 +fixed processing of logs produced using ε\-TeX's \f(CW\*(C`\elastlinefit\*(C'\fR option +(bug reported by Karel Horák) +.IP "\(bu" 4 +fixed cross-platform handling of linebreaks in the input file .SH "LICENSE" .IX Header "LICENSE" This program is free software; you can redistribute it and/or modify @@ -253,4 +208,5 @@ the Free Software Foundation; either version 2 of the License, or any later version. .SH "AUTHOR" .IX Header "AUTHOR" -Copyright (c) Martin Budaj <m.b@speleo.sk> 2000, 2001, 2009, 2012 +Copyright (c) Martin Budaj <m.b@speleo.sk> 2000, 2001, 2009, 2012, +2015 diff --git a/Master/texmf-dist/doc/man/man1/findhyph.man1.pdf b/Master/texmf-dist/doc/man/man1/findhyph.man1.pdf Binary files differindex 82e3a2531bb..61e6fbe12e7 100644 --- a/Master/texmf-dist/doc/man/man1/findhyph.man1.pdf +++ b/Master/texmf-dist/doc/man/man1/findhyph.man1.pdf diff --git a/Master/texmf-dist/doc/support/findhyph/Makefile.doc b/Master/texmf-dist/doc/support/findhyph/Makefile.doc index bcb3573496c..70536a4e053 100644 --- a/Master/texmf-dist/doc/support/findhyph/Makefile.doc +++ b/Master/texmf-dist/doc/support/findhyph/Makefile.doc @@ -1,10 +1,11 @@ -TEX = \\documentclass{article}\\usepackage[T1]{fontenc}\\usepackage{textcomp}\\usepackage{a4wide}\\begin{document}\\input{fh.tex}\\end{document} +TEX = '\documentclass{article}\usepackage[a4paper, margin=3cm]{geometry}\usepackage{fontspec}\catcode`\ε=\active\defε{$$\varepsilon$$}\begin{document}\input{fh.tex}\end{document}' doc: - pod2man -c "" ../findhyph > findhyph.1 + pod2man --utf8 -c "" ../findhyph > findhyph.1 pod2text ../findhyph > findhyph.txt env echo $(TEX) > findhyph.tex pod2latex -out fh.tex ../findhyph - pdflatex findhyph.tex - pdflatex findhyph.tex + sed -i 's/TeX/\\TeX{}/g' fh.tex + xelatex findhyph.tex + xelatex findhyph.tex rm fh.tex findhyph.aux findhyph.log findhyph.tex diff --git a/Master/texmf-dist/doc/support/findhyph/README b/Master/texmf-dist/doc/support/findhyph/README index 1451de807bc..60aa3a423de 100644 --- a/Master/texmf-dist/doc/support/findhyph/README +++ b/Master/texmf-dist/doc/support/findhyph/README @@ -1,7 +1,7 @@ findhyph -- Perl program which finds all words hyphenated by TeX in a document; see findhyph.pdf or findhyph.1 for details -Copyright (c) Martin Budaj 2000, 2001, 2009, 2012 +Copyright (c) Martin Budaj 2000, 2001, 2009, 2012, 2015 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 diff --git a/Master/texmf-dist/doc/support/findhyph/findhyph.bat b/Master/texmf-dist/doc/support/findhyph/findhyph.bat index df4db58bb50..29d43292d7a 100755 --- a/Master/texmf-dist/doc/support/findhyph/findhyph.bat +++ b/Master/texmf-dist/doc/support/findhyph/findhyph.bat @@ -19,7 +19,7 @@ $opt_l = 'kKsSvVzZoOuUiIA'; # defaults for Slovak and Czech $opt_c = $opt_f = $opt_h = $opt_v = 0; getopts('cfphvl:'); -$version_msg = "findhyph version 3.2\n"; +$version_msg = "findhyph version 3.4\n"; $help_msg = "\nUsage: findhyph [options] <yourtexfile.log>\n" . "\n" . "Options: -c display hyphenated words in context\n" . @@ -49,7 +49,7 @@ $act_text = ""; $looseness = 0; while(<IN>) { - chomp; + s/[\r\n]*$//; if (/^\@looseness=(\-?\d+)$/) { $looseness = $1; } @@ -83,7 +83,7 @@ while(<IN>) { %LOOSE = (); next; } - if ($search && /^@@(\d+): line (\d+)\..+ t=(\-?\d+) \-\> @@(\d+)/) { + if ($search && /^@@(\d+): line (\d+)\..+ t=(\-?\d+) (?:s=\S+ (?:g|a)=\S+ )?\-\> @@(\d+)/) { $act_break = $1; $BREAKS{$act_break}{'prev'} = $4; if ($endgraf && $3 < $demerits) { @@ -218,9 +218,11 @@ sub do_hyph { __END__ +=encoding utf8 + =head1 NAME -B<findhyph> - find words hyphenated by TeX in a document +B<findhyph> – find words hyphenated by TeX in a document =head1 INSTALLATION @@ -333,7 +335,7 @@ public release =item * fixes in line breaks detection algorithm; support for the third pass of line -breaking algorithm in TeX (positive \emergencystretch); support for +breaking algorithm in TeX (positive C<\emergencystretch>); support for discretionary breaks in the first pass =item * @@ -353,7 +355,7 @@ hyphenated words can be displayed in context =item * -suggestions and testing by Pavel Striz +suggestions and testing by Pavel Stříž =back @@ -367,7 +369,7 @@ fixed a bug when total paragraph demerits are negative =item * -C<\looseness> setting is now taken into account (thanks to Karel Horak +C<\looseness> setting is now taken into account (thanks to Karel Horák for identifying the issue) =back @@ -378,7 +380,7 @@ for identifying the issue) =item * -fixed displaying of hyphenated ligatures (bug reported by Karel Horak) +fixed displaying of hyphenated ligatures (bug reported by Karel Horák) =back @@ -403,6 +405,21 @@ fixed the manual page as suggested by Eric S. Raymond =back +=head4 3.4 (2015-10-18) + +=over 4 + +=item * + +fixed processing of logs produced using ε-TeX's C<\lastlinefit> option +(bug reported by Karel Horák) + +=item * + +fixed cross-platform handling of linebreaks in the input file + +=back + =head1 LICENSE This program is free software; you can redistribute it and/or modify @@ -412,7 +429,8 @@ any later version. =head1 AUTHOR -Copyright (c) Martin Budaj E<lt>m.b@speleo.skE<gt> 2000, 2001, 2009, 2012 +Copyright (c) Martin Budaj E<lt>m.b@speleo.skE<gt> 2000, 2001, 2009, 2012, +2015 =cut diff --git a/Master/texmf-dist/doc/support/findhyph/findhyph.txt b/Master/texmf-dist/doc/support/findhyph/findhyph.txt index aaa45a5ab1d..66c6164fb66 100644 --- a/Master/texmf-dist/doc/support/findhyph/findhyph.txt +++ b/Master/texmf-dist/doc/support/findhyph/findhyph.txt @@ -1,5 +1,5 @@ NAME - findhyph - find words hyphenated by TeX in a document + findhyph – find words hyphenated by TeX in a document INSTALLATION Copy findhyph or findhyph.bat (depending on OS used) to a directory @@ -66,7 +66,7 @@ HISTORY 2.0 (2009-08-10) * fixes in line breaks detection algorithm; support for the third pass - of line breaking algorithm in TeX (positive \emergencystretch); + of line breaking algorithm in TeX (positive "\emergencystretch"); support for discretionary breaks in the first pass * page number detection improved (recognized negative page numbers, @@ -79,17 +79,17 @@ HISTORY * hyphenated words can be displayed in context - * suggestions and testing by Pavel Striz + * suggestions and testing by Pavel Stříž 3.0 (2012-02-01) * fixed a bug when total paragraph demerits are negative * "\looseness" setting is now taken into account (thanks to Karel - Horak for identifying the issue) + Horák for identifying the issue) 3.1 (2012-11-03) * fixed displaying of hyphenated ligatures (bug reported by Karel - Horak) + Horák) 3.2 (2012-11-21) * improved example definition of the "\setlooseness" macro (thanks to @@ -98,6 +98,12 @@ HISTORY 3.3 (2013-06-18) * fixed the manual page as suggested by Eric S. Raymond + 3.4 (2015-10-18) + * fixed processing of logs produced using ε-TeX's "\lastlinefit" + option (bug reported by Karel Horák) + + * fixed cross-platform handling of linebreaks in the input file + 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 @@ -105,5 +111,5 @@ LICENSE version. AUTHOR - Copyright (c) Martin Budaj <m.b@speleo.sk> 2000, 2001, 2009, 2012 + Copyright (c) Martin Budaj <m.b@speleo.sk> 2000, 2001, 2009, 2012, 2015 diff --git a/Master/texmf-dist/scripts/findhyph/findhyph b/Master/texmf-dist/scripts/findhyph/findhyph index 7436af4c552..b4a42ba35d3 100755 --- a/Master/texmf-dist/scripts/findhyph/findhyph +++ b/Master/texmf-dist/scripts/findhyph/findhyph @@ -6,7 +6,7 @@ $opt_l = 'kKsSvVzZoOuUiIA'; # defaults for Slovak and Czech $opt_c = $opt_f = $opt_h = $opt_v = 0; getopts('cfphvl:'); -$version_msg = "findhyph version 3.2\n"; +$version_msg = "findhyph version 3.4\n"; $help_msg = "\nUsage: findhyph [options] <yourtexfile.log>\n" . "\n" . "Options: -c display hyphenated words in context\n" . @@ -36,7 +36,7 @@ $act_text = ""; $looseness = 0; while(<IN>) { - chomp; + s/[\r\n]*$//; if (/^\@looseness=(\-?\d+)$/) { $looseness = $1; } @@ -70,7 +70,7 @@ while(<IN>) { %LOOSE = (); next; } - if ($search && /^@@(\d+): line (\d+)\..+ t=(\-?\d+) \-\> @@(\d+)/) { + if ($search && /^@@(\d+): line (\d+)\..+ t=(\-?\d+) (?:s=\S+ (?:g|a)=\S+ )?\-\> @@(\d+)/) { $act_break = $1; $BREAKS{$act_break}{'prev'} = $4; if ($endgraf && $3 < $demerits) { @@ -205,9 +205,11 @@ sub do_hyph { __END__ +=encoding utf8 + =head1 NAME -B<findhyph> - find words hyphenated by TeX in a document +B<findhyph> – find words hyphenated by TeX in a document =head1 INSTALLATION @@ -320,7 +322,7 @@ public release =item * fixes in line breaks detection algorithm; support for the third pass of line -breaking algorithm in TeX (positive \emergencystretch); support for +breaking algorithm in TeX (positive C<\emergencystretch>); support for discretionary breaks in the first pass =item * @@ -340,7 +342,7 @@ hyphenated words can be displayed in context =item * -suggestions and testing by Pavel Striz +suggestions and testing by Pavel Stříž =back @@ -354,7 +356,7 @@ fixed a bug when total paragraph demerits are negative =item * -C<\looseness> setting is now taken into account (thanks to Karel Horak +C<\looseness> setting is now taken into account (thanks to Karel Horák for identifying the issue) =back @@ -365,7 +367,7 @@ for identifying the issue) =item * -fixed displaying of hyphenated ligatures (bug reported by Karel Horak) +fixed displaying of hyphenated ligatures (bug reported by Karel Horák) =back @@ -390,6 +392,21 @@ fixed the manual page as suggested by Eric S. Raymond =back +=head4 3.4 (2015-10-18) + +=over 4 + +=item * + +fixed processing of logs produced using ε-TeX's C<\lastlinefit> option +(bug reported by Karel Horák) + +=item * + +fixed cross-platform handling of linebreaks in the input file + +=back + =head1 LICENSE This program is free software; you can redistribute it and/or modify @@ -399,6 +416,7 @@ any later version. =head1 AUTHOR -Copyright (c) Martin Budaj E<lt>m.b@speleo.skE<gt> 2000, 2001, 2009, 2012 +Copyright (c) Martin Budaj E<lt>m.b@speleo.skE<gt> 2000, 2001, 2009, 2012, +2015 =cut |