* Include HTML fragments in HTML export
@ 2015-03-18 18:28 Titus von der Malsburg
2015-03-18 18:46 ` Rasmus
0 siblings, 1 reply; 4+ messages in thread
From: Titus von der Malsburg @ 2015-03-18 18:28 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 803 bytes --]
Hi list,
I use org mode to create my personal webpage via the HTML
exporter. Some parts of my webpage are automatically generated (using
bibtex2html) and stored as HTML fragments in separate files. I'd like
to include the content of these files in the resulting document but
there seems to be no way to achive this. One approach I tried is the
following:
* My personal home page
** Articles
#+INCLUDE "file1.html" html
** Posters
#+INCLUDE "file2.html" html
This, however, escapes the HTML from file1.html and file2.html and I see
the HTML source in the resulting webpage not the rendered version. Is
this a bug in the HTML exporter or is this the intended behavior? If
this behavior is intended, how can I include unescaped HTML in the
output of the HTML export?
Titus
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Include HTML fragments in HTML export
2015-03-18 18:28 Include HTML fragments in HTML export Titus von der Malsburg
@ 2015-03-18 18:46 ` Rasmus
2015-03-19 8:28 ` Giuseppe Lipari
0 siblings, 1 reply; 4+ messages in thread
From: Rasmus @ 2015-03-18 18:46 UTC (permalink / raw)
To: emacs-orgmode
Hi,
Titus von der Malsburg <malsburg@posteo.de> writes:
> * My personal home page
> ** Articles
> #+INCLUDE "file1.html" html
>
> ** Posters
> #+INCLUDE "file2.html" html
This works in Org 8.3. Org 8.2 does not seem to insert blocks
cf. org-export-expand-include-keyword.
Hope it helps,
Rasmus
--
Me gusta la noche, me gustas tú
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Include HTML fragments in HTML export
2015-03-18 18:46 ` Rasmus
@ 2015-03-19 8:28 ` Giuseppe Lipari
2015-03-19 16:03 ` Titus von der Malsburg
0 siblings, 1 reply; 4+ messages in thread
From: Giuseppe Lipari @ 2015-03-19 8:28 UTC (permalink / raw)
To: Rasmus; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 993 bytes --]
Hi,
I have a similar setting, and it works fine for me:
#+INCLUDE: ./all_pub.html html
(notice the absence of "" around the file name)
I use org-8.3beta (taken from the git repo some weeks ago).
Best,
Giuseppe Lipari
2015-03-18 19:46 GMT+01:00 Rasmus <rasmus@gmx.us>:
> Hi,
>
> Titus von der Malsburg <malsburg@posteo.de> writes:
>
>
> > * My personal home page
> > ** Articles
> > #+INCLUDE "file1.html" html
> >
> > ** Posters
> > #+INCLUDE "file2.html" html
>
> This works in Org 8.3. Org 8.2 does not seem to insert blocks
> cf. org-export-expand-include-keyword.
>
> Hope it helps,
> Rasmus
>
> --
> Me gusta la noche, me gustas tú
>
>
>
--
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: 2053 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Include HTML fragments in HTML export
2015-03-19 8:28 ` Giuseppe Lipari
@ 2015-03-19 16:03 ` Titus von der Malsburg
0 siblings, 0 replies; 4+ messages in thread
From: Titus von der Malsburg @ 2015-03-19 16:03 UTC (permalink / raw)
To: Giuseppe Lipari; +Cc: emacs-orgmode, Rasmus
[-- Attachment #1: Type: text/plain, Size: 919 bytes --]
Thanks Ramus and Giuseppe, as you say it works as expected in
v8.3beta.
Titus
On 2015-03-19 Thu 01:28, Giuseppe Lipari wrote:
> Hi,
>
> I have a similar setting, and it works fine for me:
>
> #+INCLUDE: ./all_pub.html html
>
> (notice the absence of "" around the file name)
>
> I use org-8.3beta (taken from the git repo some weeks ago).
>
> Best,
>
> Giuseppe Lipari
>
>
>
>
>
>
>
> 2015-03-18 19:46 GMT+01:00 Rasmus <rasmus@gmx.us>:
>
>> Hi,
>>
>> Titus von der Malsburg <malsburg@posteo.de> writes:
>>
>>
>> > * My personal home page
>> > ** Articles
>> > #+INCLUDE "file1.html" html
>> >
>> > ** Posters
>> > #+INCLUDE "file2.html" html
>>
>> This works in Org 8.3. Org 8.2 does not seem to insert blocks
>> cf. org-export-expand-include-keyword.
>>
>> Hope it helps,
>> Rasmus
>>
>> --
>> Me gusta la noche, me gustas tú
>>
>>
>>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-03-19 16:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-18 18:28 Include HTML fragments in HTML export Titus von der Malsburg
2015-03-18 18:46 ` Rasmus
2015-03-19 8:28 ` Giuseppe Lipari
2015-03-19 16:03 ` Titus von der Malsburg
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).