Hi list! Here's a description of a method for a slightly better workaround:
http://www.peterbe.com/plog/unicode-to-ascii This way, accented letters such as å, ö, ï will become a, o, i, making the ids a bit more recognizable for some languages. Characters such as ¿ and œ will still get deleted, though. Happy New Year! /Simon Kågedal Reimer On Nov 8 2011, 8:33 pm, Dag Wieers <[email protected]> wrote: > On Mon, 7 Nov 2011, Fabrice Flore-Thebault wrote: > > On 07/11/11 23:05, Lex Trotman wrote: > >> On Tue, Nov 8, 2011 at 8:55 AM, Fabrice Flore-Thᅵbault > >> <[email protected]> wrote: > >> > So for the present, as tools used to convert docbook to pdf are not > >> > supporting accents in ids, there is this workaround to use accents in > >> > titles: manually redefine each title id by declaring it before the > >> > title: > > >> > for example: > > >> > [[this-is-an-id-for-my-title-without-accents]] > >> > === now i cᅵn have a tᅵtle with accᅵnts > > >> > A more pragmatic/automated approach could be to automatically remove > >> > accents > >> > in generated ids. (But i don't know how to achieve this) > > >> Doing it manually is indeed a (laborious) workaround. > > >> The problem with just dropping accented characters is that the > >> resulting id then may not be unique. > > > Yep, same issue when you manually create the id :/ > > > I don't know if it would be possible to have an option in asciidoc > > conversion > > like --no-accents-in-ids ? I guess the xhtml output removes the accents > > also, > > as it is so bad looking in a web browser ? > > Now that the 'ascii-ids' attribute has been added, we shouldn't stop > trying to get the tools to support accented characters. > > I would hate to see this workaround block any progress in the tools. So, > please, Fabrice, do report and track those issues in the tools you use > as a courtesy to AsciiDoc ;-) > > -- > -- dag wieers, [email protected],http://dag.wieers.com/ > -- dagit linux solutions, [email protected],http://dagit.net/ > > [Any errors in spelling, tact or fact are transmission errors] -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
