emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* global config for table and export style
@ 2009-10-18 15:33 Eraldo Helal
  2009-10-18 16:05 ` Dan Davison
  0 siblings, 1 reply; 7+ messages in thread
From: Eraldo Helal @ 2009-10-18 15:33 UTC (permalink / raw)
  To: Org-Mode

how can I globally:
- make exporting tables with borders the default > #+ATTR_HTML:
border="2" rules="all" frame="all"
- make html export aware of line breaks > #+OPTIONS: \n:t

in other words...
how can I set
- #+ATTR_HTML: border="2" rules="all" frame="all"
- #+OPTIONS: \n:t
in my .emacs file?

Greetings,
Eraldo

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

* Re: global config for table and export style
  2009-10-18 15:33 global config for table and export style Eraldo Helal
@ 2009-10-18 16:05 ` Dan Davison
  2009-10-18 16:13   ` Eraldo Helal
  0 siblings, 1 reply; 7+ messages in thread
From: Dan Davison @ 2009-10-18 16:05 UTC (permalink / raw)
  To: Eraldo Helal; +Cc: Org-Mode

Eraldo Helal <eraldo@eraldo.at> writes:

> how can I globally:
> - make exporting tables with borders the default > #+ATTR_HTML:
> border="2" rules="all" frame="all"
> - make html export aware of line breaks > #+OPTIONS: \n:t
>
> in other words...
> how can I set
> - #+ATTR_HTML: border="2" rules="all" frame="all"
> - #+OPTIONS: \n:t
> in my .emacs file?

Hi Eraldo,

I don't know the answer, but an alternative is place the various common
settings in a single org file, and activate them in other files by using
a #+setupfile: line.

http://orgmode.org/manual/In_002dbuffer-settings.html#In_002dbuffer-settings
http://orgmode.org/manual/Export-options.html#Export-options

Dan

>
> Greetings,
> Eraldo
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: global config for table and export style
  2009-10-18 16:05 ` Dan Davison
@ 2009-10-18 16:13   ` Eraldo Helal
  2009-10-19  7:15     ` Carsten Dominik
  0 siblings, 1 reply; 7+ messages in thread
From: Eraldo Helal @ 2009-10-18 16:13 UTC (permalink / raw)
  To: Dan Davison; +Cc: Org-Mode

Yup...
Thank you for your feedback...
However this solution conflicts with some publish settigs of mine  ;; timestamps

I would still prefer a global setting if that is possible.
I prefer my tables to be with borders in any file!
The same holds true for html export.

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

* Re: global config for table and export style
  2009-10-18 16:13   ` Eraldo Helal
@ 2009-10-19  7:15     ` Carsten Dominik
  2009-10-19  8:48       ` Links and file association Christoph Herzog
  2009-10-19 15:07       ` global config for table and export style Eraldo Helal
  0 siblings, 2 replies; 7+ messages in thread
From: Carsten Dominik @ 2009-10-19  7:15 UTC (permalink / raw)
  To: Eraldo Helal; +Cc: Dan Davison, Org-Mode

Hi Eraldo,

if you take a look at

     http://orgmode.org/worg/org-tutorials/org-customize.php

and follow the advice given there, you would probably quickly find the  
variables
org-export-preserve-breaks and org-export-html-table-tag.

HTH

- Carsten

On Oct 18, 2009, at 6:13 PM, Eraldo Helal wrote:

> Yup...
> Thank you for your feedback...
> However this solution conflicts with some publish settigs of  
> mine  ;; timestamps
>
> I would still prefer a global setting if that is possible.
> I prefer my tables to be with borders in any file!
> The same holds true for html export.
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

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

* Links and file association
  2009-10-19  7:15     ` Carsten Dominik
@ 2009-10-19  8:48       ` Christoph Herzog
  2009-10-19 10:32         ` Giovanni Ridolfi
  2009-10-19 15:07       ` global config for table and export style Eraldo Helal
  1 sibling, 1 reply; 7+ messages in thread
From: Christoph Herzog @ 2009-10-19  8:48 UTC (permalink / raw)
  To: emacs-orgmode

When in org-mode I try to open a link that contains the path to an 
OpenOffice.org writer file (file suffix *.odt) emacs assumes (correctly) 
  that it is a zip-file (*odt-files are in fact consisting of several 
zipped files) and opens it in a separate buffer saying "Zip-Archive". 
However, this is of course not what I want.
I am aware that this is most probably not an org-mode issue but has 
perhaps either to do with archive-mode or more generally with the way 
emacs is recognizing file-types. I looked at the /etc/mailcap file, but 
it seems ok and on the Desktop things are working for me. It's only with 
emacs that I have this problem (both emacs 22 and  emacs 23.0.91.1 
(i486-pc-linux-gnu, GTK+ Version 2.16.0). I'm using Kubuntu 9.04

I was unable to find a solution, so I'm hoping that someone perhaps 
knows a way to solve this. Thanks a lot.

Christoph

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

* Re: Links and file association
  2009-10-19  8:48       ` Links and file association Christoph Herzog
@ 2009-10-19 10:32         ` Giovanni Ridolfi
  0 siblings, 0 replies; 7+ messages in thread
From: Giovanni Ridolfi @ 2009-10-19 10:32 UTC (permalink / raw)
  To: emacs-orgmode, Christoph Herzog

--- Lun 19/10/09, Christoph Herzog <rhogez@googlemail.com> ha scritto:
> When in org-mode I try to open a link
> that contains the path to an OpenOffice.org writer file
> (file suffix *.odt) emacs a[...] opens 
> it in a separate buffer saying
> "Zip-Archive". 
> [...] I looked at the /etc/mailcap file, 

what about  your  
$HOME/.mailcap
?

(yes, I know ther are too many places to hide 
configuration issues ;-)

> but it seems ok and on the
> Desktop things are working for me. It's only with emacs that
> I have this problem (both emacs 22 and  emacs 23.0.91.1
> (i486-pc-linux-gnu, GTK+ Version 2.16.0). I'm using Kubuntu
> 9.04

Perhaps you might want to wait the kubuntu 9.10 
realease with Emacs 23.1 ? ;-)

https://lists.ubuntu.com/archives/karmic-changes/2009-October/010131.html

cheers,
Giovanni




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

* Re: global config for table and export style
  2009-10-19  7:15     ` Carsten Dominik
  2009-10-19  8:48       ` Links and file association Christoph Herzog
@ 2009-10-19 15:07       ` Eraldo Helal
  1 sibling, 0 replies; 7+ messages in thread
From: Eraldo Helal @ 2009-10-19 15:07 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: Dan Davison, Org-Mode

Thank you!

I underestimated the customize search.
Thank you Carsten for reminding me.
This is exactly what I was looking for.

MfG
Eraldo

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

end of thread, other threads:[~2009-10-19 15:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-18 15:33 global config for table and export style Eraldo Helal
2009-10-18 16:05 ` Dan Davison
2009-10-18 16:13   ` Eraldo Helal
2009-10-19  7:15     ` Carsten Dominik
2009-10-19  8:48       ` Links and file association Christoph Herzog
2009-10-19 10:32         ` Giovanni Ridolfi
2009-10-19 15:07       ` global config for table and export style Eraldo Helal

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