Skip to content
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

New Scholia URL #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion home/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ <h3 id="filter-pwcite">Filter pwcite</h3>
<p>If multiple bibliography files are specified then all are used for referencing but only the first file with extension <code>.json</code> is to store records fetched from Wikidata. This way it is possible to get some references from Wikidata and use other sources as well for instance BibTeX files.</p>
<p>Pandoc option <code>--bibliography</code> overrides an existing metadata field and automatically enables filter <code>pandoc-citeproc</code> but in this case the file must exist in advance.</p>
<h2 id="linking-bibliography-entries-to-wikidata">Linking bibliography entries to Wikidata</h2>
<p>Each bibliography entry in HTML format includes the Wikidata item identifier in its <code>id</code> attribute (e.g. <code>&lt;div id="ref-Q55239420"&gt;...</code>). This identifier can be used to add a link to the corresponding Wikidata item or to other services such as <a href="https://tools.wmflabs.org/scholia/">Scholia</a>. The filter <a href="#filter-pwcite">pwcite</a> can inject snippets of JavaScript and CSS to add links from bibliography entries to Wikidata. To to do set document metadata field <code>link-wikidata-references</code> to <code>true</code> or to an URL prefix (e.g. <code>https://tools.wmflabs.org/scholia/work/</code>). This feature is based on Pandoc metadata variable <code>include-after</code>, so don’t set it via Pandoc command line option <code>-A/--include-after-body</code> and don’t remove the variable in custom HTML templates!</p>
<p>Each bibliography entry in HTML format includes the Wikidata item identifier in its <code>id</code> attribute (e.g. <code>&lt;div id="ref-Q55239420"&gt;...</code>). This identifier can be used to add a link to the corresponding Wikidata item or to other services such as <a href="https://scholia.toolforge.org/">Scholia</a>. The filter <a href="#filter-pwcite">pwcite</a> can inject snippets of JavaScript and CSS to add links from bibliography entries to Wikidata. To to do set document metadata field <code>link-wikidata-references</code> to <code>true</code> or to an URL prefix (e.g. <code>https://tools.wmflabs.org/scholia/work/</code>). This feature is based on Pandoc metadata variable <code>include-after</code>, so don’t set it via Pandoc command line option <code>-A/--include-after-body</code> and don’t remove the variable in custom HTML templates!</p>
<h2 id="bibliography-files">Bibliography files</h2>
<p>Bibliographic records fetched from Wikidata should be stored locally for several reasons:</p>
<ul>
Expand Down