emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Problem with dates while generating HTML
@ 2012-03-05 16:10 François Pinard
  2012-03-05 16:32 ` Nick Dokos
  2012-04-10 17:42 ` Bastien
  0 siblings, 2 replies; 5+ messages in thread
From: François Pinard @ 2012-03-05 16:10 UTC (permalink / raw)
  To: emacs-orgmode

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


Given the following header contents:

--8<---------------cut here---------------start------------->8---
* Problème date
- [[file:2012-02-29.org::*Notes][2012-02-29]]
- [[file:2012-02-29.org::*Notes][Du 2012-02-29]]
--8<---------------cut here---------------end--------------->8---

here is how it is shown in the Web browser after publishing:


[-- Attachment #2: Capture du 2012-03-05.png --]
[-- Type: image/png, Size: 21033 bytes --]

[-- Attachment #3: Type: text/plain, Size: 184 bytes --]


I added "Du " as a prefix to get going, but the ideal would be to
directly use 2012-02-29 as the link description.  Is there a way, or is
it a limitation (or a bug)?

François

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

* Re: Problem with dates while generating HTML
  2012-03-05 16:10 Problem with dates while generating HTML François Pinard
@ 2012-03-05 16:32 ` Nick Dokos
  2012-04-10 17:42 ` Bastien
  1 sibling, 0 replies; 5+ messages in thread
From: Nick Dokos @ 2012-03-05 16:32 UTC (permalink / raw)
  To: =?utf-8?Q?Fran=C3=A7ois?= Pinard; +Cc: nicholas.dokos, emacs-orgmode

François Pinard <pinard@iro.umontreal.ca> wrote:

> 
> Given the following header contents:
> 
> * Problème date
> - [[file:2012-02-29.org::*Notes][2012-02-29]]
> - [[file:2012-02-29.org::*Notes][Du 2012-02-29]]
> 
> here is how it is shown in the Web browser after publishing:
> 
> 
> I added "Du " as a prefix to get going, but the ideal would be to
> directly use 2012-02-29 as the link description.  Is there a way, or is
> it a limitation (or a bug)?
> 

[2012-02-29] looks like an inactive date, as well as the description of
a link.  I presume the ambiguity causes this problem, so you somehow
have to disambiguate it.  Prefixing it with Du (or just about anything,
including a space) is one way to do that.

So a limitation certainly - a bug? Maybe, maybe not.

Nick

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

* Re: Problem with dates while generating HTML
  2012-03-05 16:10 Problem with dates while generating HTML François Pinard
  2012-03-05 16:32 ` Nick Dokos
@ 2012-04-10 17:42 ` Bastien
  2012-04-10 19:42   ` François Pinard
  1 sibling, 1 reply; 5+ messages in thread
From: Bastien @ 2012-04-10 17:42 UTC (permalink / raw)
  To: François Pinard; +Cc: emacs-orgmode

Hi François,

pinard@iro.umontreal.ca (François Pinard) writes:

> I added "Du " as a prefix to get going, but the ideal would be to
> directly use 2012-02-29 as the link description.  Is there a way, or is
> it a limitation (or a bug)?

I would call it a limitation.

-- 
 Bastien

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

* Re: Problem with dates while generating HTML
  2012-04-10 17:42 ` Bastien
@ 2012-04-10 19:42   ` François Pinard
  2012-04-10 20:46     ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: François Pinard @ 2012-04-10 19:42 UTC (permalink / raw)
  To: emacs-orgmode

Bastien <bzg@gnu.org> writes:

> Hi François,

Bonjour, Bastien!

>> I added "Du " as a prefix to get going, but the ideal would be to
>> directly use 2012-02-29 as the link description.  Is there a way, or is
>> it a limitation (or a bug)?

> I would call it a limitation.

Could it be documented somewhere appropriate?  Along with Nick's
suggestion of prefixing the date with a space to prevent the problem.

François

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

* Re: Problem with dates while generating HTML
  2012-04-10 19:42   ` François Pinard
@ 2012-04-10 20:46     ` Bastien
  0 siblings, 0 replies; 5+ messages in thread
From: Bastien @ 2012-04-10 20:46 UTC (permalink / raw)
  To: François Pinard; +Cc: emacs-orgmode

Bonjour François,

pinard@iro.umontreal.ca (François Pinard) writes:

> Bastien <bzg@gnu.org> writes:
>
>> Hi François,
>
> Bonjour, Bastien!
>
>>> I added "Du " as a prefix to get going, but the ideal would be to
>>> directly use 2012-02-29 as the link description.  Is there a way, or is
>>> it a limitation (or a bug)?
>
>> I would call it a limitation.
>
> Could it be documented somewhere appropriate?  Along with Nick's
> suggestion of prefixing the date with a space to prevent the problem.

Yes, it could be documented in an appropriate place in Worg.

Please suggest one and send a patch!

Best,

-- 
 Bastien

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

end of thread, other threads:[~2012-04-10 20:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-05 16:10 Problem with dates while generating HTML François Pinard
2012-03-05 16:32 ` Nick Dokos
2012-04-10 17:42 ` Bastien
2012-04-10 19:42   ` François Pinard
2012-04-10 20:46     ` Bastien

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