On 26 May 2008, at 12:19 PM, Timothy Roes wrote:

> Dear all,
>
> I read the manual but still don't get what the difference is between
> using Templates and using Styles. I read Styles are really hard to
> develop, so I was wondering how to accomplish the following:
>

This has been answered by Simon.

> As a law student, I use LaTeX (TeXShop editor for Mac) and have to add
> a lot of footnotes for case law, articles and books. Each of these
> classes have different official referencing rules, always depending on
> whether it's a footnote or a reference in the bibliography.
>
> Uptill now, I made several templates in which I incorporated the
> \footnote{} command. In BibDesk I used the "Copy using [Template]"
> submenu and then pasted that in TeXShop.
>
> Two questions:
> - Can this be done easier? Is it possible that I type \cite{key} in my
> LaTeX editor and that LaTeX then automatically generates a footnote
> and a reference in the bibliography, using a different template
> depending on whether it's an article, a book,...
>

On Leopard any automatic completion is the responsibility of the  
editor. BibDesk offers services (in the Services submenu of any app's  
main menu) to complete a latex citation or bibliography, which uses  
(customizable) templates. For the rest, BibDesk has no (officially  
supported) way to offer auto-completion.

On Tiger, BibDesk provided an input manager to support completion of  
\cite commands (in Cocoa editors). This is still included in the  
BibDesk bundle, but installing it on Leopard is much harder, and must  
be done by hand.

AFAIK, TeXShop does not currently offer \cite autocompletion, but may  
do so in the future.

> - In BibDesk, there's a Preview function which is very handy. Is there
> a way I can make the TeX preview be generated following the same
> templates? This would mean BibDesk used another template depending on
> the class of the source (article, book,...).

That makes no sense. The point of the TeX preview is that it generates  
a preview using TeX. If you want a preview generated using a template,  
you should use the preview that's generated using a template (in the  
bottom or side pane of the main window). These are separate and  
different features, and both are fully supported.

In general, the templating system supports the use of different  
templates for different types. You can see that from the template  
editor, and from the Template preferences (in particular, see the RTF  
Service template).

Christiaan




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users

Reply via email to