Skip to content
Snippets Groups Projects
Unverified Commit b6d826fe authored by BibBot's avatar BibBot
Browse files

Add mendeley output

parent 41f261ab
No related branches found
Tags build-master-2018-11-21-69
No related merge requests found
...@@ -29,6 +29,7 @@ deploy: ...@@ -29,6 +29,7 @@ deploy:
file: file:
- main.pdf - main.pdf
- gipp.bib - gipp.bib
- mendeley.bib
- publist.html - publist.html
on: on:
repo: ag-gipp/bib repo: ag-gipp/bib
......
<?xml version="1.0" encoding="UTF-8"?>
<config>
<output_fieldcase>lower</output_fieldcase>
<output_indent>2</output_indent>
<output_align>true</output_align>
<output_file>mendely.bib</output_file>
<output_encoding>utf-8</output_encoding>
<fixinits>1</fixinits>
<tool>1</tool>
<sourcemap>
<maps datatype="bibtex" level="user">
<map map_overwrite="1">
<map_step map_field_set="SHORTTITLE" map_field_null="1"/>
<map_step map_field_set="maintitle" map_field_null="1"/>
<map_step map_field_set="abstract" map_field_null="1"/>
<map_step map_field_set="file" map_field_null="1"/>
</map>
<map map_overwrite="1">
<!-- remove month and day if set-->
<map_step map_field_source="date" map_match="(\d{4}).*" map_replace="$1"/>
</map>
<!-- if you find { or } in the xml output add the field names to the list below -->
<map map_overwrite="1" map_foreach="author,editor,translator,title,publisher,series,journaltitle,howpublished,booktitle,note">
<map_step map_field_source="$MAPLOOP" map_match="[\{\}]" map_replace=""/>
<map_step map_field_source="$MAPLOOP" map_match="\\(href|url)" map_replace=""/>
<map_step map_field_source="$MAPLOOP" map_match="\\&amp;" map_replace="&amp;"/>
</map>
<map map_overwrite="1">
<map_step map_field_source="doi" map_match="http(s)?://dx.doi.org/" map_replace=""/>
</map>
<map map_overwrite="0">
<map_step map_field_source="publisher"/>
<map_step map_field_set="booktitle" map_origfieldval="1"/>
</map>
<map map_overwrite="0">
<map_step map_field_source="journaltitle"/>
<map_step map_field_set="booktitle" map_origfieldval="1"/>
</map>
<map map_overwrite="0">
<map_step map_field_source="institution"/>
<map_step map_field_set="booktitle" map_origfieldval="1"/>
<map_step map_field_source="type"/>
<map_step map_field_set="booktitle" map_append="1" map_origfieldval="1" />
</map>
</maps>
</sourcemap>
<sortingtemplate name="tool">
<sort order="1" sort_direction="descending">
<sortitem order="1" >year</sortitem>
</sort>
</sortingtemplate>
</config>
#!/usr/bin/env bash #!/usr/bin/env bash
biber --tool --configfile=src/biber/reformat.xml gipp.bib --validate-datamodel biber --tool --configfile=src/biber/reformat.xml gipp.bib --validate-datamodel
biber --tool --configfile=src/biber/mendeley.xml gipp.bib
diff -w gipp.bib gipp_bibertool.bib || support/commitUp.sh diff -w gipp.bib gipp_bibertool.bib || support/commitUp.sh
cd src/tex cd src/tex
latexmk latexmk
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment