Re: [O] section subtitle in latex export

2013-05-03 Thread Aaron Ecay
Hello Nicolas, 2013ko maiatzak 2an, Nicolas Goaziou-ek idatzi zuen: That's good. Please push it into maint branch. Done. I then merged the patch into the master branch. Thanks, -- Aaron Ecay

Re: [O] section subtitle in latex export

2013-05-02 Thread Rasmus
Aaron Ecay aarone...@gmail.com writes: Try the patch attached to this email. It simply avoids inserting the alternate heading whenever it is identical to the standard one. Sounds good to me. Aesthetically, the insertion of \section[·]{·} has bothered me. . . –Rasmus -- ⠠⠵

Re: [O] section subtitle in latex export

2013-05-02 Thread Nicolas Goaziou
Hello, Masataro Asai guicho2.71...@gmail.com writes: Reply to myself: I edebugged the ox-latex and studied what's happening. Who wrote this code? Obviously, not you. you shouldn't do things like this... The code is overwriting the defcustom'ed sectioning format, no one knows. Doing

Re: [O] section subtitle in latex export

2013-05-02 Thread Nicolas Goaziou
Hello, Aaron Ecay aarone...@gmail.com writes: (Nicolas, I’m waiting to see if you have any thoughts before pushing this patch to the org repo.) That's good. Please push it into maint branch. Regards, -- Nicolas Goaziou

Re: [O] section subtitle in latex export

2013-05-02 Thread Masataro Asai
Nicolas, sorry for my offending remarks in the second message. i was just a little nervous about that unexpected behavior for me. org latex classes can be considererd as a template. template is somewhat similer to lambda. you wouldnt want any function to be modified by another function which

Re: [O] section subtitle in latex export

2013-05-02 Thread Nicolas Goaziou
Masataro Asai guicho2.71...@gmail.com writes: org latex classes can be considererd as a template. template is somewhat similer to lambda. you wouldnt want any function to be modified by another function which recieved it as its argument. Of course, `org-latex-classes' is a template. But it

[O] section subtitle in latex export

2013-05-01 Thread Masataro Asai
Hi all, I am currently writing a journal thesis in org-mode and exporting it to a LaTeX file. It worked well until recently I have updated the org-mode version to the latest one. My problem is that the specified class file for the journal fails to interpret the subtitle of the sectioning command

Re: [O] section subtitle in latex export

2013-05-01 Thread Masataro Asai
Reply to myself: I edebugged the ox-latex and studied what's happening. Who wrote this code? you shouldn't do things like this... The code is overwriting the defcustom'ed sectioning format, no one knows. the best answer for this problem would be changing the structure of org-latex-classes but I

Re: [O] section subtitle in latex export

2013-05-01 Thread Aaron Ecay
Hi Masataro, I agree that it is weird for org to insert the alternate header when it is identical to the regular header. I think it is unnecessary complication to introduce a new option to control this, though – it can be automatic. Try the patch attached to this email. It simply avoids