summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/findhyph
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-10-19 22:36:23 +0000
committerKarl Berry <karl@freefriends.org>2015-10-19 22:36:23 +0000
commit246e641675931ad30bc0ca272fd0ccbad1b50b2a (patch)
tree7ef50e2c0c647eb6c59ab53ad178d6691ef7a480 /Master/texmf-dist/doc/support/findhyph
parent90eab0f6fae15d48f312525a7613f63546292087 (diff)
findhyph (19oct15)
git-svn-id: svn://tug.org/texlive/trunk@38674 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/support/findhyph')
-rw-r--r--Master/texmf-dist/doc/support/findhyph/Makefile.doc9
-rw-r--r--Master/texmf-dist/doc/support/findhyph/README2
-rwxr-xr-xMaster/texmf-dist/doc/support/findhyph/findhyph.bat36
-rw-r--r--Master/texmf-dist/doc/support/findhyph/findhyph.txt18
4 files changed, 45 insertions, 20 deletions
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