[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] Management of package options [Was: Re: Add `unit' ty
From: |
Mosè Giordano |
Subject: |
Re: [AUCTeX-devel] Management of package options [Was: Re: Add `unit' type for the parser in siunitx.el] |
Date: |
Tue, 2 Apr 2013 21:44:16 +0200 |
Hi Tassilo,
2013/4/2 Tassilo Horn <address@hidden>:
> Mosè Giordano <address@hidden> writes:
>
> Hi Mosè,
>
>> I'm sending patches implementing what Tassilo suggested. In
>> `LaTeX-arg-usepackage' I replaced `match-string' with
>> `buffer-substring-no-properties' because I need to remove properties,
>> `match-string-no-properties' requires Emacs 21.3 and I don't know
>> whether XEmacs has it.
>
> It does.
So can I use `match-string-no-properties'? AUCTeX requires Emacs 21,
but 21.1 or 21.3 is also acceptable?
>> In `LaTeX-auto-cleanup', I haven't changed this
>> ---------------------------------------------------------------
>> (add-to-list 'TeX-auto-file
>> (concat
>> (cond ((string-equal "article" style)
>> "art")
>> ((string-equal "book" style)
>> "bk")
>> ((string-equal "report" style)
>> "rep")
>> ((string-equal "jarticle" style)
>> "jart")
>> ((string-equal "jbook" style)
>> "jbk")
>> ((string-equal "jreport" style)
>> "jrep")
>> ((string-equal "j-article" style)
>> "j-art")
>> ((string-equal "j-book" style)
>> "j-bk")
>> ((string-equal "j-report" style )
>> "j-rep")
>> (t style))
>> (cond ((member "11pt" options)
>> "11")
>> ((member "12pt" options)
>> "12")
>> (t
>> "10"))) t)
>> ---------------------------------------------------------------
>> because I've never understood what's its purpose.
>
> It seems that there are style files like art11.sty and class option
> files like bk11.clo. My TeX distribution only has bk{10,11,12}.clo, but
> none of the art<size>, rep<size> or j-* files. But when you google for
> them, you'll find them.
Thanks for you explanation.
Bye,
Mosè Giordano
- Re: [AUCTeX-devel] Management of package options [Was: Re: Add `unit' type for the parser in siunitx.el], Tassilo Horn, 2013/04/02
- Re: [AUCTeX-devel] Management of package options [Was: Re: Add `unit' type for the parser in siunitx.el],
Mosè Giordano <=
- Re: [AUCTeX-devel] Management of package options [Was: Re: Add `unit' type for the parser in siunitx.el], Tassilo Horn, 2013/04/03
- Re: [AUCTeX-devel] Management of package options [Was: Re: Add `unit' type for the parser in siunitx.el], Mosè Giordano, 2013/04/03
- Re: [AUCTeX-devel] Management of package options [Was: Re: Add `unit' type for the parser in siunitx.el], Tassilo Horn, 2013/04/04
- Re: [AUCTeX-devel] Management of package options [Was: Re: Add `unit' type for the parser in siunitx.el], Mosè Giordano, 2013/04/04
- Re: [AUCTeX-devel] Management of package options [Was: Re: Add `unit' type for the parser in siunitx.el], Mosè Giordano, 2013/04/05
- Re: [AUCTeX-devel] Management of package options [Was: Re: Add `unit' type for the parser in siunitx.el], Tassilo Horn, 2013/04/07
- Re: [AUCTeX-devel] Management of package options [Was: Re: Add `unit' type for the parser in siunitx.el], Tassilo Horn, 2013/04/07