I will always do my best to fulfill your needs and meet your expectations, but it's important to have things written down so that we both know what's what, who should do what and when, and what will happen if something goes wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%!TEX TS-program = xelatex | |
\documentclass[12pt]{scrartcl} | |
% The declaration of the document class: | |
% The second line here, i.e. | |
% \documentclass[12pt]{scrartcl} | |
% is a standard LaTeX document class declaration: | |
% we say what kind of document we are making in curly brackets, | |
% and specify any options in square brackets. |
- Copy-paste to split book into separate chapter files (also see split.sh)
- Add non-breaking space in range of numbers
- Fix inline spans broken by a space after a word before the closing
*
- Remove image width and height inherited from images in docx
- Wrap all images in an Electric Book figure blockquote
- Simplify indentation in lists by reducing space after list marker to one space
- [Remove non-kramdown markdown
^
around superscripts after numbers](#remove-non-kramdown-markdown--around-superscripts-a
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv | |
def generate_bibtex_key(authors, year): | |
"""Generate a BibTeX key from the first author's last name and the year""" | |
last_names = authors.split(",")[0].split() | |
last_name = last_names[-1] if len(last_names) > 0 else "" | |
return f"{last_name.lower()}{year}" | |
def convert_csv_to_bibtex(csv_file, bibtex_file): | |
"""Convert a CSV file to BibTeX format""" |
OlderNewer