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

LaTeX commands in TITLE field (bibtex files) are not preserved when importing #45

Closed
torralbofco opened this issue Aug 23, 2019 · 4 comments
Labels

Comments

@torralbofco
Copy link

torralbofco commented Aug 23, 2019

After importing a bibtex file with the following entry:

@article {MR3750218,
    AUTHOR = {Alarc\'{o}n, Antonio and Forstneri\v{c}, Franc},
     TITLE = {Complete densely embedded complex lines in {$\Bbb C^2$}},
   JOURNAL = {Proc. Amer. Math. Soc.},
  FJOURNAL = {Proceedings of the American Mathematical Society},
    VOLUME = {146},
      YEAR = {2018},
    NUMBER = {3},
     PAGES = {1059--1067},
      ISSN = {0002-9939},
   MRCLASS = {32H02 (32E10 32M17 53C42)},
  MRNUMBER = {3750218},
MRREVIEWER = {Yu Kawakami},
       DOI = {10.1090/proc/13873},
       URL = {https://doi.org/10.1090/proc/13873},
}

I obtained the following markdown file for the publication entry

---
title: "Complete densely embedded complex lines in $Bbb C^2$"
date: 2018-01-01
publishDate: 2019-08-23T19:28:30.647940Z
authors: ["Antonio Alarcón", "Franc Forstnerič"]
publication_types: ["2"]
abstract: ""
featured: false
publication: "*Proc. Amer. Math. Soc.*"
url_pdf: "https://doi.org/10.1090/proc/13873"
doi: "10.1090/proc/13873"
---

Observe how the characters in the authors name are correctly transformed but the backslash character of the LaTeX command \Bbb (for blackboard letter) is missing in the title. This produce a bad formater title.

Compare the two images below. The first one is with "$Bbb C^2$" while the second one is "$\Bbb C^2$" (which is the correct one).

Captura de pantalla 2019-08-23 a las 21 36 26

Captura de pantalla 2019-08-23 a las 21 37 18

The character "\" inside $$ in the title should be doubled instead of removed. See for instance the warning at the end of the Manually managing content in the academic documentation.

@torralbofco torralbofco changed the title LaTeX commands in TITLE filed (bibtex files) are not preserved LaTeX commands in TITLE field (bibtex files) are not preserved when importing Aug 23, 2019
@stale
Copy link

stale bot commented Oct 6, 2019

This issue has been automatically marked as stale because it has not had any recent activity. The resources of the Academic team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.
This issue will automatically close soon if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 6, 2019
@torralbofco
Copy link
Author

I will not mark this as a bug but as a feature request. The title of some mathematical papers includes LaTeX commands (that starts with a backslash ""). The script automatically erases all the backslash inside the fields of a bibtex file when importing it into the Academic theme. As a consequence, the title is not rendered correctly (see my previous picture). For a small references database is easy to fix one by one but for a big one (like the one of a research group) is not.

@stale stale bot removed the stale label Oct 12, 2019
@stale
Copy link

stale bot commented Nov 11, 2019

This issue has been automatically marked as stale because it has not had any recent activity. The resources of the Academic team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.
This issue will automatically close soon if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 11, 2019
@stale stale bot closed this as completed Nov 18, 2019
@pazz
Copy link

pazz commented May 11, 2021

I've just run into this and I agree that this is an issue. Is there any good reason why the backslashes are removed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants