Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement TeX-like token parsing in values to interpret TeX control sequences #1

Open
MarkusLeupold opened this issue Jan 3, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@MarkusLeupold
Copy link
Owner

MarkusLeupold commented Jan 3, 2021

BibTeX's natural environment is TeX, and because of that, the values of a BibTeX database are very likely to contain TeX control sequences. Simple examples would be:

  • \"o for the o umlaut
  • \bf for bold font text
  • ,, for german opening quote marks (U+201E)

It's clear, that these control sequences or active characters should be expanded when the user sees the end result. The question is, when the expansion should actually be done. There are three possibilities:

  1. During parsing of the database to the internal data structure of the BibTeX library. This means, that the BibTeX library must implement formatting information inside the values.
  2. During output of the database as XML. Then the XML document type (DTT or XSD) must define a format to describe formatting information.
  3. During XSL Transformation of the BibXML file to the HTML website. The XSLT then has to do some string parsing.
@MarkusLeupold MarkusLeupold added the enhancement New feature or request label Jan 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant