Hello,
As previouslky annouced, here is My 1st question about TextMate 1.5.2
Watching at LateX video on TextMate site, I saw an interesting functionality : Bibliography completion.
I well know BibDesk, which I use daily. So, I launched BibDesk, opened a .bib file and went back to TextMate (as shown in the video) and nothing happened ?
Did I miss something ?
Thanks for help
Francois
Hi Francois, welcome to the TextMate community! On Aug 24, 2006, at 4:34 PM, Francois wrote:
Hello,
As previouslky annouced, here is My 1st question about TextMate 1.5.2
Watching at LateX video on TextMate site, I saw an interesting functionality : Bibliography completion.
I well know BibDesk, which I use daily. So, I launched BibDesk, opened a .bib file and went back to TextMate (as shown in the video) and nothing happened ?
The way it works now is that it does not directly use BibDesk, but rather what I will now describe. It rather bases itself directly on the .bib file that BibDesk allows you to edit in a nicer way. So here goes:
The way to use a bibliography typically is to have a line like: \bibliography{bib_file_name_here} The completion commands will be searching through the bib files that are linked in the document this way. If you really need completion through only the current open bib file in BibDesk, then we can talk about that, there is a command that does that but we are phasing it out because we didn't think it was necessary.
Now, the way the current built in method works is as follows: Suppose your bib file contains two entries with cite keys Kask1 and Kalk1, and also one with cite key Sam1. Then in the text you would write, say: \cite{Ka At this point, the screen would show \cite{Ka} with the cursor right before the closing brace. Then you would press escape, which would make it look like: \cite{Kalk1}. Pressing escape more times will alternate between Kask1 and Kalk1. Instead you could have pressed opt-esc, which brings you a pop-up of Kask1 and Kalk1, along with a bit more info about them, to choose. You could also have done simply \cite{ and then pressed escape/opt- escape, which would have done all the above except it would now include Sam1, or any other key you might have in your bib file. This all requires that \bibiography{bibfilehere} be in your tex file, and that your tex file has been saved since then.
Another method is to locate the bibliography item you want in BibDesk, and then drag and drop it into the textmate window you want it on, at the location you want. This should work, it might require some customization in BibDesk first.
Let me/us know if you have any problems. Also, since you are new to LaTeX in TextMate, we are in the process of revising the Help file in the LaTeX bundle. Let us know if there are things that are unclear/missing/useful etc.
Thanks for help
Francois
Haris
On 24 août 06, at 17:32, Charilaos Skiadas wrote:
Also, since you are new to LaTeX in TextMate, we are in the process of revising the Help file in the LaTeX bundle. Let us know if there are things that are unclear/missing/useful etc.
I am also fairly new to TextMate (trying it again) and this bibtex post was most useful. I have a small question: I often have to collaborate with people who use makefiles for their compilation, so the "build and show" command does not help. Is there a way to have a shortcut run "make" in the current directory?
Thanks,
Alan
-- The hacker: someone who figured things out and made something cool happen. .O. ..O OOO
There are several project options you can set that can do this: TM_LATEX_COMPILER and TM_LATEX_OPTIONS
The former sets the executable that will run when you build the .tex file. I use "latexmk.pl" for this, but you should be able to use make as well. The latter sets the options that will be passed to the executable. I use "-pdf" for my setup.
You can also set two others: TM_LATEX_MASTER and TM_LATEX_BIB (very useful for projects with a lot of small tex files that get imported in a master file).
Matt
On 25 Aug , 2006, at 8:54 AM, Alan Schmitt wrote:
On 24 août 06, at 17:32, Charilaos Skiadas wrote:
Also, since you are new to LaTeX in TextMate, we are in the process of revising the Help file in the LaTeX bundle. Let us know if there are things that are unclear/missing/useful etc.
I am also fairly new to TextMate (trying it again) and this bibtex post was most useful. I have a small question: I often have to collaborate with people who use makefiles for their compilation, so the "build and show" command does not help. Is there a way to have a shortcut run "make" in the current directory?
Thanks,
Alan
-- The hacker: someone who figured things out and made something cool happen. .O. ..O OOO
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
-- Matt Long mlong@acm.org / mtlong@csee.usf.edu University of South Florida, CRASAR GnuPG public key: http://www.robothor.com/key.gpgkey
"Good... bad... I'm the guy with the gun." Ash, Army of Darkness
On 25 août 06, at 10:58, Matt Long wrote:
There are several project options you can set that can do this: TM_LATEX_COMPILER and TM_LATEX_OPTIONS
The former sets the executable that will run when you build the .tex file. I use "latexmk.pl" for this, but you should be able to use make as well. The latter sets the options that will be passed to the executable. I use "-pdf" for my setup.
You can also set two others: TM_LATEX_MASTER and TM_LATEX_BIB (very useful for projects with a lot of small tex files that get imported in a master file).
Thanks a lot, I'll look at these options.
Alan
-- The hacker: someone who figured things out and made something cool happen. .O. ..O OOO