Re: [O] postamble removal

2012-03-26 Thread prad
Bastien b...@gnu.org writes:

 prad p...@towardsfreedom.com writes:

 this removes the author through a template:
 #+OPTIONS: :nil author:nil

 is there a variable to remove the entire postamble?

 (setq org-export-html-postamble nil)

 is there a way i can add things to the postamble such as a horizontal line?

 (setq org-export-html-postamble hr /)

thx bastien!

i was hoping i could do these things through org templates rather than
through the dotemacs file.

for instance, i can eliminate the author because it seems
author:nil
will nil out the author 'variable'.

is there something like this i can put into a org template for the other stuff?

-- 
in friendship,
prad




[O] postamble removal

2012-03-25 Thread prad
this removes the author through a template:
#+OPTIONS: :nil author:nil

is there a variable to remove the entire postamble?
is there a way i can add things to the postamble such as a horizontal line?

-- 
in friendship,
prad




[O] setting default pdf viewer

2012-03-11 Thread prad
how do i set evince as the default.

right now xpdf is, but if i remove it, following a link to a pdf file
produces nothing.

i'm using gnome and evince is the default there (eg through nautilus),
so somehow it seems that orgmode has decided to make xpdf the default
instead.

-- 
in friendship,
prad




Re: [O] setting default pdf viewer

2012-03-11 Thread prad
Puneeth Chaganti puncha...@gmail.com writes:

 On Sun, Mar 11, 2012 at 1:31 PM, prad p...@towardsfreedom.com wrote:
 how do i set evince as the default.

 right now xpdf is, but if i remove it, following a link to a pdf file
 produces nothing.

 i'm using gnome and evince is the default there (eg through nautilus),
 so somehow it seems that orgmode has decided to make xpdf the default
 instead.

 Customize the variable `org-file-apps'.  Look at documentation of the
 variable, for an example and options available.

thx Puneeth! that's what i was looking for!
strange thing is that it was already set to default so i thought evince
would come up. then i changed it to system and xpdf still opened it.

anyway, i altered it to 
evince -p %1 %s

and all is well.

-- 
in friendship,
prad




Re: [O] setting default pdf viewer

2012-03-11 Thread prad
Nick Dokos nicholas.do...@hp.com writes:

 prad p...@towardsfreedom.com wrote:

 how do i set evince as the default.
 
 right now xpdf is, but if i remove it, following a link to a pdf file
 produces nothing.
 
 i'm using gnome and evince is the default there (eg through nautilus),
 so somehow it seems that orgmode has decided to make xpdf the default
 instead.
 

 But why is org using xpdf, if the system default is evince?

that's what i can't figure out - but admittedly i haven't looked too
deeply into this.

 What OS are you running? At least on unix/linux-y systems, you shouldn't
 have to customize org-file-apps: just check ~/.mailcap (and/or
 /etc/mailcap).

i'm on debian squeeze.

here's what i found in /etc/mailcap

application/pdf; /usr/bin/xpdf '%s'; test=test $DISPLAY != ; 
description=Portable Document Format; nametemplate=%s.pdf

application/x-pdf; /usr/bin/xpdf '%s'; test=test $DISPLAY != ; 
description=Portable Document Format; nametemplate=%s.pdf

application/pdf; evince '%s'; test=test -n $DISPLAY; nametemplate=%s.pdf

however, i'm not sure how to interpret this.

 IMO, changing mailcap has the advantage that *all* mailcap-enabled
 applications will do the right thing, whereas customizing org-file-apps
 just fixes org (I'm assuming of course that you always want evince, not
 sometimes one and sometimes the other.)

ya that would be good!
since it is consistency that i'm after, i'd prefer to have emacs run
evince because it is the system default rather than because i've changed
the variable.


-- 
in friendship,
prad




Re: [O] italicizing urls

2012-01-31 Thread prad
t...@tsdye.com (Thomas S. Dye) writes:

 prad p...@towardsfreedom.com writes:

 since a url uses the forward slash as do italicized items, i'm having
 difficulty italicizing urls on the html export.

 /just [[http://gohere.com][go here]] will you?/

 shows up as 
 /just go here will you?/
 on the html export (though the go here link is valid) with nothing
 italicized and the forward slashes visible.

 i can get around it this way to some extent:
 /just/ [[http://gohere.com][go here]] /will you?/

 but was wondering if there is a better way since the go here is still
 not italicized.

 Aloha prad,

 Would this work for you?

 /just/ [[http://gohere.com][/go here/]] /will you?/

 All the best,
 Tom

hi tom! thx for this, but it seems to be the same thing that i have in
my initial post.

i was hoping not to have to break up the line into pieces.

i even tried putting escapes in:
http:\/\/gohere...
but that didn't work.

i guess orgmode doesn't leave the / inside [[][]] alone.

-- 
in friendship,
prad




[O] italicizing urls

2012-01-29 Thread prad

since a url uses the forward slash as do italicized items, i'm having
difficulty italicizing urls on the html export.

/just [[http://gohere.com][go here]] will you?/

shows up as 
/just go here will you?/
on the html export (though the go here link is valid) with nothing
italicized and the forward slashes visible.

i can get around it this way to some extent:
/just/ [[http://gohere.com][go here]] /will you?/

but was wondering if there is a better way since the go here is still
not italicized.

-- 
in friendship,
prad




[O] benefit to having org files in one folder

2011-12-10 Thread prad
i read somewhere that we should keep orgfiles in an org folder.
i've used org casually that way and otherwise.

what advantages are there to having them in a single folder?

-- 
in friendship,
prad




Re: [O] Org as a publishing toolkit

2011-05-10 Thread prad
Marcelo de Moraes Serpa celose...@gmail.com writes:

 It's nice to be part of such a great community. Orgmode ROCKS!

ya i think org may become quite possibly the most useful item i use
... once i learn how to do more with it.

-- 
in friendship,
prad