* Including HTML text verbatim in html export
@ 2014-11-06 12:44 Giuseppe Lipari
2014-11-06 15:39 ` Jaakko Järvi
2014-11-06 17:40 ` Nicolas Goaziou
0 siblings, 2 replies; 4+ messages in thread
From: Giuseppe Lipari @ 2014-11-06 12:44 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1171 bytes --]
Hi,
I am writing my personal web page with org-mode, and I would like to
include a list of my publications. I am using bibtex2html for generating
the html from my bibtex file in more or less complex ways (i.e. separating
articles from conferences, and sorting by year), because I like the
customization features.
bibtex2html produces the body of an html file that I would like then to put
together with my headers and footers as generated by the org exporter, for
making everything uniform.
I tried #+INCLUDE: but it interprets the html file as an org file. If I
specify src html, it renders the html code in the page.
One solution I see is to generate the org-file with some script which will
put copy html generated code between #+BEGIN_HTML ... #+END_HTML, but
before going this way I would like to know if there is a simpler way of
doing it.
All the best,
Giuseppe Lipari
--
Giuseppe Lipari
LIFL
Université de Lille 1
blogs: http://scacciamennule.blogspot.com (Italian)
<http://scacciamennule.blogspot.com>
http://okpanico,wordpress.com (Italian)
http://algoland.wordpress.com (English)
[-- Attachment #2: Type: text/html, Size: 1839 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Including HTML text verbatim in html export
2014-11-06 12:44 Including HTML text verbatim in html export Giuseppe Lipari
@ 2014-11-06 15:39 ` Jaakko Järvi
2014-11-06 17:40 ` Nicolas Goaziou
1 sibling, 0 replies; 4+ messages in thread
From: Jaakko Järvi @ 2014-11-06 15:39 UTC (permalink / raw)
To: Giuseppe Lipari; +Cc: emacs-orgmode
One way I’ve done such a thing is this:
#+BEGIN_SRC sh :exports results :results raw
echo "#+BEGIN_HTML"
cat file.html
echo "#+END_HTML"
#+END_SRC
I, too, would be interested to know if there is a simpler way.
Best,
Jaakko Järvi
> On Nov 6, 2014, at 6:44 AM, Giuseppe Lipari <giulipari@gmail.com> wrote:
>
> Hi,
>
> I am writing my personal web page with org-mode, and I would like to include a list of my publications. I am using bibtex2html for generating the html from my bibtex file in more or less complex ways (i.e. separating articles from conferences, and sorting by year), because I like the customization features.
> bibtex2html produces the body of an html file that I would like then to put together with my headers and footers as generated by the org exporter, for making everything uniform.
>
> I tried #+INCLUDE: but it interprets the html file as an org file. If I specify src html, it renders the html code in the page.
>
> One solution I see is to generate the org-file with some script which will put copy html generated code between #+BEGIN_HTML ... #+END_HTML, but before going this way I would like to know if there is a simpler way of doing it.
>
> All the best,
>
> Giuseppe Lipari
>
> --
> Giuseppe Lipari
> LIFL
> Université de Lille 1
> blogs: http://scacciamennule.blogspot.com (Italian)
> http://okpanico,wordpress.com (Italian)
> http://algoland.wordpress.com (English)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Including HTML text verbatim in html export
2014-11-06 12:44 Including HTML text verbatim in html export Giuseppe Lipari
2014-11-06 15:39 ` Jaakko Järvi
@ 2014-11-06 17:40 ` Nicolas Goaziou
2014-11-06 21:26 ` Giuseppe Lipari
1 sibling, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2014-11-06 17:40 UTC (permalink / raw)
To: Giuseppe Lipari; +Cc: emacs-orgmode
Hello,
Giuseppe Lipari <giulipari@gmail.com> writes:
> I tried #+INCLUDE: but it interprets the html file as an org file. If I
> specify src html, it renders the html code in the page.
On a recent Org, you could try:
#+INCLUDE: file.html html
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Including HTML text verbatim in html export
2014-11-06 17:40 ` Nicolas Goaziou
@ 2014-11-06 21:26 ` Giuseppe Lipari
0 siblings, 0 replies; 4+ messages in thread
From: Giuseppe Lipari @ 2014-11-06 21:26 UTC (permalink / raw)
To: Giuseppe Lipari, emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 765 bytes --]
Thanks a lot Nicolas, that's exactly was I was looking for!
Best regards,
Giuseppe Lipari
2014-11-06 18:40 GMT+01:00 Nicolas Goaziou <mail@nicolasgoaziou.fr>:
> Hello,
>
> Giuseppe Lipari <giulipari@gmail.com> writes:
>
> > I tried #+INCLUDE: but it interprets the html file as an org file. If I
> > specify src html, it renders the html code in the page.
>
> On a recent Org, you could try:
>
> #+INCLUDE: file.html html
>
>
> Regards,
>
> --
> Nicolas Goaziou
>
--
Giuseppe Lipari
LIFL
Université de Lille 1
blogs: http://scacciamennule.blogspot.com (Italian)
<http://scacciamennule.blogspot.com>
http://okpanico,wordpress.com (Italian)
http://algoland.wordpress.com (English)
[-- Attachment #2: Type: text/html, Size: 1673 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-11-06 21:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-06 12:44 Including HTML text verbatim in html export Giuseppe Lipari
2014-11-06 15:39 ` Jaakko Järvi
2014-11-06 17:40 ` Nicolas Goaziou
2014-11-06 21:26 ` Giuseppe Lipari
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).