Hi Arash,
2017-02-20 21:23 GMT+01:00 Arash Esbati :
> Hi Mosè,
>
> Mosè Giordano writes:
>
>> Not for me, and I guess nor for Arash :-/
>
> Did you patched subfiles.el with
>
> (TeX-run-style-hooks
> (file-name-sans-extension
> (cadr (assoc "subfiles" LaTeX-provided-class-options
>
> as
Hi Mosè,
Mosè Giordano writes:
> Not for me, and I guess nor for Arash :-/
Did you patched subfiles.el with
(TeX-run-style-hooks
(file-name-sans-extension
(cadr (assoc "subfiles" LaTeX-provided-class-options
as you tried it or did you just evaluate it in a .tex file?
Best, Arash
Hi Keita,
Ikumi Keita writes:
>> I think this can be fixed by adding
>
>> (dolist (name TeX-style-path)
>>(TeX-load-style-file (expand-file-name style name)))
>
>> to second condition as well.
>
> Is that really necessary? On my environment, just replacing
> `file-name-base'
Hi Keita,
2017-02-20 19:30 GMT+01:00 Ikumi Keita :
> Hi Arash,
>
>> I think this can be fixed by adding
>
>> (dolist (name TeX-style-path)
>>(TeX-load-style-file (expand-file-name style name)))
>
>> to second condition as well.
>
> Is that really necessary? On my environment,
Hi Arash,
> I think this can be fixed by adding
> (dolist (name TeX-style-path)
>(TeX-load-style-file (expand-file-name style name)))
> to second condition as well.
Is that really necessary? On my environment, just replacing
`file-name-base' with `file-name-sans-extension'
>>> "Arash" == Arash Esbati writes:
> Uwe Brauer writes:
>> I just did. I restarted emacs, entered a subfiles with that path
>> structure, the style subfiles.el was not loaded.
>>
>> I evaluated your lisp code and voila: it works like charm, subfiles.el
>> is loaded and suppor
Uwe Brauer writes:
> I just did. I restarted emacs, entered a subfiles with that path
> structure, the style subfiles.el was not loaded.
>
> I evaluated your lisp code and voila: it works like charm, subfiles.el
> is loaded and supports the editing as it should.
Thanks for checking. I have a qu
Hi Arash,
> Hi Mosè,
> Mosè Giordano writes:
[...]
> @Uwe: Can you try copy/paste this into you one of your sub files and
> eval them?
> \begin{verbatim}
> (defun TeX-load-style (style)
> "Search for and load each definition for STYLE in `TeX-style-path'."
>
Hi Mosè,
Mosè Giordano writes:
> 2017-02-15 9:19 GMT+01:00 Arash Esbati :
>> what do you think about this small patch against subfiles.el:
>
> Actually in subfiles.el it should be sufficient to replace
> `file-name-base' with `file-name-sans-extension', but I didn't have
> the time to understand
Hi Arash,
2017-02-15 9:19 GMT+01:00 Arash Esbati :
> what do you think about this small patch against subfiles.el:
Actually in subfiles.el it should be sufficient to replace
`file-name-base' with `file-name-sans-extension', but I didn't have
the time to understand why `TeX-load-style' doesn't loa
> Uwe Brauer writes:
> Ok, understood, but I'm far away from that.
So you either have better hardware than I do, or something is strange in
my setting. I still don't understand why auctex scans
\documentclass[../main.tex]{subfiles}
But not.
\documentclass[../../main.tex]{subfiles}
>
Uwe Brauer writes:
> Well I have a lenovo X200s with a 200 SSD and it almost needs 1 minute
> to complete. I call that slow.
Ok, understood, but I'm far away from that.
>> Reg. scaling images, you could try to load your images in Emacs with
>> ImageMagick support; I think it can scale[1].
>
> H
> Uwe Brauer writes:
> Thanks for your checking. I'm not sure what you mean with slow. I
> tried the function for a file in a directory with 60 .tex files (260
> files total) and the completion was almost without any delay (and my HD
> setup is not fast).
Well I have a lenovo X
Uwe Brauer writes:
"Arash" == Arash Esbati writes:
>>
>> With this, Emacs will ask with completion for the main file to be
>> included in the optional argument of \documentclass in a subfile and
>> returns it relative to master file (usually the subfile itself).
>
> I checked it with GNU em
>>> "Arash" == Arash Esbati writes:
Hi Arash
> Hi Uwe,
> what do you think about this small patch against subfiles.el:
> diff --git a/style/subfiles.el b/style/subfiles.el
> index 40993157..52bc7c31 100644
> --- a/style/subfiles.el
> +++ b/style/subfiles.el
> @@ -36,
>>> "Arash" == Arash Esbati writes:
> Hi Uwe,
> what do you think about this small patch against subfiles.el:
Thanks I will try to test it tomorrow and report back.
The idea looks very nice.
Uwe
___
auctex-devel mailing list
auctex-devel@gnu.o
16 matches
Mail list logo