all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Org-mode, the strange export of certain tags
@ 2013-01-31 17:30 twiki7619
  2013-01-31 17:46 ` Bastien
       [not found] ` <mailman.18729.1359656227.855.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: twiki7619 @ 2013-01-31 17:30 UTC (permalink / raw)
  To: help-gnu-emacs

In a buffer in org-mode if I use as tags ":INFO:TODO:"

When I export to HTML TAG these are exported with different
styles from other TAG and are also listed in the index.

These tags also are inserted between the
tags "<a href...> ... </a>" :

In the HTML source:

...
<a href="#INFO-TODO">INFO:TODO</a>
...

I want simply:

...
<span class="tag"><span class="INFO">INFO</span>
<span class="TODO">TODO</span></span>
...

as for the other tags!

Suggestions???


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

* Re: Org-mode, the strange export of certain tags
  2013-01-31 17:30 Org-mode, the strange export of certain tags twiki7619
@ 2013-01-31 17:46 ` Bastien
       [not found] ` <mailman.18729.1359656227.855.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Bastien @ 2013-01-31 17:46 UTC (permalink / raw)
  To: twiki7619; +Cc: help-gnu-emacs

twiki7619@yahoo.it writes:

> In a buffer in org-mode if I use as tags ":INFO:TODO:"
>
> When I export to HTML TAG these are exported with different
> styles from other TAG and are also listed in the index.
>
> These tags also are inserted between the
> tags "<a href...> ... </a>" :
>
> In the HTML source:
>
> ...
> <a href="#INFO-TODO">INFO:TODO</a>
> ...
>
> I want simply:
>
> ...
> <span class="tag"><span class="INFO">INFO</span>
> <span class="TODO">TODO</span></span>
> ...
>
> as for the other tags!

I am not sure what you mean by other tags, but I guess you are
refering to TODO keywords.

Tags are exported differently than TODO keywords -- the simple 
reason here is that there may be several tags for one headline,
while there is always only one TODO keyword.

If I didn't understand what you meant, please provide a test.org
with more explanations -- ah, and basic info like Emacs and Org
version could help.

Thanks,

-- 
 Bastien



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

* Re: Org-mode, the strange export of certain tags
       [not found] ` <mailman.18729.1359656227.855.help-gnu-emacs@gnu.org>
@ 2013-02-01  0:23   ` twiki7619
  2013-02-04 21:15     ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: twiki7619 @ 2013-02-01  0:23 UTC (permalink / raw)
  To: gnu.emacs.help; +Cc: help-gnu-emacs

The test.org

--- --- --- --- --- --- --- ---

* 2013-01-25 Bla bla bla heading				    :INFO:LI:

- Bla bla bla bla

- Bla bla bla bla

- Bla bla bla bla

- Bla bla bla bla

* Bla bla heading two						    :TODO:LI:

- This is heading with "other tags"

--- --- --- --- --- --- --- ---

Exporting C-c C-e h

--- --- --- --- --- --- --- ---
...
<li><a href="#sec-1">2013-01-25 Bla bla bla heading&nbsp;&nbsp;&nbsp;<span class="tag">INFO:LI</span></a></li>
<li><a href="#sec-2">Bla bla heading two</a></li>
...
<div id="outline-container-1" class="outline-2">
<h2 id="sec-1">2013-01-25 Bla bla bla heading :<a href="#INFO-LI">INFO:LI</a>:</h2>
<div class="outline-text-2" id="text-1">
...
<div id="outline-container-2" class="outline-2">
<h2 id="sec-2">Bla bla heading two &nbsp;&nbsp;&nbsp;<span class="tag"><span class="TODO">TODO</span>&nbsp;<span class="LI">LI</span></span></h2>
<div class="outline-text-2" id="text-2">
...
--- --- --- --- --- --- --- ---

html-export for ":INFO:LI:" and ":TODO:LI:" is different!

I've:

- GNU Emacs 24.2.1 (i386-mingw-nt5.1.2600) of 2012-08-29 on MARVIN (Windows XP)
- Org-mode version 7.9.3d



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

* Re: Org-mode, the strange export of certain tags
  2013-02-01  0:23   ` twiki7619
@ 2013-02-04 21:15     ` Bastien
  0 siblings, 0 replies; 4+ messages in thread
From: Bastien @ 2013-02-04 21:15 UTC (permalink / raw)
  To: twiki7619; +Cc: help-gnu-emacs, gnu.emacs.help

twiki7619@yahoo.it writes:

> * 2013-01-25 Bla bla bla heading				    :INFO:LI:
> * Bla bla heading two						    :TODO:LI:

I confirm the bug.  This is because INFO: is considered a link.

(Try info:Org in your org file to test the info type links.)

I fixed the bug in Org's git repo, it will be part of the next merge.

Thanks for reporting this,

-- 
 Bastien



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

end of thread, other threads:[~2013-02-04 21:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-31 17:30 Org-mode, the strange export of certain tags twiki7619
2013-01-31 17:46 ` Bastien
     [not found] ` <mailman.18729.1359656227.855.help-gnu-emacs@gnu.org>
2013-02-01  0:23   ` twiki7619
2013-02-04 21:15     ` Bastien

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.