Commit 0b6780b0 authored by Thomas Wood's avatar Thomas Wood

Begin attempt to fix bibtex filtering on names containing unicode

parent b1ca440d
Pipeline #29966 failed with stage
in 20 seconds
......@@ -12,8 +12,9 @@ menu: false
</div>
</header>
{% assign bibtex_name = page.bibtex_name | replace:"\","\\" %}
{% comment %} Test that we have main content to show {% endcomment %}
{% capture bibliography %}{% bibliography -q @*[author ~= {{ page.lastname }}] %}{% endcapture %}
{% capture bibliography %}{% bibliography -q @*[author ~= ({{ page.lastname }}) | ({{ bibtex_name }})] %}{% endcapture %}
{% assign test_bib = bibliography | strip_html | strip_newlines %}
{% assign test = test_bib | append: content | strip_html | strip_newlines %}
{% if test == "" %}{% assign card-col-class = " col-md-offset-4" %}{% endif %}
......
---
firstname: Daiva
lastname: Naudžiūnienė
bibtex_name: "Naud\\v{z}i\\={u}nien\\.{e}"
position: PhD Student
webpage: http://www.doc.ic.ac.uk/~dn911/
email: d.naudziuniene11@imperial.ac.uk
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment