Comments (9)
That sounds good to me as long as it doesn't break anything. There are no examples of keywords that contain ";" characters?
from biblatex-csl-converter.
I haven't seen any, but the keywords
field has no formal format. AAMOF I have one test case where someone had commas in the keywords (for chemical elements IIRC -- I'll find it soon enough) and who wanted to separate on <comma><space>
, but not <comma>
. I don't remember how I handled that (probably a postscript); the keywords field is the wild west of bibtex.
from biblatex-csl-converter.
To accept commas and semi-colons, this line should be changed to:
oFields[fKey] = fValue.split(/[,;]/g).map((string)=>{return string.trim()})
biblatex-csl-converter/src/import/biblatex.js
Line 487 in f1b4949
Having commas not work as separators and have spaces make a difference seems to go against the definition used in biblatex:
A separated list of keywords. These keywords are intended for the bibliographyfilters (see §§3.7.2and 3.12.4), they are usually not printed. Note that with the defaultseparator (comma), spaces around the separator are ignored.
page 27, http://tug.ctan.org/macros/latex/exptl/biblatex/doc/biblatex.pdf
from biblatex-csl-converter.
I'm not advocating for the comma-space thing, I was just describing the odd stuff you could find there 😄
from biblatex-csl-converter.
Ok, try with the line I mentioned above. If that works for your test files, feel free to update and merge it.
from biblatex-csl-converter.
How do releases work BTW?
from biblatex-csl-converter.
I done gone broke the tests.
from biblatex-csl-converter.
I forgot. I think we may have set it up to autorelease via travis if the tests go through. I can check it tomorrow if it still hasn't been released. :)
from biblatex-csl-converter.
No problem.
from biblatex-csl-converter.
Related Issues (20)
- <em> in title field HOT 5
- Is {{...}} detectable?
- nocase nesting HOT 2
- BibLatexExporter does not get bibtexStr HOT 2
- How to use CSLExport to get csl-json? HOT 1
- Allow to export unexpected_fields in the BibLatexExporter
- LICENSE: Make MIT/ISC? HOT 12
- ñ as {~n} HOT 5
- Add command line interface? HOT 1
- Export types
- json->bibtex?? HOT 2
- unused fields HOT 1
- Is καί lower case? HOT 9
- @string concatenation ignores relevant whitespace
- open interval dates HOT 4
- package.json pulls in dependencies that (I think) should be devDependencies HOT 8
- travis is not running HOT 2
- Documentation needed HOT 5
- New character mapping: "\v{c}" => "\u01D2" HOT 2
- Preserve entry key during BibTex to CSL conversion 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 biblatex-csl-converter.