From e38d0b58fe1b7841baf6b861dd3fe8800741f7d3 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 23 Nov 2012 22:47:22 +0000 Subject: findhyph (23nov12) git-svn-id: svn://tug.org/texlive/trunk@28350 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/support/findhyph/findhyph.bat | 15 +++++++++++++-- Master/texmf-dist/doc/support/findhyph/findhyph.txt | 6 +++++- Master/texmf-dist/scripts/findhyph/findhyph | 15 +++++++++++++-- 3 files changed, 31 insertions(+), 5 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/support/findhyph/findhyph.bat b/Master/texmf-dist/doc/support/findhyph/findhyph.bat index 92c077d672e..67b1987acf9 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.1\n"; +$version_msg = "findhyph version 3.2\n"; $help_msg = "\nUsage: findhyph [options] \n" . "\n" . "Options: -c display hyphenated words in context\n" . @@ -249,7 +249,7 @@ B F If you are setting C<\looseness=ENE> to optimize paragraphs, you need to pass that information to the file F in a form C<@looseness=ENE> (on a separate line). You can use a macro like -C<\def\setlooseness#1{\immediate\write-1{@looseness=#1}\looseness=#1}> +C<\def\setlooseness#1{\looseness=#1 \immediate\write-1{@looseness=#1}}> for this purpose. If the paragraph contains material in display math mode, you need to use the macro in all split parts of the paragraph. @@ -375,6 +375,17 @@ fixed displaying of hyphenated ligatures (bug reported by Karel Horak) =back +=head4 3.2 (2012-11-21) + +=over 4 + +=item * + +improved example definition of the C<\setlooseness> macro +(thanks to Karl Berry) + +=back + =head1 LICENSE This program is free software; you can redistribute it and/or modify diff --git a/Master/texmf-dist/doc/support/findhyph/findhyph.txt b/Master/texmf-dist/doc/support/findhyph/findhyph.txt index 5c55c059a8f..c2c5d45e07a 100644 --- a/Master/texmf-dist/doc/support/findhyph/findhyph.txt +++ b/Master/texmf-dist/doc/support/findhyph/findhyph.txt @@ -16,7 +16,7 @@ SYNOPSIS If you are setting "\looseness=" to optimize paragraphs, you need to pass that information to the file foo.log in a form "@looseness=" (on a separate line). You can use a macro like - "\def\setlooseness#1{\immediate\write-1{@looseness=#1}\looseness=#1}" + "\def\setlooseness#1{\looseness=#1 \immediate\write-1{@looseness=#1}}" for this purpose. If the paragraph contains material in display math mode, you need to use the macro in all split parts of the paragraph. @@ -86,6 +86,10 @@ HISTORY * fixed displaying of hyphenated ligatures (bug reported by Karel Horak) + 3.2 (2012-11-21) + * improved example definition of the "\setlooseness" macro (thanks to + Karl Berry) + 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 diff --git a/Master/texmf-dist/scripts/findhyph/findhyph b/Master/texmf-dist/scripts/findhyph/findhyph index e66f55a8db2..c4a7089308f 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.1\n"; +$version_msg = "findhyph version 3.2\n"; $help_msg = "\nUsage: findhyph [options] \n" . "\n" . "Options: -c display hyphenated words in context\n" . @@ -236,7 +236,7 @@ B F If you are setting C<\looseness=ENE> to optimize paragraphs, you need to pass that information to the file F in a form C<@looseness=ENE> (on a separate line). You can use a macro like -C<\def\setlooseness#1{\immediate\write-1{@looseness=#1}\looseness=#1}> +C<\def\setlooseness#1{\looseness=#1 \immediate\write-1{@looseness=#1}}> for this purpose. If the paragraph contains material in display math mode, you need to use the macro in all split parts of the paragraph. @@ -362,6 +362,17 @@ fixed displaying of hyphenated ligatures (bug reported by Karel Horak) =back +=head4 3.2 (2012-11-21) + +=over 4 + +=item * + +improved example definition of the C<\setlooseness> macro +(thanks to Karl Berry) + +=back + =head1 LICENSE This program is free software; you can redistribute it and/or modify -- cgit v1.2.3