Hi,
own conversionsets can be defined eg. like this:
\define[1]\TestConversion {(\characters{#1}\characters{#1})}
\defineconversion [TestCon] [\TestConversion]
As expected this gives "aa" and "bb" etc.
Only when using PDF bookmarks these conversions fall back to numbers (see
example below).
A workaround could be to write these conversions explicitly:
\defineconversion [TestCon][{aa},{bb},{cc},{dd},...]
Here the "aa" etc conversion is preserved in bookmarks too.
Only, it is not very elegant and for long documents with many sections it may
lead to typos.
Hence, my question:
Is there a low-level trick to preserve conversionsets,
defined like {(\characters{#1}\characters{#1})},
so they appear in bookmarks, too?
Thanks,
Steffen
------
\setupinteraction[state=start]
\setupinteractionscreen [option=bookmark]
\placebookmarks[chapter,section][chapter,section]
%This does nots work:
\define[1]\TestConversion {(\characters{#1}\characters{#1})}
\defineconversion [TestCon] [\TestConversion]
%
% This works:
%\defineconversion
[TestCon][{aa},{bb},{cc},{dd},{ee},{ff},{gg},{hh},{ii},{jj},{kk},{ll},{mm},{nn},{oo},{pp},{qq},{rr}]
%
\definestructureconversionset [default] [ , TestCon,characters] [numbers]
\starttext
\chapter{one}
\section{two}
test
\stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________