On Feb 19, 2012, at 20:34, Marshall Feldman wrote:
> I've been making some progress in writing templates for BibDesk. In the list
> of template files (BibDesk > Preferences > Templates) I added three templates
> that Fletcher Penny developed and describes on this page:
> http://groups.google.com/group/multimarkdown/browse_thread/thread/0c9937c17906a8b1/6f633137107832fa.
>
> I then copied and edited the first of them (MMDExportTemplate.txt). I simply
> changed:
> <$publications>
> [#<$citeKey/>][]</$publications>
> to
> <$publications>
> <!--\citep{<$citeKey/>}--></$publications
> The goal here is to create a template that (in Fletcher's excellent
> MultiMarkdown software) will escape natbib citations so they are passed to
> LaTeX without MultiMarkdown changing them. MultiMarkdown does not process
> anything that appears as a HTML comment, so LaTeX will see the above citation
> as \citep{foo}, assuming "foo" is the value of $citeKey.
>
> So far, so good. But I also want an identical template that uses \citet
> instead. I can certainly write it and bring it into BibDesk. But it doesn't
> appear on the Copying and Dragging submenu's Template drop-downs.
>
Templates should occur in the various menus. I don't know why they would not be
there for you.
> I suspect this has something to do with its Role in the list of template
> files.
What role are you using? In the Template preferences they should basically the
file extension for the templates themselves, and some custom role appropriate
for the file (like Main Page) for the files.
> The list (and the template feature) seems designed for major exports of
> entire bibliographies, but my application is for simple individual citations.
That is not relevant. It could be anything.
> I bet if I created an entirely new template name and added the \citet file
> under it, things would work the way I want. But it would be nice to be able
> to organize all the minor variations of citation drag-and-drop templates
> under one heading. Is there any way to do this?
No, you cannot further organize them in the menu, except for just ordering them.
> BibDesk seems to recognize this with its Cite Drawer. The documentation
> (http://bibdesk.sourceforge.net/manual/BibDesk%20Help_53.html#SEC103) alludes
> to "custom citation strings," but it doesn't explain how to create, copy, or
> edit them. Is there a way to do so?
>
> Thanks.
The Cite Drawer is something different and parallel to the template system, it
is basically a historic remnant from before there were templates. You can add
strings by just editing in that table, adding and removing items using the
buttons, quite standard.
Christiaan
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users