Skip to content

Bibliography issue #491

@antaldaniel

Description

@antaldaniel

I had a problem with my .bib files that were working fine for months in the same bookdown project, and eventually started to throw an error (same Windows 10 platform.) While not strictly a bookdown issue, I think it merits a table or a few words in the documentation and maybe a warning somewhere.

This is BibTeX, Version 0.99d (MiKTeX 2.9.6500 64-bit) The top-level auxiliary file: bookdown-demo.aux The style file: apalike.bst White space in argument---line 35 of file bookdown-demo.aux : \bibdata{book,packages,music\protect : \TU\textunderscore report3} I'm skipping whatever remains of this command

In this case, the music_report3.bib file worked fine with the whole workflow, from RStudio via RMarkDown, knitr, pandoc, MiKTeX until some updates, when the underscore somehow inserted a whitespace somewhere. I was introduced to LaTeX by the fantastic bookdown package, but not being familiar with these workflow elements, it took me a lot of time to find out about this. I had been using this project for months without problem. Now renaming this file to musicreport3.bib solved the problem. In hindsight it is trivial, but after it had been working...

However, this is not the only issue. Certain characters, such as the normal-hyphen caused problems with chunks, and references.

I think it would be a good idea to somewhere summarize (and add warnings) to avoidable characters in chunks, refs, file names. My experience shows, that at least on windows, anything that goes beyond the ASCII latin alphabet and digits is a danger zone somewhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions