Leon | 2 Aug 2006 22:14
Face
Picon
Gravatar

Re: Integrate latexmk into auctex

Sebastian Schubert <sebastian-schubert <at> gmx.de> writes:

> Ralf Angeli wrote:
>
>
> [code]
>
> It works.
>
>> Note that you could customize `TeX-expand-list', but using
>> `add-to-list' has the advantage that it does not overwrite the default
>> value of `TeX-expand-list' which could change over time.
>
> I add the latexmk call to TeX-command-list in that way now. Thanks for
> advice!

I'm also interested in using latexmk as default. I have the following
setting in ~/.emacs

,----
| (eval-after-load "tex"
|   '(add-to-list 'TeX-expand-list
|                 '("%(-pdf)" (lambda ()
|                               (if (and (not TeX-Omega-mode)
|                                        (or TeX-PDF-mode
|                                            TeX-DVI-via-PDFTeX))
|                                   "-pdf"
|                                 "")))))
| (eval-after-load "tex"
|   '(add-to-list 'TeX-command-list
(Continue reading)

Ralf Angeli | 3 Aug 2006 22:32
Face

Re: Questions about TeX-auto-global

* Leon (2006-07-30) writes:

> I have a few questions:
>
> 1. `TeX-auto-global' dir is always empty. 

It gets filled by `TeX-auto-generate-global'.

> 2. What happens if this dir doesn't end with a directory separator?

Code relying on this prerequisite might not work.  (I haven't actually
checked that.)

--

-- 
Ralf
Ralf Angeli | 3 Aug 2006 22:49
Face

Re: Integrate latexmk into auctex

* Leon (2006-08-02) writes:

> I'm also interested in using latexmk as default. I have the following
> setting in ~/.emacs
>
> ,----
> | (eval-after-load "tex"
> |   '(add-to-list 'TeX-expand-list
> |                 '("%(-pdf)" (lambda ()
> |                               (if (and (not TeX-Omega-mode)
> |                                        (or TeX-PDF-mode
> |                                            TeX-DVI-via-PDFTeX))
> |                                   "-pdf"
> |                                 "")))))
> | (eval-after-load "tex"
> |   '(add-to-list 'TeX-command-list
> | 		'("All" "latexmk \"%(-pdf)\input{%t}\"" TeX-run-TeX nil 

		'("All" "latexmk %(-pdf) %t" TeX-run-TeX nil 

--

-- 
Ralf
Leon | 4 Aug 2006 00:32
Face
Picon
Gravatar

Re: Integrate latexmk into auctex

Ralf Angeli <angeli <at> caeruleus.net> writes:

> * Leon (2006-08-02) writes:
>
>> I'm also interested in using latexmk as default. I have the following
>> setting in ~/.emacs
>>
>> ,----
>> | (eval-after-load "tex"
>> |   '(add-to-list 'TeX-expand-list
>> |                 '("%(-pdf)" (lambda ()
>> |                               (if (and (not TeX-Omega-mode)
>> |                                        (or TeX-PDF-mode
>> |                                            TeX-DVI-via-PDFTeX))
>> |                                   "-pdf"
>> |                                 "")))))
>> | (eval-after-load "tex"
>> |   '(add-to-list 'TeX-command-list
>> | 		'("All" "latexmk \"%(-pdf)\input{%t}\"" TeX-run-TeX nil 
>
> 		'("All" "latexmk %(-pdf) %t" TeX-run-TeX nil 

This gives the same error.

--

-- 
Leon
Ralf Angeli | 4 Aug 2006 00:35

Re: Integrate latexmk into auctex

* Leon (2006-08-04) writes:

> Ralf Angeli <angeli <at> caeruleus.net> writes:
>
>> 		'("All" "latexmk %(-pdf) %t" TeX-run-TeX nil 
>
> This gives the same error.

Not in my case.  Did you restart Emacs?  What's the output of `C-c `'?

--

-- 
Ralf
Leon | 4 Aug 2006 01:13
Face
Picon
Gravatar

Re: Questions about TeX-auto-global

Ralf Angeli <angeli <at> caeruleus.net> writes:

> * Leon (2006-07-30) writes:
>
>> I have a few questions:
>>
>> 1. `TeX-auto-global' dir is always empty. 
>
> It gets filled by `TeX-auto-generate-global'.

I just run this command and it generates ~30M files in the /auto/
dir. What does this benefit?

>
>> 2. What happens if this dir doesn't end with a directory separator?
>
> Code relying on this prerequisite might not work.  (I haven't actually
> checked that.)

OK I see. It seems the INSTALL file in the source dir doesn't mention
this.

Thanks.

--

-- 
Leon
Leon | 4 Aug 2006 01:17
Face
Picon
Gravatar

Re: Integrate latexmk into auctex

Ralf Angeli <angeli <at> caeruleus.net> writes:

> * Leon (2006-08-04) writes:
>
>> Ralf Angeli <angeli <at> caeruleus.net> writes:
>>
>>> 		'("All" "latexmk %(-pdf) %t" TeX-run-TeX nil 
>>
>> This gives the same error.
>
> Not in my case.  Did you restart Emacs?  What's the output of `C-c `'?

I see the problem now. It's a stupid mistake. latexmk was named
latexmk.pl in my system.

I appreciate your help. Thanks.

--

-- 
Leon
Ralf Angeli | 5 Aug 2006 00:25

Re: Questions about TeX-auto-global

* Leon (2006-08-04) writes:

> Ralf Angeli <angeli <at> caeruleus.net> writes:
>
>> * Leon (2006-07-30) writes:
>>
>>> 1. `TeX-auto-global' dir is always empty. 
>>
>> It gets filled by `TeX-auto-generate-global'.
>
> I just run this command and it generates ~30M files in the /auto/
> dir. What does this benefit?

Completion support for macros, environments etc. defined in the LaTeX
style files installed at your site.

>>> 2. What happens if this dir doesn't end with a directory separator?
>>
>> Code relying on this prerequisite might not work.  (I haven't actually
>> checked that.)
>
> OK I see. It seems the INSTALL file in the source dir doesn't mention
> this.

That's what the doc string is for.

--

-- 
Ralf
Leon | 5 Aug 2006 00:40
Face
Picon
Gravatar

Re: Questions about TeX-auto-global

Ralf Angeli <angeli <at> caeruleus.net> writes:

> * Leon (2006-08-04) writes:
>
>> Ralf Angeli <angeli <at> caeruleus.net> writes:
>>
>>> * Leon (2006-07-30) writes:
>>>
>>>> 1. `TeX-auto-global' dir is always empty. 
>>>
>>> It gets filled by `TeX-auto-generate-global'.
>>
>> I just run this command and it generates ~30M files in the /auto/
>> dir. What does this benefit?
>
> Completion support for macros, environments etc. defined in the LaTeX
> style files installed at your site.
>
>>>> 2. What happens if this dir doesn't end with a directory separator?
>>>
>>> Code relying on this prerequisite might not work.  (I haven't actually
>>> checked that.)
>>
>> OK I see. It seems the INSTALL file in the source dir doesn't mention
>> this.
>
> That's what the doc string is for.

Thank you for clarifying this for me!

(Continue reading)

Alan Ristow | 5 Aug 2006 18:17
Picon

Altering the BibTeX command line

Hi,

I'd like to use the --min-crossrefs switch when I run BibTeX, something 
like:

bibtex --min-crossrefs=100

I can't find any options to control --min-crossrefs directly via AUCTeX. 
I set tex-bibtex-command to "bibtex --min-crossrefs=100", but it doesn't 
seem to be working -- I get the same result as I do without the 
--min-crossrefs switch.

What am I missing?

Alan

Gmane