* Re: exporting quotes
@ 2014-08-06 9:09 Salome =?iso-8859-1?Q?S=F6dergran ?=
2014-08-06 18:19 ` Achim Gratz
0 siblings, 1 reply; 4+ messages in thread
From: Salome =?iso-8859-1?Q?S=F6dergran ?= @ 2014-08-06 9:09 UTC (permalink / raw)
To: emacs-orgmode
> "Salome "S?dergran\"" <salome.soedergran@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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: exporting quotes
2014-08-06 9:09 Salome =?iso-8859-1?Q?S=F6dergran ?=
@ 2014-08-06 18:19 ` Achim Gratz
0 siblings, 0 replies; 4+ messages in thread
From: Achim Gratz @ 2014-08-06 18:19 UTC (permalink / raw)
To: emacs-orgmode
Salome "Södergran\" writes:
> 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.
When you install from ELPA, leave load-path alone (remove any
alterations in respect to Org or any other package installed via ELPA),
but you must make sure that:
1) The original Org installation that comes with Emacs must not be
loaded in any way when you install from ELPA. This is most easily done
by doing the install from "emacs -Q", although you may then need to set
up package manager in that session.
2) After installation, the first thing in your init script should be
(package-initialize) so that customization of Org variables doesn't
auto-load the old version that came with Emacs. You shouldn't require
anything from Org, but if you still want to, it must be after
package-initialize.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Wavetables for the Terratec KOMPLEXER:
http://Synth.Stromeko.net/Downloads.html#KomplexerWaves
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: exporting quotes
[not found] <mailman.105.1407427235.27457.emacs-orgmode@gnu.org>
@ 2014-08-07 19:32 ` Salome Soedergran
2014-08-07 20:02 ` Achim Gratz
0 siblings, 1 reply; 4+ messages in thread
From: Salome Soedergran @ 2014-08-07 19:32 UTC (permalink / raw)
To: emacs-orgmode
Achim Gratz writes:
> When you install from ELPA, leave load-path alone (remove any
> alterations in respect to Org or any other package installed via ELPA),
> but you must make sure that:
>
> 1) The original Org installation that comes with Emacs must not be
> loaded in any way when you install from ELPA. This is most easily done
> by doing the install from "emacs -Q", although you may then need to set
> up package manager in that session.
>
> 2) After installation, the first thing in your init script should be
> (package-initialize) so that customization of Org variables doesn't
> auto-load the old version that came with Emacs. You shouldn't require
> anything from Org, but if you still want to, it must be after
> package-initialize.
>
> Regards,
> Achim.
#1 was at fault. I just deleted my ELPA installation of Org and reinstalled it as decribed by Achim. Now everything's fine.
Thanks, Salome
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: exporting quotes
2014-08-07 19:32 ` exporting quotes Salome Soedergran
@ 2014-08-07 20:02 ` Achim Gratz
0 siblings, 0 replies; 4+ messages in thread
From: Achim Gratz @ 2014-08-07 20:02 UTC (permalink / raw)
To: emacs-orgmode
Salome Soedergran writes:
> #1 was at fault. I just deleted my ELPA installation of Org and
> reinstalled it as decribed by Achim. Now everything's fine.
Thanks for letting us know.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-08-07 20:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.105.1407427235.27457.emacs-orgmode@gnu.org>
2014-08-07 19:32 ` exporting quotes Salome Soedergran
2014-08-07 20:02 ` Achim Gratz
2014-08-06 9:09 Salome =?iso-8859-1?Q?S=F6dergran ?=
2014-08-06 18:19 ` Achim Gratz
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).