bug#25276: 11.89.8; xetex engine not work when master filename contains space

2016-12-26 Thread Qiang Yin
I test the example "foo bar.tex" on Debian with Emacs 24.4. When run "M-: (shell-quote-argument (TeX-master-file)) RET" on "foo bar.tex",it returns "foo\\ bar"; and run the same command on "foo.tex" it returns "foo". Cheers, Qiang On 2016/12/27 2:28, Qiang Yin wrote: Hi Mosè, Maybe it's

Re: [AUCTeX] Subfiles package and reftex

2016-12-26 Thread Mosè Giordano
2016-12-27 0:41 GMT+01:00 : > Hello Mosè, > > This is great! Yes, this is what I needed. Thanks! Good. Then you only need to wait for the next AUCTeX release. Hold on ;-) Bye, Mosè ___ auctex mailing list auctex@gnu.org

Re: [AUCTeX] Subfiles package and reftex

2016-12-26 Thread edgar
Hello Mosè, This is great! Yes, this is what I needed. Thanks! On 2016-12-26 16:54, Mosè Giordano wrote: Hi Edgar, 2016-12-26 5:14 GMT+01:00 : Hi there, I would like to know if there is a way to (1) set a master file (Master.tex) which includes other files (\input,

bug#25276: 11.89.8; xetex engine not work when master filename contains space

2016-12-26 Thread Mosè Giordano
2016-12-26 18:59 GMT+01:00 Qiang Yin : > Hi Mosè, > > 1. When run on "foo bar.tex" it returns "\"foo bar\"". > 2. When run on "foo.tex" it returns "\"foo\"". Thank you. I cannot tell what's the difference and why it works in one case but not in the other. Sorry, I don't

bug#25276: 11.89.8; xetex engine not work when master filename contains space

2016-12-26 Thread Qiang Yin
Hi Mosè, 1. When run on "foo bar.tex" it returns "\"foo bar\"". 2. When run on "foo.tex" it returns "\"foo\"". Best, Qiang On 2016/12/27 1:27, Mosè Giordano wrote: Qiang or anybody using Windows, can you please tell me what M-: (shell-quote-argument (TeX-master-file)) RET returns in a

bug#25276: 11.89.8; xetex engine not work when master filename contains space

2016-12-26 Thread Mosè Giordano
Qiang or anybody using Windows, can you please tell me what M-: (shell-quote-argument (TeX-master-file)) RET returns in a your "foo bar.tex" buffer? And what in a file's buffer without spaces in its name? This is, more or less, the command used in `TeX-command-expand' to build the

Re: [AUCTeX] Subfiles package and reftex

2016-12-26 Thread Mosè Giordano
Hi Edgar, 2016-12-26 5:14 GMT+01:00 : > Hi there, > > I would like to know if there is a way to > (1) set a master file (Master.tex) which includes other files (\input, > \subfiles, \include or any other) with relative paths > (2) those other files (header.tex, File1.tex,

bug#25276: 11.89.8; xetex engine not work when master filename contains space

2016-12-26 Thread Qiang Yin
Hi, I prefer xetex as my default tex engine. But this will cause a AucTeX bug when the master filename contains a space. The following is a minimal example. It contains only one master file "foo bar.tex". Notice the filename contains a space. And the content of "foo bar.tex" is just the

[AUCTeX-devel] [corrected patch] (was: patch for the exam class.)

2016-12-26 Thread Uwe Brauer
Again I am not sure which patch format is better suited. diff --git a/Makefile.in b/Makefile.in --- a/Makefile.in +++ b/Makefile.in @@ -159,7 +159,7 @@ style/framed.elstyle/paracol.el style/menukeys.el \ style/bidi.el style/FiraMono.el style/FiraSans.el \

Re: [AUCTeX-devel] patch for the exam class.

2016-12-26 Thread Uwe Brauer
> Uwe Brauer writes: > I mean in (partial)gradtable. In part, you have (TeX-arg-literal " ") > which adds a space, i.e. `\part[100] ' to mimic an \item. > In (partial)gradtable, you have (TeX-arg-literal "") which actually does > nothing. I was wondering why

Re: [AUCTeX-devel] patch for the exam class.

2016-12-26 Thread Arash Esbati
Uwe Brauer writes: "Arash" == Arash Esbati writes: > >>> + (TeX-add-symbols >>> +'("part" [ "Points" ] (TeX-arg-literal " ")) >>> +'("subpart" [ "Points" ] (TeX-arg-literal " ")) > >>> +'("gradetable" [ "1. Option"

Re: [AUCTeX-devel] subfiles.el: implement patch provided by Arash Esbati

2016-12-26 Thread Arash Esbati
Uwe Brauer writes: Hi Uwe, I've just pushed your patch to git under your name. I took the liberty and touch the file a little. Thanks for providing the style. Best, Arash ___ auctex-devel mailing list auctex-devel@gnu.org

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. def20e774e6d3f9f9d3ca24e2e17a8c126d8137c

2016-12-26 Thread Arash Esbati
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU AUCTeX". The branch, master has been updated via def20e774e6d3f9f9d3ca24e2e17a8c126d8137c (commit) from

[AUCTeX-commit] GNU AUCTeX branch, master, updated. def20e774e6d3f9f9d3ca24e2e17a8c126d8137c

2016-12-26 Thread Arash Esbati
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU AUCTeX". The branch, master has been updated via def20e774e6d3f9f9d3ca24e2e17a8c126d8137c (commit) from

Re: [AUCTeX-devel] patch for the exam class.

2016-12-26 Thread Uwe Brauer
>>> "Arash" == Arash Esbati writes: > Hi Uwe, > Uwe Brauer writes: > You're welcome. I keep on giving some comments, I hope it's ok :-) Definitely ;-) >> +;;; Code: >> + >> +;;; Code: > You have a dupe here. ok >>