Skip to content

Commit

Permalink
Merge pull request #258 from sbillinge/remove_offending_latex_safe
Browse files Browse the repository at this point in the history
remove that offending latex_safe
  • Loading branch information
scopatz authored Jul 28, 2019
2 parents a6b1ee7 + 9fe5a9a commit 9a43173
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
13 changes: 13 additions & 0 deletions news/remove_offending_latex_safe.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
**Added:** None

**Changed:** None

**Deprecated:** None

**Removed:** None

**Fixed:**

* Don't want to use latex_safe when we need the latex formatting

**Security:** None
1 change: 0 additions & 1 deletion regolith/builders/publistbuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ def make_bibtex_file(self, pubs, pid, person_dir="."):
for key in ent.keys():
if key in skip_keys:
continue
ent[key] = latex_safe(ent[key])
ents.append(ent)
fname = os.path.join(person_dir, pid) + ".bib"
with open(fname, "w", encoding='utf-8') as f:
Expand Down
4 changes: 2 additions & 2 deletions regolith/templates/publist.tex
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
% Hyperlink setup
\hypersetup{
colorlinks=true, % false: boxed links; true: colored links
linkcolor=red, % color of internal links
linkcolor=SteelBlue, % color of internal links
citecolor=green, % color of links to bibliography
filecolor=magenta, % color of file links
urlcolor=red % color of external links
urlcolor=SteelBlue % color of external links
}

%-----------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions tests/outputs/publist/scopatz.tex
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
% Hyperlink setup
\hypersetup{
colorlinks=true, % false: boxed links; true: colored links
linkcolor=red, % color of internal links
linkcolor=SteelBlue, % color of internal links
citecolor=green, % color of links to bibliography
filecolor=magenta, % color of file links
urlcolor=red % color of external links
urlcolor=SteelBlue % color of external links
}

%-----------------------------------------------------------
Expand Down

0 comments on commit 9a43173

Please sign in to comment.