|→||1.6 Text tools|
Convert text to LaTeX
|Copyright and license|
dk-t2l [options] [files]
The program converts text from the specified files or standard input to LaTeX. Alternatively you can use the -e option to convert text specified on the command line.
0 on success, all other values indicate errors.
The files consist of empty lines, comment lines, and data lines. A comment line is started by a raute character `#' as first text character.
A data line consists of several texts, separated by whitespaces or whitespace sequences. It contains the following components:
Write the following text into file t1.tex in vi or a vi clone (i.e. vim):
The test_german_umlauts() function in the C:\temp\tgu.c file tests german umlauts like Ä, Ö, Ü, ä, ö, ü, ß.
Use the editor's colon command
and see what happens.
On Windows the file name length is restricted to _MAX_PATH (260) characters if the file name contains a wildcard (* or ? character).
The program uses translation tables in *.t2l files to convert from UNICODE to LaTeX. UNICODE contains 1,114,112 characters (found in Wikipedia 2015-05-12), so I can not provide complete tables for all characters. I am a native German speaker, so the tables include support for some Central European languages.
You can provide further translation tables from UNICODE to LaTeX, please use the SourceForge project page http://sourceforge.net/projects/dktools to contact me (forums, patches). I can only accept your work and ship it together with DK tools if you use a 3 clauses BSD license (same license as the DK tools project). I think translation tables should be made by native speakers of a language (or at least people experienced in the language) with at least some LaTeX experience.
This program uses DK libraries version 4.
The program was named text2lat in DK tools version 2.x.x, ``dkt latex'' in 3.x.x.
See the Legal stuff page for copyright and license information.
|http://dktools.sourceforge.net||DK tools home page|