CSL code to bibtex citations styles?
Zeping Lee
zepinglee at icloud.com
Sun Jun 12 14:30:18 CEST 2022
In practical it’s impossible to convert a CSL style to BibTeX (.bst) style.
The bst language doesn’t provide enough features to implement CSL’s
complex specifications. For example, there are no data types like list or
hash map so it’s difficult to disambiguate names as required by CSL.
If you want to use CSL with LaTeX, you may consider
https://ctan.org/pkg/citation-style-language <https://ctan.org/pkg/citation-style-language>. I started this package not
long ago and some CSL features are not implemented yet.
Zeping Lee
Beijing, China
E-mail: zepinglee at gmail.com <mailto:zepinglee at gmail.com>
> On Jun 12, 2022, at 19:38, Mike Marchywka <marchywka at hotmail.com> wrote:
>
> On Sun, Jun 12, 2022 at 11:56:13AM +0100, David Carlisle wrote:
>> see for example a discussion of biblatex v csl at
>> [https://tex.stackexchange.com/questions/434946/citation-style-language-vs-biblatex-vs-possibly-other-citing-systems]https:
>> //tex.stackexchange.com/questions/434946/citation-style-language-vs-biblatex-vs-possibly-other-citing-systems
>
> Thanks,
> I guess the excerpt from your link is pretty close,
> but AFAICT it sounds like you should be
> able to generate a bst file from the CSL ? So I guess the specific
> question still remains, " can you generate a bst file from the CSL?"
>
> \begin{quote}
>
> I'm the creator of CSL, which I originally created for very simple reasons:
>
> While I used LaTeX, I work in a field which requires Word-compatible files; LaTeX not accepted.
> I saw no reason why such styling needed to be tightly-coupled to the output format. So my prototype XSLT implementation had output drivers for LaTeX (bypassing BibTeX), HTML, and RTF, IIRC. I found that worked pretty well and so was a proof-of-concept (I used it to format my first book), and has since remained a priority.
> One additional advantage of that output flexibility is a much larger potential user base for CSL styles, which in turn can lead to many more supported styles.
>
> I have a lot of respect for biblatex though; it's a great solution if you can work exclusively in LaTeX.
>
> But you probably want to use CSL if you need non-LaTeX output targets.
>
> \end{quote}
>
>
>
>
>>
>> On Sun, 12 Jun 2022 at 11:39, Mike Marchywka <[mailto:marchywka at hotmail.com]marchywka at hotmail.com> wrote:
>>
>> I was browsing the Zotero webforum, still nothing I have submitted
>> as a post or reply has been published lol, and
>> ran into this site that apparently creates xml descriptions
>> of citation formats. For example,
>> [https://editor.citationstyles.org/styleInfo/?styleId=http%3A%2F%2Fwww.zotero.org%2Fstyles%2Fapa]https://editor.citation
>> styles.org/styleInfo/?styleId=http%3A%2F%2Fwww.zotero.org%2Fstyles%2Fapa
>> IS there some utility to translate this stuff into bibtex
>> or is that some other descrption language commonly used?
>> I was still playing around with generalized bibliographies,
>> adaptation to "bill of materials" and it seems languages
>> like this may be useful.
>> I've noticed with TooBib many places are making it harder to
>> download webpages with wget and reliance on headless
>> chrome, I have made a utility called Chromate, seems important
>> now. Any other automated tools running into problems?
>> Still have not gotten the Zotero web form to work with any
>> pdf file however...
>> Thanks.
>> --
>> mike marchywka
>> 306 charles cox
>> canton GA 30115
>> USA, Earth
>> [mailto:marchywka at hotmail.com]marchywka at hotmail.com
>> 404-788-1216
>> ORCID: 0000-0001-9237-455X
>
> --
>
> mike marchywka
> 306 charles cox
> canton GA 30115
> USA, Earth
> marchywka at hotmail.com
> 404-788-1216
> ORCID: 0000-0001-9237-455X
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/texhax/attachments/20220612/05adc1af/attachment.html>
More information about the texhax
mailing list.