Re: DOCBOOK-APPS: Aaargh, text with {...} causes pdfjadetex to blow up...

2001-04-24 Thread Sebastian Rahtz

Richard Sharpe writes:

  Run sed over the .tex output and convert all  to {} and all  to {}
  and it works ...

thats another 100 years in purgatory for you :-}

sebastian


--
To unsubscribe from this elist send a message with the single word
unsubscribe in the body to: [EMAIL PROTECTED]



Re: DOCBOOK-APPS: Aaargh, text with {...} causes pdfjadetex to blow up...

2001-04-24 Thread Richard Sharpe

At 10:19 AM 4/24/01 +0100, Sebastian Rahtz wrote:
Richard Sharpe writes:

  Run sed over the .tex output and convert all  to {} and all  to {}
  and it works ...

thats another 100 years in purgatory for you :-}

OK, I promise that it is only a stop-gap, and I will work on OpenJade next
week.

sebastian


Regards
---
Richard Sharpe, [EMAIL PROTECTED]
Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba



--
To unsubscribe from this elist send a message with the single word
unsubscribe in the body to: [EMAIL PROTECTED]



Re: DOCBOOK-APPS: Aaargh, text with {...} causes pdfjadetex to blow up...

2001-04-23 Thread Sebastian Rahtz

  Here is what OpenJade produces by the way of TeX:
  
  {1}\def\KeepWithNext%
  {1}}\{str1,str2 ...\}\def\HeadingText{%
  \str1,str2 ...\}%
  \endHeadPar{}\endNode{}\Node%

I have not tested this, but look at the code in TeXFotBuilder.cxx
for 
   void TeXFOTBuilder::characters(const Char *s, size_t n)

see where it says

  case '\\':
  case '^':
  case '_':
  case '~':
os()  \\char  int(*s)  {};

add in '{' and '}' here, and delete them from their place later in the
case statement. I would expect that to work.

this is also the place to fix the problem of -- and . I would
very strongly urge someone involved in OpenJade to look at this, and
the patches on http://indev.insu.com/openjade/, and see if we can get
a new clean unified TeXFOTBuilder out there for all to use. You are
the most active, Richard, I'd be really pleased if you could push this
forward. 

Sebastian


--
To unsubscribe from this elist send a message with the single word
unsubscribe in the body to: [EMAIL PROTECTED]



Re: DOCBOOK-APPS: Aaargh, text with {...} causes pdfjadetex to blow up...

2001-04-23 Thread Richard Sharpe

At 08:38 PM 4/22/01 +0100, Sebastian Rahtz wrote:

[Sebastian's coding suggestions deleted in the interests of brevity ... ]

OK, I have a simple fix for the moment ... 

Run sed over the .tex output and convert all  to {} and all  to {}
and it works ...

Regards
---
Richard Sharpe, [EMAIL PROTECTED]
Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba



--
To unsubscribe from this elist send a message with the single word
unsubscribe in the body to: [EMAIL PROTECTED]



RE: DOCBOOK-APPS: Aaargh, text with {...} causes pdfjadetex to blow up...

2001-04-16 Thread Phillip Shelton

There may be more of the tex file needed, but the tex fragment is missing a
closing brace.

Or is it that it is missing an opening \{. hmmm.

 -Original Message-
 Here is the DocBook fragment:

 glosstermlcub;lt;str1gt;,lt;str2gt; ...rcub/glossterm

 Here is what OpenJade produces by the way of TeX:

 {1}\def\KeepWithNext%
 {1}}\{str1,str2 ...\}\def\HeadingText{%
 \str1,str2 ...\}%
 \endHeadPar{}\endNode{}\Node%

 Here is the error pdfjadetex gives:

 Runaway definition?
 -\str1,str2 ...\}\endHeadPar {}\endNode {}\Node {\def
 \Element {\ETC.
 ! File ended while scanning definition of \HeadingText.
 inserted text
 }


--
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: [EMAIL PROTECTED]



RE: DOCBOOK-APPS: Aaargh, text with {...} causes pdfjadetex to blow up...

2001-04-16 Thread Richard Sharpe

At 12:14 PM 4/17/01 +1000, Phillip Shelton wrote:
There may be more of the tex file needed, but the tex fragment is missing a
closing brace.

Hmmm, it seems to be the specific combination below, because elsewhere in
the document I have got '{abc}' and OpenJade and pdfjadetex have no
problems dealing with it at all ...

Or is it that it is missing an opening \{. hmmm.

 -Original Message-
 Here is the DocBook fragment:

 glosstermlcub;lt;str1gt;,lt;str2gt; ...rcub/glossterm

 Here is what OpenJade produces by the way of TeX:

 {1}\def\KeepWithNext%
 {1}}\{str1,str2 ...\}\def\HeadingText{%
 \str1,str2 ...\}%
 \endHeadPar{}\endNode{}\Node%

 Here is the error pdfjadetex gives:

 Runaway definition?
 -\str1,str2 ...\}\endHeadPar {}\endNode {}\Node {\def
 \Element {\ETC.
 ! File ended while scanning definition of \HeadingText.
 inserted text
 }


Regards
---
Richard Sharpe, [EMAIL PROTECTED]
Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba



--
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: [EMAIL PROTECTED]