[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Bug: #+ATTR_LaTeX broken in LaTeX export [6.36trans (relea
From: |
Bernt Hansen |
Subject: |
[Orgmode] Re: Bug: #+ATTR_LaTeX broken in LaTeX export [6.36trans (release_6.36.461.g798e)] |
Date: |
Thu, 01 Jul 2010 04:33:49 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Carsten Dominik <address@hidden> writes:
> Hi everyone,
>
> It seems that the patch in this thread has introduce the following
> problem:
> Consider this test file.
>
>> * Test
>>
>> # test
>> \begin{equation}
>> \e=mc^2
>> \end{equation}
>>
>> but a^2 should still be treated nicely
>>
>
>
> When exported, the # test line is exported as
>
> \# test
>
> I have not checked if this really was the patch which did
> that, but I suspect it. Could someone please check?
>
> Thanks.
Fun with git :)
,----
| 0e636dc2ed8dc4c2a4663551d975ee2a6719c967 is the first bad commit
| commit 0e636dc2ed8dc4c2a4663551d975ee2a6719c967
| Author: Eric Schulte <address@hidden>
| Date: Sun Jun 27 19:35:34 2010 -0700
|
| org-exp: check for protection before removing comments
|
| * lisp/org-exp.el (org-export-handle-comments): check for protection
| before removing comments
|
| :040000 040000 141f3fd1e9870e39b8dd863668d0d65dfc3677f3
9c5ff59abd1941ef3ba7969156a4ad6ad19fb0eb M lisp
| bisect run success
`----
This commit was determined automatically with git bisect and the
following script/setup.
,----[ /tmp/test.org ]
| * Test
|
| # test
| \begin{equation}
| \e=mc^2
| \end{equation}
|
| but a^2 should still be treated nicely
`----
,----[ /tmp/bisect.sh ]
| #/bin/sh
| emacs -batch -q -l /home/bernt/minimal.emacs -l /tmp/export-quit.el
| if grep '^\\# test' /tmp/test.tex
| then
| exit 1
| else
| exit 0
| fi
`----
,----[ /home/bernt/minimal.emacs ]
| (add-to-list 'load-path (expand-file-name "~/git/org-mode/lisp"))
| (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" .
org-mode))
| (setq org-agenda-files '("/tmp/test.org"))
| (require 'org-install)
|
| (global-set-key "\C-cl" 'org-store-link)
| (global-set-key "\C-ca" 'org-agenda)
| (global-set-key "\C-cb" 'org-iswitchb)
|
`----
,----[ /tmp/export-quit.el ]
| (find-file "/tmp/test.org")
| (call-interactively 'org-export-as-latex)
| (save-buffers-kill-emacs)
`----
$ git bisect start master 188105
$ git bisect run /tmp/bisect.sh
-Bernt