[NTG-context] \setupinteraction v commas
Tomas Hala
tomas.hala at mendelu.cz
Sat Mar 28 11:27:40 CET 2020
Hi Pablo,
the data for attribute keywords is preprocessed also for other reasons,
so there is no problem for me to add one gsub more.
Thank you very much for this sample.
Best wishes,
Tomáš
Fri, Mar 27, 2020 ve 06:06:21PM +0100 Pablo Rodriguez napsal(a):
# On 3/26/20 6:54 PM, Tomas Hala wrote:
# > [...]
# > I would like to have commas in metadata attribute keywords
# > because space is confusing -- one cannot distinguish
# > a space as a separator from a space as a part of a keyword.
#
# Hi Tomáš,
#
# a workaround is contained in the following sample
#
# \def\comma{‚}
# \enabledirectives
# [interaction.identity.preroll]
#
# \setupinteraction
# [title={a, b, c},
# subtitle={a, b, c},
# author={a, b, c},
# keyword={a\comma\ b\comma\ c},
# ]
#
# \starttext
# \null
# \stoptext
#
# BTW, I’m faking the character with an opening single comma (such as the
# one used in German [and probably other languages 😅]).
#
# I don’t know how to insert the actual comma there, since it gets
# replaced when using the command.
#
# Just in case it might help,
#
# Pablo
# --
# http://www.ousia.tk
# ___________________________________________________________________________________
# If your question is of interest to others as well, please add an entry to the Wiki!
#
# maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
# webpage : http://www.pragma-ade.nl / http://context.aanhet.net
# archive : https://bitbucket.org/phg/context-mirror/commits/
# wiki : http://contextgarden.net
# ___________________________________________________________________________________
Tomáš Hála
--------------------------------------------------------------------
Mendelova univerzita, Provozně ekonomická fakulta, ústav informatiky
Zemědělská 1, CZ-613 00 Brno, tel. +420 545 13 22 28
--------------------------------------------------------------------
http://akela.mendelu.cz/~thala
More information about the ntg-context
mailing list