[GRASS-SVN] r73345 - sandbox/wenzeslaus/g.citation
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Sep 16 08:10:44 PDT 2018
Author: wenzeslaus
Date: 2018-09-16 08:10:44 -0700 (Sun, 16 Sep 2018)
New Revision: 73345
Modified:
sandbox/wenzeslaus/g.citation/g.citation.py
Log:
g.citation: preserve case of GRASS GIS and module name in BibTeX
Modified: sandbox/wenzeslaus/g.citation/g.citation.py
===================================================================
--- sandbox/wenzeslaus/g.citation/g.citation.py 2018-09-16 15:09:08 UTC (rev 73344)
+++ sandbox/wenzeslaus/g.citation/g.citation.py 2018-09-16 15:10:44 UTC (rev 73345)
@@ -604,7 +604,7 @@
entry_type = "misc"
print("@", entry_type, "{", citation['module'], ",", sep="")
- print(" title = {", "GRASS GIS: ", citation['module'], " module},", sep="")
+ print(" title = {{", "GRASS GIS: ", citation['module'], " module}},", sep="")
author_names = [author['name'] for author in citation['authors']]
print(" author = {", " and ".join(author_names), "},", sep="")
More information about the grass-commit
mailing list