-
Notifications
You must be signed in to change notification settings - Fork 24
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
Use dplR::latexify to translate names to latex #109
base: master
Are you sure you want to change the base?
Conversation
mwmclean
commented
Sep 25, 2024
- Switch from tools::encoded_text_to_latex to dplR::latexify in
- toBiblatex and toBibtex to fix translation of accented i characters to latex
- Fixes RefManageR::ReadBib and RefManageR::WriteBib changes Ois{\'i}n to Ois{\a'\i}n #102, toBiblatex can't handle CJK author names #106
* tools::encoded_text_to_latex(text, UTF-8) can fail when text contains Japanese characters, replacing valid text with questions marks * Add escape hatch to return origin/unformatted/unescaped text if this occurs * Closes #106
* Add argument encoded.names.to.latex to toBibTeX and toBibLaTeX to toggle whether tools::encoded_text_to_latex is called on name list fields * Closes #105
* See toBibtex.person, braces seem necessary if no family name is detected * Addresses #106
Writing BibLatex to file then reading it gets errors. This is with #109.
Results:
|
Signed-off-by: Mathew W. McLean <[email protected]>
Signed-off-by: Mathew W. McLean <[email protected]>
* When use.metadata is FALSE, pdfinfo will now still be called to determine number of pages in the document * This avoids a message from pdftotext in the case of 1-page PDFs Signed-off-by: Mathew W. McLean <[email protected]>
Signed-off-by: Mathew W. McLean <[email protected]>
Signed-off-by: Mathew W. McLean <[email protected]>
Signed-off-by: Mathew W. McLean <[email protected]>
Here is an example from biblatexExamples.bib using #109:
|
Note that this affects corporate authors enclosed in braces.
|
* dplR::latexify escapes braces and adds tildes for whitespace when this is not desirable for biblatex/bibtex * Hence include modified copy of latexify in the package and add dplR maintainer as contributor in DESCRIPTION
@kijinosu thanks for your report. Addressed by my last commit if you'd like to pull and reinstall. |
Signed-off-by: Mathew W. McLean <[email protected]>
Note that this affects corporate authors enclosed in braces.
This works very nicely. Thank you for working on it. |