* Where is the document in which all tags are described?
@ 2009-10-10 9:49 Water Lin
2009-10-10 13:42 ` Bernt Hansen
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Water Lin @ 2009-10-10 9:49 UTC (permalink / raw
To: emacs-orgmode
I am using org mode to build my own homepage now. I have perl scripts
need to be published to html from org file.
I use following script to mark it:
------------
#+BEGIN_SRC perl
# insert some Perl script here
#+END_SRC
------------
But the perl tag doesn't exist.
So I tried to find a document described all tags (such as emacs-lisp)
the org mode supports, where is it?
Thanks
Water Lin
--
Water Lin's blog: http://en.waterlin.org
Email: WaterLin@ymail.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Where is the document in which all tags are described?
2009-10-10 9:49 Where is the document in which all tags are described? Water Lin
@ 2009-10-10 13:42 ` Bernt Hansen
2009-10-10 19:24 ` Sebastian
2009-10-10 19:32 ` Sebastian
2 siblings, 0 replies; 4+ messages in thread
From: Bernt Hansen @ 2009-10-10 13:42 UTC (permalink / raw
To: Water Lin; +Cc: emacs-orgmode
Water Lin <WaterLin@ymail.com> writes:
> I am using org mode to build my own homepage now. I have perl scripts
> need to be published to html from org file.
>
> I use following script to mark it:
> ------------
> #+BEGIN_SRC perl
> # insert some Perl script here
> #+END_SRC
> ------------
>
> But the perl tag doesn't exist.
>
> So I tried to find a document described all tags (such as emacs-lisp)
> the org mode supports, where is it?
The "perl tag" is really the name of a major mode (perl-mode). This
works fine for me. I use C-c ' to edit the perl code in the block and
C-c ' when I'm done - and it exports colourized to HTML just fine.
-Bernt
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Where is the document in which all tags are described?
2009-10-10 9:49 Where is the document in which all tags are described? Water Lin
2009-10-10 13:42 ` Bernt Hansen
@ 2009-10-10 19:24 ` Sebastian
2009-10-10 19:32 ` Sebastian
2 siblings, 0 replies; 4+ messages in thread
From: Sebastian @ 2009-10-10 19:24 UTC (permalink / raw
To: Water Lin; +Cc: emacs-orgmode
Am Samstag, den 10.10.2009, 17:49 +0800 schrieb Water Lin:
> I am using org mode to build my own homepage now. I have perl scripts
> need to be published to html from org file.
>
> I use following script to mark it:
> ------------
> #+BEGIN_SRC perl
> # insert some Perl script here
> #+END_SRC
> ------------
Hm - this will not be what you might expect when exported.
E.g., if you search for '/^\s*# insert some Perl script here$/' the
search might fail.
The reason is, that the text will look like this in the XHTML file:
<pre class="src src-perl"><span class="comment"># insert some Perl
script here</span></pre>
Did you take that into account?
Sebastian
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Where is the document in which all tags are described?
2009-10-10 9:49 Where is the document in which all tags are described? Water Lin
2009-10-10 13:42 ` Bernt Hansen
2009-10-10 19:24 ` Sebastian
@ 2009-10-10 19:32 ` Sebastian
2 siblings, 0 replies; 4+ messages in thread
From: Sebastian @ 2009-10-10 19:32 UTC (permalink / raw
To: Water Lin; +Cc: emacs-orgmode
Am Samstag, den 10.10.2009, 17:49 +0800 schrieb Water Lin:
> I am using org mode to build my own homepage now. I have perl scripts
> need to be published to html from org file.
>
> I use following script to mark it:
> ------------
> #+BEGIN_SRC perl
> # insert some Perl script here
> #+END_SRC
> ------------
How does this work:
#+BEGIN_SRC perl
# insert some Perl script here
# insert some Perl script here
#+END_SRC
???
Because I found, maybe related, this here does not work:
#+begin_src org
,#+begin_html
,<div class="tester">Som HTML hier...</div>
,#+end_html
#+end_src
The `#+end_html' line will be missing after HTML export.
Sebastian
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-10-10 19:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-10 9:49 Where is the document in which all tags are described? Water Lin
2009-10-10 13:42 ` Bernt Hansen
2009-10-10 19:24 ` Sebastian
2009-10-10 19:32 ` Sebastian
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.