OnWorks favicon

findhyph - Online in the Cloud

Run findhyph in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command findhyph that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



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 "/usr/bin/" for Unix-like systems or in PATH
when using findhyph.bat.


findhyph [options] foo.log


To use this program:

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

2) tex foo.tex

3) findhyph [options] foo.log

If you are setting "\looseness=<N>" to optimize paragraphs, you need to pass that
information to the file foo.log in a form "@looseness=<N>" (on a separate line). You can
use a macro like "\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.


-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

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


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.

List of prepositions if option -p is used.


1.0 (2001-04-08)

· public release

2.0 (2009-08-10)

· fixes in line breaks detection algorithm; support for the 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 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 Horák for identifying
the issue)

3.1 (2012-11-03)

· fixed displaying of hyphenated ligatures (bug reported by Karel Horák)

3.2 (2012-11-21)

· improved example definition of the "\setlooseness" macro (thanks to Karl Berry)

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

Use findhyph online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    This is the Total War pack file manager
    project, starting from version 1.7. A
    short introduction into Warscape
    modding: ...
    Download packfilemanager
  • 2
    A network traffic tool for measuring
    TCP and UDP performance with metrics
    around both throughput and latency. The
    goals include maintaining an active
    iperf cod...
    Download IPerf2
  • 3
    fre:ac - free audio converter
    fre:ac - free audio converter
    fre:ac is a free audio converter and CD
    ripper for various formats and encoders.
    It features MP3, MP4/M4A, WMA, Ogg
    Vorbis, FLAC, AAC, and Bonk format
    support, ...
    Download fre:ac - free audio converter
  • 4
    Write your chatbot logic once and
    connect it to one of the available
    messaging services, including Amazon
    Alexa, Facebook Messenger, Slack,
    Telegram or even yo...
    Download BotMan
  • 5
    PeaZip is a free archiver tool. The
    application provides an unified,
    natively portable, cross-platform file
    manager and archive manager GUI for many
    Open Sourc...
    Download PeaZip
  • 6
    gerbv  a Gerber (RS-274X) viewer
    gerbv a Gerber (RS-274X) viewer
    Gerbv is an open source Gerber file
    (RS-274X only) viewer. Gerbv lets you
    load several files on top of each other,
    do measurements on the displayed image,
    etc. ...
    Download gerbv a Gerber (RS-274X) viewer
  • 7
    I/O performance Analysis Tool.
    Audience: Developers, Information
    Technology, Science/Research, System
    Administrators. User interface: Win32
    (MS Windows). Progr...
    Download Iometer
  • More »

Linux commands