Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.223.748 Times

TeX::Hyphen 0.140

  Date Added: January 27, 2010  |  Visits: 792

TeX::Hyphen

Report Broken Link
Printer Friendly Version


Product Homepage
Download (87 downloads)



TeX::Hyphen is a Perl module to hyphenate words using TeXs patterns. SYNOPSIS use TeX::Hyphen; my $hyp = new TeX::Hyphen file => hyphen.tex, style => czech, leftmin => 2, rightmin => 2; # my $hyp = new TeX::Hyphen "hyphen.tex"; my $word = "representation"; my @points = $hyp->hyphenate($word); print $hyp->visualize($word), "n"; Constructor new() creates a new Hyphen object and loads the file with patterns into memory. Then you can ask it for hyphenation of a word by calling a method of this object. If no file is specified, the default Donald E. Knuths hyphen.tex, that is included in this module, is used instead. Arguments to constructor You can pass arguments to the new() call as hash, possible options are file Name of the file with the patters. It will be loaded and the resulting object will be able to hyphenate according to patterns in that file. For convenience and backward compatibility, the file name can also be specified as the first (odd) parameter to new(). style Various languages use special shortcuts to specify the patterns. Instead of doing the full TeX expansion, we use Perl code to parse the patterns. The style option loads TeX::Hyphen::name_of_the_style module and uses the parsing functions found in it. Currently, the default czech (which also works for English alright) and german are available. See the TeX::Hyphen::czech man page for more information, especially if you want to support other languages/styles. leftmin The minimum starting substring which will not be hyphenated. This overrides the default specified in the style file. rightmin The minimum ending substring which will not be hyphenated. This overrides the default specified in the style file. Methods that are supported Method hyphenate() returns list of places where the word can be divided, so $hyp->visualize(representation) returns list (3, 5, 8, 10). Method visualize() can be used to show these points, so $hyp->visualize(representation) should return rep-re-sen-ta-tion, at least for English patterns. Variables $TeX::Hyphen::LEFTMIN and $TeX::Hyphen::RIGHTMIN can be used to restrict minimal starting and ending substring where it is not possible to hyphenate. They both default to 2 but should be changed to match the paratemers used to generate the patterns. Variable $TeX::Hyphen::DEBUG can be set to see some statistics and processing. The file with hyphenation patterns may contain and v accents, used in the Czech (and other) languages..

Requirements: No special requirements
Platforms: Linux
Keyword: File Hyphenate Hyphenate Words Libraries Module New Patterns Perl Module Programming Style Tex Texhyphen Texs
Users rating: 0/10

License: Freeware Size: 22.53 KB
USER REVIEWS
More Reviews or Write Review


TEX::HYPHEN RELATED
Miscellaneous  -  Anagram Fetcher 1.3
This script provides you code for fetching Anagrams out of any given file that contains words seperated by new lines.
 
Development Tools  -  What's New for Object-Oriented Programming in MATLAB Webinar - Code Examples 1.0
These are the code examples used in the "What's New for Object-Oriented Programming in MATLABdlT«" webinar, which described the new object oriented features in Release 2008a.To use the code, add the top folder to your path. See the test* M-files...
112.64 KB  
Libraries  -  File::Remote 1.17
File::Remote is a Perl module to read/write/edit remote files transparently. SYNOPSIS # # Two ways to use File::Remote # # First, the function-based style. Here, we can use the # special :replace tag to overload Perl builtins! # use...
15.36 KB  
Libraries  -  perl58delta 5.8.8
perl58delta Perl module contains information about what is new for perl v5.8.0. This document describes differences between the 5.6.0 release and the 5.8.0 release. Many of the bug fixes in 5.8.0 were already seen in the 5.6.1 maintenance...
12.2 MB  
Libraries  -  NDBM_File 5.8.8
NDBM_File is a Perl module that allows tied access to ndbm files. SYNOPSIS use Fcntl; # For O_RDWR, O_CREAT, etc. use NDBM_File; tie(%h, NDBM_File, filename, O_RDWR|O_CREAT, 0666) or die "Couldnt tie NDBM file filename: $!; aborting"; #...
12.2 MB  
Libraries  -  ODBM_File 5.8.8
ODBM_File is a Perl module to allow tied access to odbm files. SYNOPSIS use Fcntl; # For O_RDWR, O_CREAT, etc. use ODBM_File; # Now read and change the hash $h{newkey} = newvalue; print $h{oldkey}; ... untie %h; ODBM_File establishes...
12.2 MB  
Modules  -  File logger 6.x-1.0
File logger is a simple module that allows developers to configure a log file from within Drupal anddumps variables to it from within a running Drupal app. Its sole function is to supportdebugging, and avoids the awkwardness of dumping variables...
10 KB  
Desktop Utilities  -  Thunderbird Service Menu
Thunderbird Service Menu is a service menu that will allow you to right click on a file and attach it to a new E-mail from Thunderbird. Just extract the "AttachToThunderbirdMail" config file to "/usr/share/apps/konqueror/servicemenus" and it...
 
Internet Client Suites  -  StarMule 4.2.0
StarMule is a new file sharing program that includes all new p2p optimizations, enabling users to search and download over some several networks (including eD2K and Kad) around the internet. Great features like file manager, download statistics,...
3.06 MB  
Libraries  -  Lucene 0.13
Lucene is a Perl API to the C++ port of the Lucene search engine. SYNOPSIS Initialize/Empty Lucene index my $analyzer = new Lucene::Analysis::Standard::StandardAnalyzer(); my $store = Lucene::Store::FSDirectory->getDirectory("/home/lucene",...
18.43 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB