Next in thread → Next in month →

Re: [docbook-apps] character maps

From
Keith Fahlgren <>
Date
2007-07-30T15:25:00+00:00
ID
Thread
Re: [docbook-apps] character maps
On 7/30/07, Keith Fahlgren <> wrote:
> On 7/30/07, Hinrich Aue <> 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
Next in thread → Next in month →