all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Question about HTML export, drawers, and links
@ 2012-09-12 18:25 Thomas Moyer
  2012-09-19 10:57 ` Bastien
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Moyer @ 2012-09-12 18:25 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 542 bytes --]

I have a set of files that I put notes in that I would like to export to
HTML. When I do this, I have configured everything to allow certain drawers
to included in the export, but those drawers are put in <pre> blocks. Is
there a way to convince the export mechanism to treat links inside drawers
as links that need exported. I put a link in the drawer to another file and
would like the link to work.

Maybe I am using the wrong construct and should be using something other
than a drawer?

Thanks!

-Tom

--
Thomas Moyer
tommoyer@gmail.com

[-- Attachment #2: Type: text/html, Size: 726 bytes --]

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

* Re: Question about HTML export, drawers, and links
  2012-09-12 18:25 Question about HTML export, drawers, and links Thomas Moyer
@ 2012-09-19 10:57 ` Bastien
  2012-09-19 12:56   ` Nicolas Goaziou
  0 siblings, 1 reply; 7+ messages in thread
From: Bastien @ 2012-09-19 10:57 UTC (permalink / raw)
  To: Thomas Moyer; +Cc: emacs-orgmode

Hi Thomas,

Thomas Moyer <tommoyer@gmail.com> writes:

> I have a set of files that I put notes in that I would like to export
> to HTML. When I do this, I have configured everything to allow
> certain drawers to included in the export, but those drawers are put
> in <pre> blocks. Is there a way to convince the export mechanism to
> treat links inside drawers as links that need exported. I put a link
> in the drawer to another file and would like the link to work.

This is not currently possible.

The new HTML exporter (contrib/lisp/org-e-html.el) supports using a
custom function to export drawers.  It is not easily usable for now, 
but maybe you can explore from there.

Best,

-- 
 Bastien

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

* Re: Question about HTML export, drawers, and links
  2012-09-19 10:57 ` Bastien
@ 2012-09-19 12:56   ` Nicolas Goaziou
  2012-09-21 16:21     ` Bastien
  0 siblings, 1 reply; 7+ messages in thread
From: Nicolas Goaziou @ 2012-09-19 12:56 UTC (permalink / raw)
  To: Bastien; +Cc: Thomas Moyer, emacs-orgmode

Hello,

Bastien <bzg@altern.org> writes:

> Thomas Moyer <tommoyer@gmail.com> writes:
>
>> I have a set of files that I put notes in that I would like to export
>> to HTML. When I do this, I have configured everything to allow
>> certain drawers to included in the export, but those drawers are put
>> in <pre> blocks. Is there a way to convince the export mechanism to
>> treat links inside drawers as links that need exported. I put a link
>> in the drawer to another file and would like the link to work.
>
> This is not currently possible.
>
> The new HTML exporter (contrib/lisp/org-e-html.el) supports using a
> custom function to export drawers.  It is not easily usable for now, 
> but maybe you can explore from there.

AFAIU, the new exporter defaults to what the OP is asking for.


Regards,

-- 
Nicolas Goaziou

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

* Re: Question about HTML export, drawers, and links
  2012-09-19 12:56   ` Nicolas Goaziou
@ 2012-09-21 16:21     ` Bastien
  2012-10-13  1:22       ` Thomas Moyer
  0 siblings, 1 reply; 7+ messages in thread
From: Bastien @ 2012-09-21 16:21 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: Thomas Moyer, emacs-orgmode

Nicolas Goaziou <n.goaziou@gmail.com> writes:

>> Thomas Moyer <tommoyer@gmail.com> writes:
>>
>>> I have a set of files that I put notes in that I would like to export
>>> to HTML. When I do this, I have configured everything to allow
>>> certain drawers to included in the export, but those drawers are put
>>> in <pre> blocks. Is there a way to convince the export mechanism to
>>> treat links inside drawers as links that need exported. I put a link
>>> in the drawer to another file and would like the link to work.
>>
>> This is not currently possible.
>>
>> The new HTML exporter (contrib/lisp/org-e-html.el) supports using a
>> custom function to export drawers.  It is not easily usable for now, 
>> but maybe you can explore from there.
>
> AFAIU, the new exporter defaults to what the OP is asking for.

Indeed, thanks for double-checking.

-- 
 Bastien

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

* Re: Question about HTML export, drawers, and links
  2012-09-21 16:21     ` Bastien
@ 2012-10-13  1:22       ` Thomas Moyer
  2012-10-13  7:49         ` Sebastien Vauban
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Moyer @ 2012-10-13  1:22 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode, Nicolas Goaziou

[-- Attachment #1: Type: text/plain, Size: 1074 bytes --]

So what would I need to do to use the "new exporter"?

-Tom

--
Thomas Moyer
tommoyer@gmail.com



On Fri, Sep 21, 2012 at 12:21 PM, Bastien <bzg@altern.org> wrote:

> Nicolas Goaziou <n.goaziou@gmail.com> writes:
>
> >> Thomas Moyer <tommoyer@gmail.com> writes:
> >>
> >>> I have a set of files that I put notes in that I would like to export
> >>> to HTML. When I do this, I have configured everything to allow
> >>> certain drawers to included in the export, but those drawers are put
> >>> in <pre> blocks. Is there a way to convince the export mechanism to
> >>> treat links inside drawers as links that need exported. I put a link
> >>> in the drawer to another file and would like the link to work.
> >>
> >> This is not currently possible.
> >>
> >> The new HTML exporter (contrib/lisp/org-e-html.el) supports using a
> >> custom function to export drawers.  It is not easily usable for now,
> >> but maybe you can explore from there.
> >
> > AFAIU, the new exporter defaults to what the OP is asking for.
>
> Indeed, thanks for double-checking.
>
> --
>  Bastien
>

[-- Attachment #2: Type: text/html, Size: 1832 bytes --]

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

* Re: Question about HTML export, drawers, and links
  2012-10-13  1:22       ` Thomas Moyer
@ 2012-10-13  7:49         ` Sebastien Vauban
  2012-10-13 13:26           ` Nick Dokos
  0 siblings, 1 reply; 7+ messages in thread
From: Sebastien Vauban @ 2012-10-13  7:49 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi Thomas,

Thomas Moyer wrote:
> So what would I need to do to use the "new exporter"?

--8<---------------cut here---------------start------------->8---
(require 'org-export)

(require 'org-e-ascii) ; if you want

(require 'org-e-html)  ; if you want

;; LaTeX back-end for Org generic export engine
(require 'org-e-latex)

(require 'org-e-beamer)

;; bind the new exporter dispatch to a key sequence
(define-key org-mode-map (kbd "C-c E") 'org-export-dispatch)
--8<---------------cut here---------------end--------------->8---

and then use `C-c E' instead of `C-c C-e'.

Best regards,
  Seb

-- 
Sebastien Vauban

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

* Re: Question about HTML export, drawers, and links
  2012-10-13  7:49         ` Sebastien Vauban
@ 2012-10-13 13:26           ` Nick Dokos
  0 siblings, 0 replies; 7+ messages in thread
From: Nick Dokos @ 2012-10-13 13:26 UTC (permalink / raw)
  To: Sebastien Vauban; +Cc: emacs-orgmode

Sebastien Vauban <wxhgmqzgwmuf@spammotel.com> wrote:

> Hi Thomas,
> 
> Thomas Moyer wrote:
> > So what would I need to do to use the "new exporter"?
> 
> (require 'org-export)
> 

IIUC, this is not needed any longer: each specific exporter
below does a require on it.

Nick

> (require 'org-e-ascii) ; if you want
> 
> (require 'org-e-html)  ; if you want
> 
> ;; LaTeX back-end for Org generic export engine
> (require 'org-e-latex)
> 
> (require 'org-e-beamer)
> 
> ;; bind the new exporter dispatch to a key sequence
> (define-key org-mode-map (kbd "C-c E") 'org-export-dispatch)
> 
> and then use `C-c E' instead of `C-c C-e'.
> 
> Best regards,
>   Seb
> 
> -- 
> Sebastien Vauban
> 
> 

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

end of thread, other threads:[~2012-10-13 13:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-12 18:25 Question about HTML export, drawers, and links Thomas Moyer
2012-09-19 10:57 ` Bastien
2012-09-19 12:56   ` Nicolas Goaziou
2012-09-21 16:21     ` Bastien
2012-10-13  1:22       ` Thomas Moyer
2012-10-13  7:49         ` Sebastien Vauban
2012-10-13 13:26           ` Nick Dokos

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.