emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* HTML export of verbatim org-file
@ 2009-06-22 22:23 Stefan Vollmar
  2009-06-22 23:03 ` Bernt Hansen
  2009-06-23  0:15 ` Sebastian Rose
  0 siblings, 2 replies; 3+ messages in thread
From: Stefan Vollmar @ 2009-06-22 22:23 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

I have an org-file with a "colophon" and I want to explain (a bit) why  
and how I used org-mode for a particular piece of documentation  
(exported as HTML). I want interested readers to take a look at the  
org-"source"-file and the CSS-file, too.

However, when I link to my org-file "somefile.org" as
[[file:somefile.org][My org source-file]]
and then export to HTML, the link in the HTML code now points to  
"somefile.html", which is, of course, not desirable in this case.

How can I fix this? Many thanks in advance.
Warm regards,
  Stefan
-- 
Dr. Stefan Vollmar, Dipl.-Phys.
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: vollmar@nf.mpg.de   http://www.nf.mpg.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: HTML export of verbatim org-file
  2009-06-22 22:23 HTML export of verbatim org-file Stefan Vollmar
@ 2009-06-22 23:03 ` Bernt Hansen
  2009-06-23  0:15 ` Sebastian Rose
  1 sibling, 0 replies; 3+ messages in thread
From: Bernt Hansen @ 2009-06-22 23:03 UTC (permalink / raw)
  To: Stefan Vollmar; +Cc: emacs-orgmode

Stefan Vollmar <vollmar@nf.mpg.de> writes:

> However, when I link to my org-file "somefile.org" as
> [[file:somefile.org][My org source-file]]
> and then export to HTML, the link in the HTML code now points to
> "somefile.html", which is, of course, not desirable in this case.
>
> How can I fix this? Many thanks in advance.

I just use raw links like

[[http://your.domain.org/somefile.org][plain text org file]]

or

[[http://your.domain.org/somefile.org.html][colorized HTML]]

I used that here: http://doc.norang.ca/org-mode.html#sec-1

I don't know how to do that with relative links.

HTH,
-Bernt

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: HTML export of verbatim org-file
  2009-06-22 22:23 HTML export of verbatim org-file Stefan Vollmar
  2009-06-22 23:03 ` Bernt Hansen
@ 2009-06-23  0:15 ` Sebastian Rose
  1 sibling, 0 replies; 3+ messages in thread
From: Sebastian Rose @ 2009-06-23  0:15 UTC (permalink / raw)
  To: Stefan Vollmar; +Cc: emacs-orgmode

Stefan Vollmar <vollmar@nf.mpg.de> writes:
> Hello,
>
> I have an org-file with a "colophon" and I want to explain (a bit) why and how I
> used org-mode for a particular piece of documentation  (exported as HTML). I
> want interested readers to take a look at the  org-"source"-file and the
> CSS-file, too.


How about this:

#+begin_src org

,#+OPTIONS: startup:folded

#+end_src

??



    Sebastian

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-06-23  0:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-22 22:23 HTML export of verbatim org-file Stefan Vollmar
2009-06-22 23:03 ` Bernt Hansen
2009-06-23  0:15 ` 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).