auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] Japanese LaTeX classes not recognized


From: jfbu
Subject: Re: [AUCTeX] Japanese LaTeX classes not recognized
Date: Wed, 25 Jan 2017 09:59:19 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:45.0) Gecko/20100101 Thunderbird/45.6.0

Hi Mosè

Le 25/01/2017 à 01:21, Mosè Giordano a écrit :
Hi Jean-François,

2017-01-24 22:57 GMT+01:00 jfbu <address@hidden>:
Hi,

...
(and today that's the Third important "bug" in software
I have been confronted with)

I hope they weren't all three in AUCTeX ;-)

no indeed ;-) and problems with AUCTeX most of the time
boil down to my config, hence at least I have a starting
point todebug them...


....
If I omit the

 ("Index" "%(makeindex) %s" TeX-run-index nil t :help "Run makeindex to create index 
file")

then this insertion of extra things seemingly does NOT HAPPEN
when I open a buffer on a file like testmendex.tex, and an

The problem was that the "BibTeX" and "Index" entries are changed in
tex-jp.el, but this done without checking whether they were actually
there, resulting in the error you spotted.  I guess that not many
users *remove* entries from `TeX-command-list', that's why probably
this bug went unnoticed for years.  Anyway, that should be fixed now
on git, thanks for reporting it.


ah... I was almost there, but feared the cause was in compiled
custom set-up in the Emacs binary I use; in retrospect I should
have examined tex-jp.el (sounds obvious now...)

I had tried with only "Index" and knew that something additional
was needed for the process to work without error.

Thanks for this as I now know which entries are really needed
(before AUCTeX incorporates your patch available on git repo)


This will give me opportunity to freshen a bit my
TeX-command-list entries which got frozen quite some years ago

To be honest, changing the value of that variable with customize is a
bit tricky, because you will miss future changes or new entries made
to the default value of that variable (and this was probably the
source of your problem).  The best way would be to only *add* custom
entries (for example with `add-to-list').

I am aware of that. But I am uneasy with having my most used
entries relegated to the bottom of the list, where in fact they
don't even show on my 11" screen and I need to move the mouse
down.

I had no use (having no printer) for Print and Queue entries, and
had no use either for BibTeX, Biber, Index, or the Spell-Check, I
don't use AmsTeX nor ConTeXt (I know they show only when needed)
(moreover I more and more use Latexmk, but actually in those cases
I launch compilation process from a Makefile) further I needed my
own customized File or ps2pdf, and often I need to go via
latex+dvipdfmx not on the current file (.dtx) but on a .tex file
associated with it, (and I don't want any additional mark-up to
the .dtx) etc... hence I have plenty of reasons to need to
customize TeX-command-list

(I also needed at some point back in time to fix sync things with
xdvi on mac os or Skim.app (or Okular on Linux), as things were
not working out of the box for me, but I have forgotten the
details).


I had the normal "BibTeX" entry like this

 ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run BibTeX")
but was lacking the "Index" entry.

Was "Biber" not required ? well I will check out by myself.

Thanks for having gotten to the bottom of this,

Best,

Jean-François








reply via email to

[Prev in Thread] Current Thread [Next in Thread]