Comments (5)
Like the CSL people, I'd say this is out of scope.
Note that if you store your references in the metadata of a pandoc markdown document, you could use a pandoc filter to modify some of the metadata fields (e.g. publisher-place
). Or, if you use a separate bibliography, you could use pandoc + a lua filter to create a new bibliography with modified fields.
from citeproc.
Thanks for the quick reply. I store my references in a separate YAML file. I see I can access references and their fields with pandoc.utils.references(doc)
.
Do filters have any access to csl data? That way I could store localization data inside the csl xml ie:
<locale xml:lang="sl">
<terms>
<term name="Rome">Rim</term>
</terms>
</locale>
from citeproc.
Do filters have any access to csl data?
No. (Though you can always use a Lua xml library and parse the csl yourself.)
from citeproc.
from citeproc.
You can also set these variables in a YAML file and pass it along with your input files on the command line:
…
--- localized-terms: - en: Rome la: Roma de: Röm - en: London la: Londinium de: London --- So you will be able to access them directly in the Metadata table.
Thanks! Maybe I'll do that, I think pandoc-quotes.lua also does something similar for translating typographic quotemarks. (Although it would be nice to have both placenames and quotemarks localization data contained within the csl file.)
from citeproc.
Related Issues (20)
- How could citeproc support CSL-M layout? HOT 40
- `link-bibliography` option does not hyperlink references without URLs in notes HOT 6
- Error in latex generation of portuguese quotes in CSLReferences field HOT 15
- Installing the executable HOT 2
- [Help] Author only citations BibTex HOT 1
- Incorrect sorting of bibliography HOT 12
- Stopword capitalized after abbreviation HOT 6
- Use citeproc for style development HOT 11
- Support for link/color only the year in the citations HOT 1
- Can I replace the citation key with bibliography? HOT 3
- Author-in-text citations render as superscript HOT 3
- Add support for semantic markup in bibliographies HOT 3
- Disambiguation error HOT 4
- `Undefined Control Sequence \citeproctext` in custom pandoc template HOT 2
- Short DOI prefix in citations HOT 11
- Custom Field in CSLJson silently dropped HOT 1
- Space and suffix gobbled in note field with LaTeX codes
- Custom template: How to place CSLReferences at a different part of a document? HOT 2
- Non-dropping-particles in authors' family names render differently than what's configured in CSL HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from citeproc.