<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 25 Mar 2022 at 08:02, Mike Marchywka <<a href="mailto:marchywka@hotmail.com">marchywka@hotmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri, Mar 25, 2022 at 07:40:32AM +0000, David Carlisle wrote:<br>
>    On Fri, 25 Mar 2022 at 00:30, Mike Marchywka <[mailto:<a href="mailto:marchywka@hotmail.com" target="_blank">marchywka@hotmail.com</a>]<a href="mailto:marchywka@hotmail.com" target="_blank">marchywka@hotmail.com</a>> wrote:<br>
> <br>
>      I'm putting together another set of notes and wanted<br>
>      to credit mol2chemfig,<br>
>      [<a href="https://ctan.org/pkg/mol2chemfig%5Dhttps://ctan.org/pkg/mol2chemfig" rel="noreferrer" target="_blank">https://ctan.org/pkg/mol2chemfig]https://ctan.org/pkg/mol2chemfig</a><br>
>      for some of the illustrations. Both TooBib and Zotero<br>
>      just returned basically a title but<br>
>      yet there is authoer and version and date<br>
>      info there and in the PDF documentation file.<br>
>      Is there no interest in making it easy to<br>
>      credit this work by making this machine readable?<br>
> <br>
>    JSON:<br>
>    [<a href="https://ctan.org/json/2.0/pkg/mol2chemfig%5Dhttps://ctan.org/json/2.0/pkg/mol2chemfig" rel="noreferrer" target="_blank">https://ctan.org/json/2.0/pkg/mol2chemfig]https://ctan.org/json/2.0/pkg/mol2chemfig</a><br>
>    XML:<br>
>    [<a href="https://ctan.org/xml/2.0/pkg/mol2chemfig%5Dhttps://ctan.org/xml/2.0/pkg/mol2chemfig" rel="noreferrer" target="_blank">https://ctan.org/xml/2.0/pkg/mol2chemfig]https://ctan.org/xml/2.0/pkg/mol2chemfig</a><br>
>    are probably what you are looking for?<br>
<br>
Thanks, how did you find them ? </blockquote><div><br></div><div>I've been using ctan since before it was called ctan, anyone who uploads packages there is aware that there is a database/catalogue of entries with information about the upload. The public query interface changes over the years (I don't think I have used that json endpoint before:-) but that's just details:-)</div><div><br></div><div>see here for information on the structure returned:</div><div><br></div><div><a href="https://ctan.org/help/json/2.0/pkg">https://ctan.org/help/json/2.0/pkg</a></div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> I did not see any links right away although I <br>
did not search real long. It will take some code to accomodate but<br>
the info looks liek it is there. <br>
<br>
<br>
<br>
>    David<br>
> <br>
>      I have found that besides academic<br>
>      publishers even popular news sites and many<br>
>      commercial sites make it possible to<br>
>      come up with decent bibtex entries<br>
>      using at least TooBib and sometimes Zotero.<br>
>      Isn't this a desirable feature for web<br>
>      pages and manuals or documentation or<br>
>      just about any PDF file?<br>
>      I have proposed my 20 or so line solution<br>
>      for TeX documents and I would<br>
>      imagine most web site templates include<br>
>      stuff like that lets Zotero and<br>
>      TooBib work.<br>
>      What is the real tradeoff here? Just<br>
>      no demand? It just seems like an easy feature<br>
>      to add and would maybe encourage others<br>
>      to make their work easy to credit<br>
>      or condemn :)<br>
>      Just my crusade de jour fwiw.<br>
>      --<br>
>      mike marchywka<br>
>      306 charles cox<br>
>      canton GA 30115<br>
>      USA, Earth<br>
>      [mailto:<a href="mailto:marchywka@hotmail.com" target="_blank">marchywka@hotmail.com</a>]<a href="mailto:marchywka@hotmail.com" target="_blank">marchywka@hotmail.com</a><br>
>      404-788-1216<br>
>      ORCID: 0000-0001-9237-455X<br>
<br>
-- <br>
<br>
mike marchywka<br>
306 charles cox<br>
canton GA 30115<br>
USA, Earth <br>
<a href="mailto:marchywka@hotmail.com" target="_blank">marchywka@hotmail.com</a><br>
404-788-1216<br>
ORCID: 0000-0001-9237-455X<br>
</blockquote></div></div>