Skip to content

Commit

Permalink
fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
Khemarato Bhikkhu committed Aug 3, 2024
1 parent e51de4a commit 12f7643
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: "The Legibility of Serif and Sans Serif Typefaces"
authors:
- "John T. E. Richardson"
external_url: "https://doi.org/10.1007/978-3-030-90984-0"
drive_links:
- "https://drive.google.com/file/d/1umVu3NtZa-vwzVAqEfCA5ZN1yK184X4w/view?usp=drivesdk"
- "https://drive.google.com/file/d/156j1jbfXh2XUL2CVzaeAe2pdFjXWW1qv/view?usp=drivesdk"
tags:
- graphic-design
- typography
year: 2022
olid: OL35866465M
pages: 132
publisher: "Springer Nature"
address: "Netherlands"
openalexid: W4293192437
---

> There is no difference in the legibility of serif and sans serif typefaces either when reading from paper or when reading from screens.
Designers should feel free to use either a serif or a sans serif font, "even if legibility is a key criterion in their choice."
4 changes: 4 additions & 0 deletions _data/drive_folders.json
Original file line number Diff line number Diff line change
Expand Up @@ -1483,6 +1483,10 @@
"private": "https://drive.google.com/drive/folders/159o1bq04DRMMbF4vLuIjz2r47xrSpsqK",
"public": "https://drive.google.com/drive/folders/1L7kkMipRUwgQIlb3Jorwao5pPz__qZPs"
},
"stats": {
"private": "https://drive.google.com/drive/folders/1xguUvm40c-Nz91tfExVsNehsu1-5bCsd",
"public": null
},
"surveillance": {
"private": "https://drive.google.com/drive/folders/1wl9WN4S1nQOMLtFsSCtGksVEpQll9h2K",
"public": ""
Expand Down
6 changes: 5 additions & 1 deletion scripts/openaleximporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,12 @@ def make_library_entry_for_work(work, draft=False, course=None, glink='') -> str
pass
filename += '.md'
file_path = os.path.join(file_path, filename)
title = title.replace('"', '\\\"')
with open(file_path, 'w') as fd:
fd.write(f"---\ntitle: \"{title.replace('"', '\\\"')}\"\nauthors:\n")
fd.write(f"""---
title: "{title}"
authors:
""")
for i in range(min(4, len(work['authorships']))):
author = work['authorships'][i]['author']['display_name'].replace('‐', '-')
aslug = get_author_slug(author)
Expand Down

0 comments on commit 12f7643

Please sign in to comment.