emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to avoid figure numbering in html export
@ 2015-04-07 15:28 Simon W. Jones
  2015-04-07 16:12 ` Rasmus
  0 siblings, 1 reply; 3+ messages in thread
From: Simon W. Jones @ 2015-04-07 15:28 UTC (permalink / raw)
  To: emacs-orgmode

Hello there,

I suspect this is straight forward, but I don't seem to be able to work
it out on my own.

I use Org to to make a large html document that contains a number of
images. I export the document and under each image I get something like:

Figure 6: Name of image.

How can I have simply "Name of image" without the prefix "Figure n:"?

Many thanks.

Simon.

-- 
  Simon W. Jones

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

* Re: How to avoid figure numbering in html export
  2015-04-07 15:28 How to avoid figure numbering in html export Simon W. Jones
@ 2015-04-07 16:12 ` Rasmus
  2015-04-07 18:06   ` Simon Jones
  0 siblings, 1 reply; 3+ messages in thread
From: Rasmus @ 2015-04-07 16:12 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

"Simon W. Jones" <swjones@fastmail.fm> writes:

> I suspect this is straight forward, but I don't seem to be able to work
> it out on my own.
>
> I use Org to to make a large html document that contains a number of
> images. I export the document and under each image I get something like:
>
> Figure 6: Name of image.
>
> How can I have simply "Name of image" without the prefix "Figure n:"?

You could use a filter, probably org-export-filter-link-functions(?).
Alternatively you could mess with org-export-dictionary for the language
you are concerned about.

Perhaps, the dictionary should be amendable via ox-publish for such cases.

Cheers,
Rasmus

-- 
Send from my Emacs

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

* Re: How to avoid figure numbering in html export
  2015-04-07 16:12 ` Rasmus
@ 2015-04-07 18:06   ` Simon Jones
  0 siblings, 0 replies; 3+ messages in thread
From: Simon Jones @ 2015-04-07 18:06 UTC (permalink / raw)
  To: Rasmus; +Cc: emacs-orgmode@gnu.org

Thanks for the prompt reply Rasmus. 

I thought it might be easier than this :-(. I don't really understand enough to fix it.

All the best,
Simon.

-----------

> On 7 Apr 2015, at 17:12, Rasmus <rasmus@gmx.us> wrote:
> 
> Hi,
> 
> "Simon W. Jones" <swjones@fastmail.fm> writes:
> 
>> I suspect this is straight forward, but I don't seem to be able to work
>> it out on my own.
>> 
>> I use Org to to make a large html document that contains a number of
>> images. I export the document and under each image I get something like:
>> 
>> Figure 6: Name of image.
>> 
>> How can I have simply "Name of image" without the prefix "Figure n:"?
> 
> You could use a filter, probably org-export-filter-link-functions(?).
> Alternatively you could mess with org-export-dictionary for the language
> you are concerned about.
> 
> Perhaps, the dictionary should be amendable via ox-publish for such cases.
> 
> Cheers,
> Rasmus
> 
> -- 
> Send from my Emacs
> 
> 

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

end of thread, other threads:[~2015-04-07 18:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-07 15:28 How to avoid figure numbering in html export Simon W. Jones
2015-04-07 16:12 ` Rasmus
2015-04-07 18:06   ` Simon Jones

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).