Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tralics(1) [debian man page]

TRALICS(1)							   User Commands							TRALICS(1)

NAME
tralics - a LaTeX to XML converter SYNOPSIS
tralics [options] source DESCRIPTION
A program for converting LaTeX source into parsable XML files source is the name of the source file, (with or without a extension .tex), and may not start with a hyphen OPTIONS
All options start with a single or double hyphen, they are: -verbose: Prints much more things in the log file -silent: Prints less information on the terminal -input_file FILE: translates file FILE -type FOO: Uses FOO instead of the documentclass value -dir RADIR: indicates where the sources are located -confdir : indicates where the configuration files are located -noxmlerror: no XML element is generated in case of error -interactivemath: reads from the terminal, and prints math formulas on the terminal -config FILE: use FILE instead of default configuration file -noconfig: no configuration file is used -utf8: says that the source is encoded in utf8 instead of latin1 -latin1: overrides -utf8 -utf8output: same as -oe8 -oe8, -oe1, -oe8a -oe1a: specifies output encoding -te8, -te1, -te8a -te1a: terminal and transcript encoding -(no)trivialmath: special math hacking -(no)etex: enable or disable e-TeX extensions -nozerowidthelt: Use &#x200B; rather than <zws/> -nozerowidthspace: no special &#x200B; or <zws/> inserted -noentnames: result contains &#A0; rather than &nbsp; -entnames=true/false: says whether or not you want &nbsp; -noundefmac: alternate XML output for undefined commands -nomathml: this disables mathml mode -nostraightquotes: same as right_quote=B4 -left_quote=2018: sets translation of ` to char U+2018 -right_quote=2019: sets translation of ' to char U+2019 -param foo bar: adds foo="bar" to the configuratin file -usequotes: double quote gives two single quotes -nobibyearerror: no error for wrong years in bib for raweb -nobibyearmodify: no hack for wrong years in bib for raweb -external_prog PGM: uses PGM instead of rahandler.pl for raweb -shell-escape: enable write18{SHELL COMMAND} -tpa_status = title/all: translate all document or title only -distinguish_refer_in_rabib= true/false: special raweb hack -compatibility: keeps compatibility with older versions -default_class=xx: use xx.clt if current class is unknown -(no)math_variant: for <mi mathvariant='script'>X</mi> -check: (obsolete RAweb option) -debug: (raweb option) do not stop on the first error -ps: (raweb) generates PostScript instead of XML -xml -xmlfo -xmltex -xmlhtml -xmllint -xmlall: raweb options SEE ALSO
(See http://www-sop.inria.fr/apics/tralics/raweb.html) Tralics homepage: http://www-sop.inria.fr/apics/tralics This software is governed by the CeCILL license that can be found at http://www.cecill.info. Copyright INRIA/MIAOU/APICS 2002-2008, Jos'e Grimm Licensed under the CeCILL Free Software Licensing Agreement This manual page was written by Ross J. Reedstrom <reedstrm@cnx.org>, starting with help2man output, for the Debian project (but may be used by others). tralics 2.11.6 March 2008 TRALICS(1)

Check Out this Related Man Page

Test::XML::XPath(3pm)					User Contributed Perl Documentation				     Test::XML::XPath(3pm)

NAME
Test::XML::XPath - Test XPath assertions SYNOPSIS
use Test::XML::XPath tests => 3; like_xpath( '<foo />', '/foo' ); # PASS like_xpath( '<foo />', '/bar' ); # FAIL unlike_xpath( '<foo />', '/bar' ); # PASS is_xpath( '<foo>bar</foo>', '/foo', 'bar' ); # PASS is_xpath( '<foo>bar</foo>', '/bar', 'foo' ); # FAIL # More interesting examples of xpath assertions. my $xml = '<foo attrib="1"><bish><bosh args="42">pub</bosh></bish></foo>'; # Do testing for attributes. like_xpath( $xml, '/foo[@attrib="1"]' ); # PASS # Find an element anywhere in the document. like_xpath( $xml, '//bosh' ); # PASS # Both. like_xpath( $xml, '//bosh[@args="42"]' ); # PASS DESCRIPTION
This module allows you to assert statements about your XML in the form of XPath statements. You can say that a piece of XML must contain certain tags, with so-and-so attributes, etc. It will try to use any installed XPath module that it knows about. Currently, this means XML::LibXML and XML::XPath, in that order. NB: Normally in XPath processing, the statement occurs from a context node. In the case of like_xpath(), the context node will always be the root node. In practice, this means that these two statements are identical: # Absolute path. like_xpath( '<foo/>', '/foo' ); # Path relative to root. like_xpath( '<foo/>', 'foo' ); It's probably best to use absolute paths everywhere in order to keep things simple. NB: Beware of specifying attributes. Because they use an @-sign, perl will complain about trying to interpolate arrays if you don't escape them or use single quotes. FUNCTIONS
like_xpath ( XML, XPATH [, NAME ] ) Assert that XML (a string containing XML) matches the statement XPATH. NAME is the name of the test. Returns true or false depending upon test success. unlike_xpath ( XML, XPATH [, NAME ] ) This is the reverse of like_xpath(). The test will only pass if XPATH does not generates any matches in XML. Returns true or false depending upon test success. is_xpath ( XML, XPATH, EXPECTED [, NAME ] ) Evaluates XPATH against XML, and pass the test if the is EXPECTED. Uses findvalue() internally. Returns true or false depending upon test success. set_xpath_processor ( CLASS ) Set the class name of the XPath processor used. It is up to you to ensure that this class is loaded. In all cases, XML must be well formed, or the test will fail. SEE ALSO
Test::XML. XML::XPath, which is the basis for this module. If you are not conversant with XPath, there are many tutorials available on the web. Google will point you at them. The first one that I saw was: <http://www.zvon.org/xxl/XPathTutorial/>, which appears to offer interactive XPath as well as the tutorials. AUTHOR
Dominic Mitchell <cpan2 (at) semantico.com> COPYRIGHT AND LICENSE
Copyright 2002 by semantico This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2009-07-02 Test::XML::XPath(3pm)
Man Page