CSL code to bibtex citations styles?
Mike Marchywka
marchywka at hotmail.com
Sun Jun 12 14:53:35 CEST 2022
On Sun, Jun 12, 2022 at 08:30:18PM +0800, Zeping Lee wrote:
> 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
Thanks. I wrote my own c++ code to read the aux file along with the
bib files the target document searched and output a bbl file. I guess
in theory I could also parse a CSL file and impplement
arbitrary logic to generate a bbl file from at least part of
the CSL spec. I expected to need good flexibility for a
bill-of-materials "bibliography" but have not gotten far on this yet.
>
> 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: [mailto:zepinglee at gmail.com]zepinglee at gmail.com
>
> On Jun 12, 2022, at 19:38, Mike Marchywka <[mailto:marchywka at hotmail.com]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:]https://tex.stackexchange.com/questions/434946/citation-style-language-vs-biblatex-vs-possibly-other-citing-syste
> ms]https:
> //[http://tex.stackexchange.com/questions/434946/citation-style-language-vs-biblatex-vs-possibly-other-citing-systems]
> 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]mailto:marchywka at hotmail.com][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.cit
> ation]https://editor.citationstyles.org/styleInfo/?styleId=http%3A%2F%2Fwww.zotero.org%2Fstyles%2Fapa]https://editor.cit
> ation
> [http://styles.org/styleInfo/?styleId=http%3A%2F%2Fwww.zotero.org%2Fstyles%2Fapa]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]mailto:marchywka at hotmail.com][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
> [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
More information about the texhax
mailing list.