8000 GitHub - ekadofong/CompactBib: A workaround to get a very compact • separated Latex bibliography
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A workaround to get a very compact • separated Latex bibliography

License

Notifications You must be signed in to change notification settings

ekadofong/CompactBib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CompactBib

A workaround to get a very compact • separated Latex bibliography. Latex wizardry framework for the pseudobib.tex file found here: https://tex.stackexchange.com/questions/165000/condense-non-numbered-bibliography-into-one-line

Usage: This requires the python package bibtexparser. Like compiling a normal bibtex file, you first add the citations to both the .tex and .bib files. Then, run

python3 bib_to_pseudobib.py mwe.tex mwe.bib

This will generate pseudobib.tex. Now, instead of calling \bibliography{mwe.bib}, we call \input{pseudobib}. Your tex file should now compile with the bibliography as normal (compile twice as usual to link the \cite commands to the updated bibliography)!

Note: If bib_to_pseudobib.py runs in an error that involves the journal_mapping dictionary, it is likely due to a bibtex entry with a journal field not covered by that dictionary. You may solve that by adding manually the appropriate item to that dictionary definition in bib_to_pseudobib.py.

About

A workaround to get a very compact • separated Latex bibliography

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0