Hi all!
Hoping for an easy, positive answer on this one...
I am trying to write in LaTeX (Sublime Text 3), using biblatex-chicago (notes format) for bibliography formatting. I can scan a file through Bookends and follow all the steps on p. 426 of the Bookends User Guide PDF to get a bibtex file using the \cite{key} command. (Hooray!)
However, for my purposes I would FAR prefer to use \footcite{key} to do this, but it doesn't work (it's also not listed on p. 422 of the guide, so no surprise). I would like to know if there is a way to make the scan pick up references from \footcite{key} to create the list of hits for my bibtex file?
Scanning latex file query- \footcite
Re: Scanning latex file query- \footcite
I don't think so. But maybe someone else has a solution?
Jon
Sonny Software
Jon
Sonny Software
Re: Scanning latex file query- \footcite
Well you could write a script that auto-creates a copy of your manuscript, replacing \footcite{} with \cite{}, and this copy gets scanned by BE to make the BIB file? You main manuscript always retains the correct citation delimiter? Sublime Text has lots of tools to run these kinds of scripts I think.
If you want to get fancy, you can build a script that uses Applescript events to parse the cite keys to uniqueIDs, auto generating a BibTeX file from the uniqueID list. There are at least two scripts that generate BIB files using Applescript, currently they work by exporting a named group:
Simple:
viewtopic.php?f=6&t=4044
Advanced:
viewtopic.php?f=6&t=4246
If BE implemented this wishlist, then your script could create a group for your manuscript in Bookends which always had your manuscript citations, making either manual or auto export possible.
If you want to get fancy, you can build a script that uses Applescript events to parse the cite keys to uniqueIDs, auto generating a BibTeX file from the uniqueID list. There are at least two scripts that generate BIB files using Applescript, currently they work by exporting a named group:
Simple:
viewtopic.php?f=6&t=4044
Advanced:
viewtopic.php?f=6&t=4246
If BE implemented this wishlist, then your script could create a group for your manuscript in Bookends which always had your manuscript citations, making either manual or auto export possible.
-
- Posts: 6
- Joined: Fri Jan 13, 2017 8:58 am
Re: Scanning latex file query- \footcite
Thanks for confirming my suspicions, Jon.
Ian, I will give it a try- so far I've not ventured into applescript but if this does what I want, I'll have learned a lot of new stuff and end up with a workable solution
Thanks for the links!
Ian, I will give it a try- so far I've not ventured into applescript but if this does what I want, I'll have learned a lot of new stuff and end up with a workable solution

Re: Scanning latex file query- \footcite
I'll add it to the list of requested features.tinekedhaeseleer wrote:Thanks for confirming my suspicions, Jon.!
Jon
Sonny Software
Re: Scanning latex file query- \footcite
Wonderful Jon!!! tinekedhaeseleer, when this gets released I'll be writing a script for my needs, and can help you with yours...Jon wrote:Already done.iandol wrote:If BE implemented this wishlist,

-
- Posts: 6
- Joined: Fri Jan 13, 2017 8:58 am
Re: Scanning latex file query- \footcite
Thanks, Jon and Ian!