-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Giant orcid logos in docx output #437
Comments
The issue is that these are svg images and docx readers (especially older versions of Word) do not have great svg support. There is some historical discussion of that in #40. This is a general pandoc issue, and there was an update within the past week to improve svg docx support jgm/pandoc#4058. I tested your manuscript. Word 2016 on Windows doesn't render the svg images at all: Some users have modified |
This can be fixed on the rootstock side by manually defining the size of the SVG images in diff --git a/content/00.front-matter.md b/content/00.front-matter.md
index 2f01ad2..a9c1b5c 100644
--- a/content/00.front-matter.md
+++ b/content/00.front-matter.md
@@ -25,15 +25,15 @@ on {{manubot.date}}.
{% for author in manubot.authors %}
+ **{{author.name}}**<br>
{%- if author.orcid is defined and author.orcid is not none %}
- {.inline_icon}
+ {.inline_icon width=16 height=16}
[{{author.orcid}}](https://orcid.org/{{author.orcid}})
{%- endif %}
{%- if author.github is defined and author.github is not none %}
- · {.inline_icon}
+ · {.inline_icon width=16 height=16}
[{{author.github}}](https://github.com/{{author.github}})
{%- endif %}
{%- if author.twitter is defined and author.twitter is not none %}
- · {.inline_icon}
+ · {.inline_icon width=16 height=16}
[{{author.twitter}}](https://twitter.com/{{author.twitter}})
{%- endif %}<br>
<small> @agitter Do you think the workaround is benign enough to merge in to rootstock? |
We used to include @vincerubinetti did you want to weight in? Do you know whether these logos should be |
Either is fine. |
@twrightsman do you want to make a PR to rootstock with this change? |
My docx output has giant orcid logos in it. I do not have this problem in the html or pdf output.

The text was updated successfully, but these errors were encountered: