* Funny export of code
@ 2009-02-03 22:21 Sebastian Rose
2009-02-06 7:57 ` Carsten Dominik
0 siblings, 1 reply; 3+ messages in thread
From: Sebastian Rose @ 2009-02-03 22:21 UTC (permalink / raw)
To: emacs-orgmode Org-Mode
Hi,
found a funny little configuration problem, when exporting this here to
HTML.
It's strange - it _must_ be in my setup, since it does not occur with
`emacs -Q' and loading org then.
Mino-Modes: yasnippets, auto-fill
=> --->8----------------------------->8----------------------------->8---
* Bilder inline darstellen
Dieser Tip stammt wieder einmal von der org-mode Mailinglist:
: ;;iimage
: (require 'iimage)
: (setq iimage-mode-image-search-path (expand-file-name "~/"))
: ;;Match org file: links
: (add-to-list 'iimage-mode-image-regex-alist
: (cons (concat "\\[\\[file:\\(~?" iimage-mode-image-filename-regex
: "\\)\\]") 1))
: (define-key org-mode-map [(control c) ?i] 'iimage-mode)
:
: You can then toggle inline display of images in an org buffer using C-c i.
:
: --
: |-<James TD Smith>-<email/ahktenzero@mohorovi.cc>-|
<= ---8<-----------------------------8<-----------------------------8<---
The error occurs in the line ` (cond (concat "\\[\\[file ...'
which is turned into this here:
=> --->8----------------------------->8----------------------------->8---
(cons (concat "\
</pre>
<p>
<img src="ltxpng/xy_0002.png"/>
</p>
") 1))
: (define-key org-mode-map [(control c) ?i] 'iimage-mode)
<= ---8<-----------------------------8<-----------------------------8<---
Did anyone have a similar problem before and remembers how to get rid of
it?
Thanks,
--
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover
Tel.: +49 (0)511 - 36 58 472
Fax: +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Http: www.emma-stil.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Funny export of code
2009-02-03 22:21 Funny export of code Sebastian Rose
@ 2009-02-06 7:57 ` Carsten Dominik
0 siblings, 0 replies; 3+ messages in thread
From: Carsten Dominik @ 2009-02-06 7:57 UTC (permalink / raw)
To: Sebastian Rose; +Cc: emacs-orgmode Org-Mode
Hi Sebastian,
this is an unlucky combination of you having turned
on org-export-with-latex-fragments, \[ being a LaTeX math
delimiter, "\\[" showing up in your example, and HTML export
not checking for protectedness in export while searching
for LaTeX fragments.
I have fixed the forth issue so that you do not have to
change the first and third, and so that the LaTeX people
do not have to modify their basic syntax :-)
Please test this as soon as possible.
- Carsten
On Feb 3, 2009, at 11:21 PM, Sebastian Rose wrote:
> Hi,
>
>
> found a funny little configuration problem, when exporting this here
> to
> HTML.
>
> It's strange - it _must_ be in my setup, since it does not occur with
> `emacs -Q' and loading org then.
>
> Mino-Modes: yasnippets, auto-fill
>
>
>
> => --->8----------------------------->8-----------------------------
> >8---
>
> * Bilder inline darstellen
>
> Dieser Tip stammt wieder einmal von der org-mode Mailinglist:
> : ;;iimage
> : (require 'iimage)
> : (setq iimage-mode-image-search-path (expand-file-name "~/"))
> : ;;Match org file: links
> : (add-to-list 'iimage-mode-image-regex-alist
> : (cons (concat "\\[\\[file:\\(~?" iimage-mode-image-
> filename-regex
> : "\\)\\]") 1))
> : (define-key org-mode-map [(control c) ?i] 'iimage-mode)
> :
> : You can then toggle inline display of images in an org buffer
> using C-c i.
> :
> : --
> : |-<James TD Smith>-<email/ahktenzero@mohorovi.cc>-|
>
> <=
> ---8<-----------------------------8<-----------------------------8<---
>
>
>
> The error occurs in the line ` (cond (concat "\\[\\[file ...'
> which is turned into this here:
>
>
>
> => --->8----------------------------->8-----------------------------
> >8---
>
> (cons (concat "\
> </pre>
>
> <p>
> <img src="ltxpng/xy_0002.png"/>
> </p>
>
>
> ") 1))
> : (define-key org-mode-map [(control c) ?i] 'iimage-mode)
>
> <=
> ---8<-----------------------------8<-----------------------------8<---
>
>
>
> Did anyone have a similar problem before and remembers how to get
> rid of
> it?
>
>
> Thanks,
>
> --
> Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449
> Hannover
> Tel.: +49 (0)511 - 36 58 472
> Fax: +49 (0)1805 - 233633 - 11044
> mobil: +49 (0)173 - 83 93 417
> Http: www.emma-stil.de
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Funny export of code
@ 2009-02-05 16:23 Sebastian Rose
0 siblings, 0 replies; 3+ messages in thread
From: Sebastian Rose @ 2009-02-05 16:23 UTC (permalink / raw)
To: emacs-orgmode Org-Mode
The Problem does not occur in LaTeX export. That works fine.
Hm.
--
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover
Tel.: +49 (0)511 - 36 58 472
Fax: +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Http: www.emma-stil.de
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-02-06 8:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-03 22:21 Funny export of code Sebastian Rose
2009-02-06 7:57 ` Carsten Dominik
-- strict thread matches above, loose matches on Subject: below --
2009-02-05 16:23 Sebastian Rose
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).