emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* tags pdfs vs. html
@ 2013-02-18 16:56 m k
  2013-02-20 15:43 ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: m k @ 2013-02-18 16:56 UTC (permalink / raw)
  To: emacs-orgmode

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

Hello,

I am new to org-mode. When I place a tag :New: at the end of a line...when
I export to html, the text new is visible highlighted in blue. However,
when I export to pdf, the text :New: is there. How can I make the pdf
display the same formatting as the html?

Also, if I want the highlighting to be in yellow, how can I make that
change?

Thank you.

Mark

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

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

* Re: tags pdfs vs. html
  2013-02-18 16:56 tags pdfs vs. html m k
@ 2013-02-20 15:43 ` Bastien
  2013-02-20 17:06   ` Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: Bastien @ 2013-02-20 15:43 UTC (permalink / raw)
  To: m k; +Cc: emacs-orgmode

Hi,

m k <yatr98@gmail.com> writes:

> I am new to org-mode. When I place a tag :New: at the end of a
> line...when I export to html, the text new is visible highlighted in
> blue. However, when I export to pdf, the text :New: is there. How can
> I make the pdf display the same formatting as the html? 

The display of the tags is different because HTML and LaTeX are
different.  There use to be `org-export-latex-tag-markup' which
told what markup to use for the LaTeX tag, we could revive it.

Nicolas, what do you think?

> Also, if I want the highlighting to be in yellow, how can I make that
> change?

In the CSS, modify the class "tag".

HTH,

-- 
 Bastien

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

* Re: tags pdfs vs. html
  2013-02-20 15:43 ` Bastien
@ 2013-02-20 17:06   ` Nicolas Goaziou
  2013-02-23 14:02     ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2013-02-20 17:06 UTC (permalink / raw)
  To: Bastien; +Cc: m k, emacs-orgmode

Hello,

Bastien <bzg@altern.org> writes:

> m k <yatr98@gmail.com> writes:
>
>> I am new to org-mode. When I place a tag :New: at the end of a
>> line...when I export to html, the text new is visible highlighted in
>> blue. However, when I export to pdf, the text :New: is there. How can
>> I make the pdf display the same formatting as the html? 
>
> The display of the tags is different because HTML and LaTeX are
> different.  There use to be `org-export-latex-tag-markup' which
> told what markup to use for the LaTeX tag, we could revive it.
>
> Nicolas, what do you think?

There are already two ways to configure tags in latex back-end:
`org-latex-format-headline-function' (which is easy to use) and headline
filters.

If you think the request is common enough to justify a dedicated
variable, go ahead (or I can do it, if you don't want to). Though, as
far as I'm concerned, I'm not convinced it is useful here.


Regards,

-- 
Nicolas Goaziou

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

* Re: tags pdfs vs. html
  2013-02-20 17:06   ` Nicolas Goaziou
@ 2013-02-23 14:02     ` Bastien
  2013-02-23 14:09       ` Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: Bastien @ 2013-02-23 14:02 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: m k, emacs-orgmode

Hi Nicolas,

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

> There are already two ways to configure tags in latex back-end:
> `org-latex-format-headline-function' (which is easy to use) and headline
> filters.

I ended up extracting the example function that was in the docstring
of `org-latex-format-headline-function' and the code now use this for 
`org-latex-format-headline-default-function'.  That was we have both
compatibility and the flexibility you introduced.  

Hope that's fine with you!

Best,

-- 
 Bastien

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

* Re: tags pdfs vs. html
  2013-02-23 14:02     ` Bastien
@ 2013-02-23 14:09       ` Nicolas Goaziou
  0 siblings, 0 replies; 5+ messages in thread
From: Nicolas Goaziou @ 2013-02-23 14:09 UTC (permalink / raw)
  To: Bastien; +Cc: m k, emacs-orgmode

Hello,

Bastien <bzg@altern.org> writes:

> I ended up extracting the example function that was in the docstring
> of `org-latex-format-headline-function' and the code now use this for 
> `org-latex-format-headline-default-function'.  That was we have both
> compatibility and the flexibility you introduced.  
>
> Hope that's fine with you!

I don't really mind, but since `org-latex-format-headline-function' can
never be nil, `org-latex-headline' should be modified accordingly (i.e.
default behaviour should just be removed from the function).

Also, it isn't symmetrical anymore with
`org-latex-format-inlinetask-function' and
`org-latex-format-drawer-function'.

So I think these should be changed accordingly.


Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2013-02-23 14:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-18 16:56 tags pdfs vs. html m k
2013-02-20 15:43 ` Bastien
2013-02-20 17:06   ` Nicolas Goaziou
2013-02-23 14:02     ` Bastien
2013-02-23 14:09       ` Nicolas Goaziou

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