Re: Comparing pdflatex and pdfjadetex

John Brown <[email protected]>
Newsgroups gmane.comp.tex.miktex
Message-ID <[email protected]>

On Sunday, February 3, 2013 1:49 AM, Pétiard François wrote:
> 
> Le 03/02/2013 07:27, John Brown a écrit :
>>  Hello All,
>> 
>>  `pdflatex sample.tex' works with a file like this:
[sample snipped] 
>>  However, `pdfjadetex sample1.tex' gives:
>> 
...
>>  ! LaTeX Error: Two \documentclass or \documentstyle commands.
...
> 
> You make pdfjadetex sample1.tex
> but in the log, that's sample.tex

I made a mistake while editing my post. Sample.tex = sample1.tex.
Sample.tex starts with \documentclass{article} and jtest.tex
starts with \FOT{3}\Seq%. For what it is worth, see the text of
both files included below.

Regards,
John Brown.


/******* sample.tex  ********/
\documentclass{article}
\title{Cartesian closed categories and the price of eggs}
\author{Jane Doe}
\date{September 1994}
\begin{document}
   \maketitle
   Hello world!
\end{document}



/*** jtest.tex - produced from jtest.sgm (an SGML file) ***/
/*** by openjade ***/
\FOT{3}\Seq%
{\def\fSize%
{12\p@}\def\fWeight%
{medium}\def\fPosture%
{upright}\def\fFamName{Times-New-Roman}\def\LineSpacing%
{14.4\p@}\def\LineSpacingFactor%
{0}\def\WritingMode%
{lefttoright}\def\LeftMargin%
{72\p@}\def\RightMargin%
{72\p@}\def\TopMargin%
{72\p@}\def\BottomMargin%
{72\p@}\def\HeaderMargin%
{48\p@}\def\FooterMargin%
{48\p@}\def\PageWidth%
{612\p@}\def\PageHeight%
{792\p@}\def\Quadding%
{start}}\Node%
{}\Node%
{\def\Element%
{0}}\SpS%
{\def\StartIndent%
{0\p@}\def\StartIndentFactor%
{0}\def\InputWhitespaceTreatment%
{collapse}}
\SpSOtherBackLeftFooter%
{}
\SpSOtherBackLeftHeader%
{}
\SpSOtherBackCenterFooter%
{}
\SpSOtherBackCenterHeader%
{}
\SpSOtherBackRightFooter%
{}
\SpSOtherBackRightHeader%
{}
\SpSFirstBackLeftFooter%
{}
\SpSFirstBackLeftHeader%
{}
\SpSFirstBackCenterFooter%
{}
\SpSFirstBackCenterHeader%
{}
\SpSFirstBackRightFooter%
{}
\SpSFirstBackRightHeader%
{}
\SpSOtherFrontLeftFooter%
{}
\SpSOtherFrontLeftHeader%
{}
\SpSOtherFrontCenterFooter%
{}
\SpSOtherFrontCenterHeader%
{}
\SpSOtherFrontRightFooter%
{}
\SpSOtherFrontRightHeader%
{}
\SpSFirstFrontLeftFooter%
{}
\SpSFirstFrontLeftHeader%
{}
\SpSFirstFrontCenterFooter%
{}
\SpSFirstFrontCenterHeader%
{}
\SpSFirstFrontRightFooter%
{}
\SpSFirstFrontRightHeader%
{}\Node%
{\def\Element%
{1}}\Seq%
{}\Node%
{\def\Element%
{2}}\Par%
{\def\sbNom%
{54\p@}\def\sbMin%
{54\p@}\def\sbMax%
{54\p@}\def\sbConditional%
{1}\def\saNom%
{12\p@}\def\saMin%
{12\p@}\def\saMax%
{12\p@}\def\saConditional%
{1}}\Seq%
{}\LineField%
{\def\FieldWidth%
{54\p@}\def\FieldWidthFactor%
{0}\def\fFamName{Arial}}Date:\endLineField{}Feb 29, 1997\endSeq{}\endPar{}\endNode{}\Node%
{\def\Element%
{3}}\Par%
{}\Seq%
{}\LineField%
{\def\FieldWidth%
{54\p@}\def\FieldWidthFactor%
{0}\def\fFamName{Arial}}To:\endLineField{}John Doe\endSeq{}\endPar{}\endNode{}\Node%
{\def\Element%
{4}}\Par%
{\def\saNom%
{24\p@}\def\saMin%
{24\p@}\def\saMax%
{24\p@}\def\saConditional%
{1}}\Seq%
{}\LineField%
{\def\FieldWidth%
{54\p@}\def\FieldWidthFactor%
{0}\def\fFamName{Arial}}Subject:\endLineField{}Test Document\endSeq{}\endPar{}\endNode{}\Par%
{\def\saNom%
{12\p@}\def\saMin%
{12\p@}\def\saMax%
{12\p@}\def\saConditional%
{1}}Dear John Doe:\endPar{}\endSeq{}\endNode{}\Node%
{\def\Element%
{5}}\Node%
{\def\Element%
{6}}\Par%
{\def\saNom%
{6\p@}\def\saMin%
{6\p@}\def\saMax%
{6\p@}\def\saConditional%
{1}}This is the first paragraph.\endPar{}\endNode{}\Node%
{\def\Element%
{7}}\Par%
{\def\saNom%
{6\p@}\def\saMin%
{6\p@}\def\saMax%
{6\p@}\def\saConditional%
{1}}This is the second.\endPar{}\endNode{}\Node%
{\def\Element%
{8}}\Par%
{\def\saNom%
{6\p@}\def\saMin%
{6\p@}\def\saMax%
{6\p@}\def\saConditional%
{1}}This is the last.\endPar{}\endNode{}\endNode{}\Node%
{\def\Element%
{9}}\Par%
{\def\sbNom%
{24\p@}\def\sbMin%
{24\p@}\def\sbMax%
{24\p@}\def\sbConditional%
{1}}\Node%
{\def\Element%
{10}}\Par%
{\def\saNom%
{72\p@}\def\saMin%
{72\p@}\def\saMax%
{72\p@}\def\saConditional%
{1}}Sincerely,\endPar{}\endNode{}\Node%
{\def\Element%
{11}}\Par%
{}Jane Doe\endPar{}\endNode{}\endPar{}\endNode{}\endSpS{}\endNode{}\endNode{}\endSeq{}\endFOT{}

/*** If you want jtest.sgm, here it is ***/
<!DOCTYPE MEMO [
<!ELEMENT MEMO    - - (HEAD, BODY, END)>
<!ELEMENT HEAD    - - (DATE, TO, SUBJECT)>
<!ELEMENT DATE    - - (#PCDATA)>
<!ELEMENT TO      - - (#PCDATA)>
<!ELEMENT SUBJECT - - (#PCDATA)>
<!ELEMENT BODY    - - (PARA+)>
<!ELEMENT PARA    - - (#PCDATA)>
<!ELEMENT END     - - (CLOSING, SENDER)>
<!ELEMENT CLOSING - - (#PCDATA)>
<!ELEMENT SENDER  - - (#PCDATA)>
]>
<memo>
<head>
<date>Feb 29, 1997</date>
<to>John Doe</to>
<subject>Test Document</subject>
</head>
<body>
<para>This is the first paragraph.</para>
<para>This is the second.</para>
<para>This is the last.</para>
</body>
<end>
<closing>Sincerely,</closing>
<sender>Jane Doe</sender>
</end>
</memo>

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.