[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Best way to handle multiple string replacements?

Subject: Re: Best way to handle multiple string replacements?
From: "Sebastian Rahtz" <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 5 Jun 2000 21:09:53 +0100 (BST)
latex paragraph sign
Warren Hedley writes:
 > I've got some XML->LaTeX transformations and I noticed that I
 > keep ending up with lists of calls to string replacement
 > routines, with the results being stored in variables (see
 > following XSL). It works, but it's ugly and not particularly
 > elegant. Has anyone ever found a better solution?

not to the theoretical problem, but to the practical problem
of writing your LaTeX files, some suggestions:

 a) use a different output encoding that LaTeX recognises (like latin 1)
 b) use a TeX setup that understands UTF 8 
 c) [easiest] use a neat program called utf8any (there must be
    millions of similar things) as a post-processor. 

 > Incidentally, does anyone know what the LaTeX macro for &#0182;
 > (pilcrow sign = paragraph sign) is? The best I've been able to
 > do is $\mathbb{P}$.
 > 

consulting http://www.tug.org/applications/jadetex/unicode.xml you'd
find the appended. it will also tell you all other known Unicode/TeX
translations (more or less). The answering being \textparagraph, of
course. 

sebastian

 <character id='U00B6' dec='182' mode='mixed' type='normal'>
 <afii>00B6</afii>
 <latex>\textparagraph </latex>
 <mathlatex>\P </mathlatex>
 <Elsevier grid='bfd' ent='para'>
  <desc>paragraph sign; pilcrow</desc>
 </Elsevier>
 <AMS>\P</AMS>
 <AIP>para</AIP>
 <Wolfram>Paragraph</Wolfram>
 <entity id='para' set='html4'>
  <desc>pilcrow sign = paragraph sign</desc>
 </entity>
 <entity id='para' set='8879-isonum'>
  <desc>=pilcrow (paragraph sign)</desc>
 </entity>
 <font name='hlcry' pos='123'/>
 <description>PILCROW SIGN</description>
</character>

sebastian


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.