[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] character maps
On 7/30/07, Keith Fahlgren <abdelazer@gmail.com> wrote: > On 7/30/07, Hinrich Aue <hinrich.aue@lci-software.com> wrote: > > We have to replace " (ascii quotes) with unicode quotes. > > The documents are big and already written. Also using ascii for this is a > > lot easier for authoring. You don't want to copy and paste Unicode > > characters in the xml source all the time, while you have th ascii quotes on > > your keyboard. > > > > Also we want to exchange the ascii - (dash) with a longer Unicode dash. > > Hinrich, > > Here's the XSLT2 we use internally to "fix" straight quotes into > curlies. Please note that transformations like this are both > error-prone and language-specific, so this isn't a "use this blindly" > fix. Additionally, you may want to adjust the elements in which you do > no replacements. > Here's a link to same: http://pastebin.com/f44659ebf
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]