Re: [O] exporting quotes

2014-08-06 Thread Salome =?iso-8859-1?Q?S=F6dergran
 Salome S?dergran\ salome.soederg...@gmx.ch writes:
 
  Salome S?dergran\ wrote:
   I'm looking for a way to make orgmode export quote signs to LaTeX's 
   \enquote{}.
   On stackoverflow.com (1) I found a solution that uses 
 (setq org-export-with-smart-quotes t)
 (add-to-list 'org-export-smart-quotes-alist .)
   but on my system I find neither the variable 
   org-export-with-smart-quotes nor
   org-export-smartcodes-alist.
  
   Am I missing something or has the procedure been changed in the 
   meanwhile?
  
  You don't use Org mode 8, don't you?  Well, that'd explain...
  
  Best regards,
Seb
  
  -- 
  Sebastien Vauban
 
  With M-x org-version I get: 
Org-mode version 8.2.7b (8.2.7b-2-g798733-elpaplus @ 
  /home/salome/.emacs.d/elpa/org-plus-contrib-20140721/)
 
  So the version ought to be ok. What else could be the reason for the 
  missing variables?
 
 
 The variable is defined in ox.el. Try
 
   M-x locate-library RET ox RET
 
 and if that shows the right provenance, try
 
   M-x load-library RET ox-le RET
 
 and see if the variable is defined. But note that you *should not have*
 to do this: it should work right off the bat.
 
 If the problem persists (even after you restart emacs), I would suspect
 a mixed installation (search the list for this).
 
 Nick

Indeed! I find an older org-version (7.x) in /usr/share/emacs. I have now 
changed the order in the load-path-list to load the local installations first. 
After reading the things on the list an on worg on mixed installations I'm 
not sure if I might delete the org-subdirectory in /usr/share/emacs. So I leave 
it untouched  and hope that the changed order of the load paths will do the 
trick.

At any rate, I've now been able to set the org-export-with-smart-quotes 
variable and to adjust org-export-smart-quotes-alist. The latter didn't work at 
first, only after putting it into 
 (eval-after-load 'ox ...).

Now everything seems to be working fine. Thanks for the help!
Salome







[O] export quotes

2014-08-05 Thread Salome =?iso-8859-1?Q?S=F6dergran
Hi

I'm looking for a way to make orgmode export quote signs to LaTeX's \enquote{}.
On stackoverflow.com (1) I found a solution that uses 
  (setq org-export-with-smart-quotes t)
  (add-to-list 'org-export-smart-quotes-alist .)
but on my system I find neither the variable org-export-with-smart-quotes nor 
org-export-smartcodes-alist.

Am I missing something or has the procedure been changed in the meanwhile?

regards, salome


(1) 
http://stackoverflow.com/questions/9053276/how-can-i-use-csquotes-with-latex-export-in-org-mode



Re: [O] Emacs-orgmode Digest, Vol 102, Issue 5

2014-08-05 Thread Salome =?iso-8859-1?Q?S=F6dergran
 Salome S?dergran\ wrote:
  I'm looking for a way to make orgmode export quote signs to LaTeX's 
  \enquote{}.
  On stackoverflow.com (1) I found a solution that uses 
(setq org-export-with-smart-quotes t)
(add-to-list 'org-export-smart-quotes-alist .)
  but on my system I find neither the variable org-export-with-smart-quotes 
  nor
  org-export-smartcodes-alist.
 
  Am I missing something or has the procedure been changed in the meanwhile?
 
 You don't use Org mode 8, don't you?  Well, that'd explain...
 
 Best regards,
   Seb
 
 -- 
 Sebastien Vauban

With M-x org-version I get: 
  Org-mode version 8.2.7b (8.2.7b-2-g798733-elpaplus @ 
/home/salome/.emacs.d/elpa/org-plus-contrib-20140721/)

So the version ought to be ok. What else could be the reason for the missing 
variables?

Best, Salome



[O] export to latex without labels

2014-07-19 Thread Salome =?iso-8859-1?Q?S=F6dergran
Hello experts,

I've been fiddling around for a while now with the following problem:

When I export something from org to latex I get plenty of \labels that I never 
refer to. I'd like to get rid of all those labels.
I found some code [1] that uses a hook that does not work in orgmode anymore. 
So I tried to adapt that code to the new orgmode way with 
org-export-filter-final-functions:

(defun ks/org-latex-remove-labels (backend info)
  Remove labels generated by org-mode
  (when (org-export-derived-backend-p backend 'latex)
  (let ((case-fold-search nil))
   (goto-char 1)
   (replace-regexp label{sec-[0-9][^}]*} )
   )))

(eval-after-load 'ox-latex
  '(add-to-list 'org-export-filter-final-output-functions
'ks/org-latex-remove-labels))


When I now try to export something from org to latex, I get the following error 
message:
 Wrong number of arguments: (lambda (backend) Remove labels generated by 
org-mode (if (org-export-derived-backend-p backend (quote latex)) (progn (let 
((case-fold-search nil)) (goto-char 1) (replace-regexp 
label{sec-[0-9][^}]*} ), 3

I am just an emacs user, not a programmer, and I have no idea what's wrong and 
what I have to change to make it work. Can anyone give me a hint?
TIA, Salome


[1] 
http://stackoverflow.com/questions/18076328/org-mode-export-to-latex-suppress-generation-of-labels
 



Re: [O] A mail client that is org-mode compatible

2013-01-01 Thread Salome =?iso-8859-1?Q?S=F6dergran
Hi Gour

VM, too,  cooperates just fine with org.
I use orgstruct- and orgtbl-mode in mail-mode and linking and capturing work 
like a charm.

Salome


   I use Wanderlust and can make links from org just fine.
 
   I used gnus from 2008 to 2010 but could not make it work as I wanted. It 
 seemed to value some things that I didn't (e.g. scoring, splitting, 
 NNTP-style everywhere) whereas it didn't shine in other areas I needed (e.g. 
 multiple SMTP servers, usability). Wanderlust was working perfectly since the 
 first moment, and didn't require hacking, just configuration.
 
   Wanderlust is primarily an e-mail reader (IMAP, POP, Maildir, MH, ?) but it 
 can read NNTP natively, and some people also read RSS with it: 
 http://www.emacswiki.org/emacs/HOWTOReadFeedsInEmacsViaEmail
 
   So that's my bet.
 
 Daniel
 El Mon, 31 Dec 2012 08:29:12 +0100 Gour va escriure:
  [?]
  
  Afaict, there is no support in orgmode for Claws mailer which I use for
  regular email, mailing lists (mostly via gmane) as well as rss reader.
  
  is Gnus the only Emacs-based client which has good support for all of
  these as well as good support for orgmode?
  
  I'd also like to use Notmuch for quick searching and would fetch
  mail via getmail and use locally running dovecot for serving IMAP...
  
  Yesterday I read a bit about mu(4e), but it seems it handles only email
  and not nntp?
  
  
  Any hint?
  
  
  Sincerely,
  Gour
  



Re: [O] Error when changing todo-state [7.8.11]

2012-06-22 Thread Salome =?iso-8859-1?Q?S=F6dergran

Am 20.6.2012 schrieb Nick Dokos:
 Eric S Fraga e.fr...@ucl.ac.uk wrote:
  state has been changed to org-state.
 
 That's probably the cause of the problem, but there is still the question
 of whether state is used in some customization that the OP has done
 or whether there are inconsistencies in the update (i.e. old bits lying
 around and being used in preference to the new ones).
 
 Nick
 
Changing state to org-state in org-checklist.el solved the problem.
Thank you, Eric and Nicholas, for your hints! 
Salome