Skip to content

unknown macro \rq (apostrophe) #14

Description

@pierre-haessig

I have trouble processing a BibTex file which contains {\rq} macro instead of plain text apostrophes. I believe those macros are inserted automatically by kbibtex, because when I look at the "source view" of kbibtex, these \rq are not visible but replaced by the actual character ’ ("right single quotation mark", which is the same as apostrophe).

bibtex2html outputs the warning message Unknown macro: \rq and this macro is erased in output html file.

I believe the expected behavior would be to replace{\rq} by the html entity ’ (cf. https://en.wikipedia.org/wiki/Apostrophe#Entering_apostrophes)

Example:

@inbook{Multon:2013:TIBE8100,
author = "Multon, Bernard and Aubry, Judica{\"e}l and Haessig, Pierre and {Ben Ahmed}, Hamid",
booktitle = "{Technique de l{\rq}Ing{\'e}nieur}",
month = apr,
pages = "BE8100",
title = "{Syst{\`e}mes de stockage d{\rq}{\'e}nergie {\'e}lectrique}",
year = "2013"

}

This yields a title in html "Systèmes de stockage dénergie électrique" (instead of "...d’énergie...")

versions: I'm using bibtex2html version 1.98, compiled on Thu Oct 27 07:47:01 UTC 2016 from Debian stretch, which is calling BibTeX, Version 0.99d (TeX Live 2016/Debian).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions