Re: [O] melpa

2016-02-18 Thread Alan Schmitt
On 2016-02-19 08:00, 童俊翔  writes:

> I’m using melpa, and org is updated to the newest version
>
> but my org-version is still 8.2.10, as follows 
>
> Org-mode version 8.2.10 (release_8.2.10 @ 
> /Users/mac/.emacs.d/elpa/org-20160215/)
>
> How to solve this problem?

You probably have a mixed installation, which can happen if org-mode is
loaded when you install the elpa version.

What you can try is the following (please anyone correct me if I'm
giving incorrect instructions):
- uninstall orgmode from elpa
- restart emacs and do not load orgmode (which means do not execute any
org-related code)
- install the org-mode package

You then need to make sure that any org-related function in your init
file is called after `package-initialize'.

Hope this helps,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂ (2016-01, Mauna Loa Obs.): 402.52


signature.asc
Description: PGP signature


[O] melpa

2016-02-18 Thread 童俊翔
I’m using melpa, and org is updated to the newest version

but my org-version is still 8.2.10, as follows 

Org-mode version 8.2.10 (release_8.2.10 @ 
/Users/mac/.emacs.d/elpa/org-20160215/)

How to solve this problem?

thank you!




Junxiang


Re: [O] ox-tufte-latex

2016-02-18 Thread Thomas S . Dye
Aloha Eduardo,

Eduardo Mercovich writes:

>>> + if I put a plain text link in a sidenote (like
>>> "\sidenote{see http://AgileManifesto.org};), it doesn't get
>>> automagically converted to a link as it is in the text body. It appears
>>> as normal text and without the \url{...}, so it doesn't look and doesn't
>>> act as a link.

Tufte Org Mode uses the Org mode footnote mechanism to make the
sidenotes.  When I placed a link in an Org mode footnote and then
exported with Tufte Org Mode, I get a clickable link in the resulting
pdf file.

IIUC, you're using a LaTeX fragment for a sidenote.  In this case, I
think you'll need to treat the URL how you regularly treat them in
LaTeX, something like \sidenote{See \url{http://AgileManifesto.org}.}

My file looks something like this:

,-
| Some text.[fn:2]
| 
| ... 
| 
| * Footnotes 
| 
| [fn:2] This is Keli`ikea, see [[http://www.tsdye.com/]].
| 
| #+attr_latex: :offset 36pt  
| [fn:1] Cook referred to Koa`a as Koah.  
`-

hth,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com



Re: [O] ox-tufte-latex

2016-02-18 Thread Thomas S . Dye
Aloha Eduardo,

Eduardo Mercovich writes:
>>> + if I put a plain text link in a sidenote (like
>>> "\sidenote{see http://AgileManifesto.org};), it doesn't get
>>> automagically converted to a link as it is in the text body. It appears
>>> as normal text and without the \url{...}, so it doesn't look and doesn't
>>> act as a link.
>
>> IIUC, I think you need to tell Org mode that this is a link:
>> \sidenote{see [[http://AgileManifesto.org]]}.
>
> I tried it and still I have some issues... 
>
> I have Org-mode version 8.3.1 (8.3.1-95-g1dbb25-elpaplus) and GNU Emacs
> 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10).
>
> Using the same org document as source, if I use the standard latex
> export everything seems fine (except this sidenote link that does not
> get hiperlinked as URL), but if I use tufte-latex (with "require
> 'ox-tufte-latex" in my .emacs file) I have a "PDF file produced with
> errors" message. However, I can't spot the difference between both files
> with my eyes (they have the same size, but diff says they are
> different).
>
> In both cases -orglatex and tuftelatex- the sidenote linke gets rendered
> with the double brackets around and not as clickable URL.
>
> How can I give you more info to diagnose this case? 

I'll take a closer look at this and get back to you.  I'm writing for
print, so didn't consider this use case.

> Is it possible to do that in org for latex fragments (like putting
> f"\sidenote{" and the closing "}" in a lighter face)?
>
> Sorry if this is obvious but I'm relatively new to the Emacs-verse. 

I don't know if this is possible.  Perhaps others on the list will know?

> Again, thank you org-tufte-latex. I can be a heavy user of this system,
> so I hope to be of help to make it even better. :)

Great.  I hope you find it useful.

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com



[O] bug#22734: 24.5; do not leave opened org-agenda-files on org-agenda-list, etc.

2016-02-18 Thread Nicolas Goaziou
Hello,

Eli Zaretskii  writes:

>> From: Oleksandr Gavenko 
>> Date: Thu, 18 Feb 2016 16:23:05 +0200
>> 
>> TODO.org I visit only via `C-c a a'. But NOTE.org become unmaintainable with
>> size greater then 1 MiB of plain text.

It would be interesting to see a profile report about this.

>> But now I have a lot of opened unused .org files after `C-c a a' which I
>> should kill when they appear during buffer switches.
>> 
>> The right behavior is to preserve opened only files that already was opened
>> and kill other files.

AFAICT, Org expects that agenda files are always being visited. This may
be related to speed issues. 

In any case, you could filter out Org files from buffer list (e.g., with
`ido-ignore-buffers' and alike), and use `org-buffer-list' whenever you
need them.

Regards,

-- 
Nicolas Goaziou





Re: [O] Question about Agenda view

2016-02-18 Thread Nicolas Goaziou
Hello,

Thomas Moyer  writes:

> Close... it shows the entry text, which works to see if there is any, but
> it makes the agenda view harder to read. Is there a way to customize how
> agenda entries are created? One could, in theory, create a function that
> modifies the entry to append "..." if the entry text is not null.

You may want to tinker with `org-agenda-finalize-hook'.

Regards,

-- 
Nicolas Goaziou



Re: [O] Question about Agenda view

2016-02-18 Thread Thomas Moyer
Close... it shows the entry text, which works to see if there is any, but
it makes the agenda view harder to read. Is there a way to customize how
agenda entries are created? One could, in theory, create a function that
modifies the entry to append "..." if the entry text is not null.

Tom

On Thu, Feb 18, 2016 at 6:05 AM, Eric S Fraga  wrote:

> On Thursday, 18 Feb 2016 at 00:47, Thomas Moyer wrote:
> > I will sometimes add additional notes below a TODO entry, usually some
> link
> > to something, or some extra explanation. Is there a way to customize the
> > agenda view to indicate if these extra lines exist? I'm looking for
>
> "v E" in the default agenda view may do some of what you want?
> --
> : Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.3-619-gca1fb8
>


Re: [O] ox-tufte-latex

2016-02-18 Thread Eduardo Mercovich
Aloha Thomas.

Sorry the late reply.

[...]
>> + what is the difference between using the :ignore: tag and add
>> "COMMENT" as the first characters in the line (the native Org mechanism
>> to prevent export)? I tried them and didn't saw the difference.

> With the :ignore: tag the headline is ignored, but the text below it is
> exported.  This is useful for situations like the front matter of a
> book, which is mostly assembled by LaTeX.  The :ignore: tag allows you
> to isolate the various LaTeX commands in your document so they are
> separate from the headings with text that you'll write, but still
> contribute to the export.

Ah, got it. Useful indeed, thanks. :)

>> + if I put a plain text link in a sidenote (like
>> "\sidenote{see http://AgileManifesto.org};), it doesn't get
>> automagically converted to a link as it is in the text body. It appears
>> as normal text and without the \url{...}, so it doesn't look and doesn't
>> act as a link.

> IIUC, I think you need to tell Org mode that this is a link:
> \sidenote{see [[http://AgileManifesto.org]]}.

I tried it and still I have some issues... 

I have Org-mode version 8.3.1 (8.3.1-95-g1dbb25-elpaplus) and GNU Emacs
24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10).

Using the same org document as source, if I use the standard latex
export everything seems fine (except this sidenote link that does not
get hiperlinked as URL), but if I use tufte-latex (with "require
'ox-tufte-latex" in my .emacs file) I have a "PDF file produced with
errors" message. However, I can't spot the difference between both files
with my eyes (they have the same size, but diff says they are
different).

In both cases -orglatex and tuftelatex- the sidenote linke gets rendered
with the double brackets around and not as clickable URL.

How can I give you more info to diagnose this case? 

>> + using links as specific Latex markup seems a great idea. However, the
>> links face definition makes it specially visible, and impossible to
>> separate from any other URL since the properties are hidden. Can that be
>> tweaked (maybe not it your class, of course, but in the .emacs file or
>> similar), so as to keep the writing flow unperturbed?
>
> I agree that it would be useful to make the appearance of links in the
> Org mode buffer configurable on a per-link basis.  Different colors for
> different kinds of link might go some way to resolving the visual
> ambiguities you describe.  However, I don't think this is currently
> possible. 

Pity, but completely understandable.
Is it possible to do that in org for latex fragments (like putting
f"\sidenote{" and the closing "}" in a lighter face)?

Sorry if this is obvious but I'm relatively new to the Emacs-verse. 

> [...] In practice, I mouse over the link to see the link type in the
> minibuffer.

Great tip!

Again, thank you org-tufte-latex. I can be a heavy user of this system,
so I hope to be of help to make it even better. :)

Best...


-- 
eduardo mercovich 

 Donde se cruzan tus talentos 
 con las necesidades del mundo, 
 ahí está tu vocación.



[O] bug#22734: 24.5; do not leave opened org-agenda-files on org-agenda-list, etc.

2016-02-18 Thread Eli Zaretskii
> From: Oleksandr Gavenko 
> Date: Thu, 18 Feb 2016 16:23:05 +0200
> 
> In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.2)
>  of 2015-10-24 on trouble, modified by Debian
> Windowing system distributor `The X.Org Foundation', version 11.0.11702000
> System Description:   Debian GNU/Linux testing (stretch)
> 
> Recently I changed workflow with org-mode and trapped into issue which already
> described:
> 
>   
> http://emacs.stackexchange.com/questions/5741/do-not-keep-org-agenda-files-open-after-generating-agenda/
> 
> Previously I use:
> 
>  * NOTE.org as main storage for free form notes edited by hand with key
>binding to quick access to this file
> 
>  * TODO.org for `org-remember' or
>  (lambda () (interactive) (org-capture nil "t"))
> 
> TODO.org I visit only via `C-c a a'. But NOTE.org become unmaintainable with
> size greater then 1 MiB of plain text.
> 
> So I split this file into several files by easy distinguished topics, like
> LEARNING.org, purchases.org, emacs-python.org, linux.org, vps.org, ...
> 
> Instead of maintaining list of possible names I have specified directory:
> 
> (setq org-agenda-file-regexp "\\`[^.#].*[^_]\\.org\\'"
>   org-agenda-files (list org-directory))
> 
> I happy with this setup because I can quickly find necessary topic via
> switching to buffer (by IDO via meaningful file name) and search (by C-s)
> performed in limited space.
> 
> All schedules available via `C-c a a' across all .org files.
> 
> But now I have a lot of opened unused .org files after `C-c a a' which I
> should kill when they appear during buffer switches.
> 
> The right behavior is to preserve opened only files that already was opened
> and kill other files.

Shouldn't this be reported to the Org folks?  It sounds like a purely
Org issue.





Re: [O] Multiple Author affiliations in Org mode with more than 2 institute affiliations

2016-02-18 Thread Prakash Nayak
Thank you so much, it worked!


*Prakash Nayak*





On Thu, Feb 18, 2016 at 10:44 AM, Eric S Fraga  wrote:

> On Thursday, 18 Feb 2016 at 10:05, Prakash Nayak wrote:
> > I have this setup in my Orgmode doc and it doesn't export the author
> > affiliations to latex or pdf.
>
> I've never used authblk but I would imagine that you are expected to
> define the authors *before* the \begin{document} line in the generated
> LaTeX.  Using a latex block (and, by the way, depending on the version
> of org you are using, the syntax for these has changed), you will be
> generating LaTeX which will appear *after* the beginning of the
> document.
>
> I think you want to put each of the \author and \affil lines in the
> header:
>
> #+latex_header: \author[1]{Author One}
> #+latex_header: \affil[1]{Guided Therapeutics Centre}
>
> etc.
>
> Give this a try.
> --
> : Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.3-619-gca1fb8
>


Re: [O] Multiple Author affiliations in Org mode with more than 2 institute affiliations

2016-02-18 Thread Eric S Fraga
On Thursday, 18 Feb 2016 at 10:05, Prakash Nayak wrote:
> I have this setup in my Orgmode doc and it doesn't export the author
> affiliations to latex or pdf.

I've never used authblk but I would imagine that you are expected to
define the authors *before* the \begin{document} line in the generated
LaTeX.  Using a latex block (and, by the way, depending on the version
of org you are using, the syntax for these has changed), you will be
generating LaTeX which will appear *after* the beginning of the
document.

I think you want to put each of the \author and \affil lines in the
header:

#+latex_header: \author[1]{Author One}
#+latex_header: \affil[1]{Guided Therapeutics Centre}

etc.

Give this a try.
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.3-619-gca1fb8



Re: [O] Multiple Author affiliations in Org mode with more than 2 institute affiliations

2016-02-18 Thread Rasmus
Prakash Nayak  writes:

> I have this setup in my Orgmode doc and it doesn't export the author
> affiliations to latex or pdf. Instead I get a heuristic 'immediate' in
> place of authors I have added Latex to Org -babel-Load languages in .emacs
> What must be done to allow babel to evaluate Latex code blocks? Is there a
> hyperef setup that I must change? Is there an easier way to do it without a
> latex code block?

I'm not very satisfied with authblk.  Couldn't you use the standard
input method?  E.g. you could get

  \author{Name1\\Affil1 \and Name2 \and Name3\\Affil2}

As:

#+Macro: aa $1@@latex:\\@@$2
#+Macro: and @@latex:\and@@
#+Author: {{{aa(name1, affil1)}}} {{{and()}}} {{{aa(name2, affil2)}}} 
{{{and()}}} {{{aa(name3, affil3)}}}

You could probably eliminate the need for {{{and()}}} by having aa look
ahead and check if another call to aa() will come, and if so insert \and.

> #+Title: Multiple Author affiliations in OrgMode Latex export #+date:
> 11 Feb 2016#+latex_class: article#+latex_class_options:
>
> [a4paper]#+OPTIONS: toc:nil#+OPTIONS: author:nil#+latex_header:
> \usepackage{float}#+latex_header: \usepackage{graphicx}#+latex_header:
> \usepackage{authblk}
>
> #+BEGIN_LATEX
> \author[1]{Author One}
> \author[1]{Author TwoTwo}
> \author[1]{Author TwoTwoo}
> \author[1,2]{Author TwoTwooo}
> \author[1]{Author Three}
> \author[1]{Author TwoTw}
> \author[1]{Author Four}
> \author[1]{Author Fourrr}
> \author[2]{Author Fou}
> \author[2]{Author Twenty}
> \affil[1]{Guided Therapeutics Centre}
> \affil[2]{Division of theatre}
> #+END_LATEX

If you insist on this you could use a filter.

Hope it helps,
Rasmus

-- 
When in doubt, do it!




Re: [O] Feature Request: LaTeX export table/figure notes in float environment

2016-02-18 Thread Rasmus
Hi,

Felix Kaminsky  writes:

> I am amazed by org-mode and baffled that I didn't find it earlier. It 
> revolutionized my workflow which is usually quickly
> writing reports and exporting them to PDF via LaTeX.
> There is one feature that I really miss. Something to put notes below a table 
> within the LaTeX float environment.
> Something that the LaTeX output looks similar to this:
>
> \begin{table}[htb]
> \caption
> \begin{tabular}
> 
> \end{tabular}
> \label{...}
> Notes: some text
> \end{table}
>
> I am currently using a workaround by setting the option 
> org-latex-table-caption-above to nil and putting the caption below
> together with the text for the notes.
> But in a standard document I'd prefer the caption above.

Try with special blocks.

Eval:

(setq org-latex-caption-above '(table special-block))

With this, the following,

#+caption: cap
#+begin_table
#+Attr_latex: :float nil
| a | b |
Notes 
#+end_table

would result in something like this,

\begin{table}
\caption{cap}
\begin{center}
\begin{tabular}{ll}
\toprule
a & b\\
\bottomrule
\end{tabular}
\end{center}
Notes
\end{table}

You might have to tweak the centering to your liking (e.g. another center
special block and the attribute :center nil).

Hope it helps,
Rasmus

-- 
Evidence suggests Snowden used a powerful tool called monospaced fonts





[O] Feature Request: LaTeX export table/figure notes in float environment

2016-02-18 Thread Felix Kaminsky

  
  
Hi list,
  
  I am amazed by org-mode and baffled that I didn't find it earlier.
  It revolutionized my workflow which is usually quickly writing
  reports and exporting them to PDF via LaTeX.
  There is one feature that I really miss. Something to put notes
  below a table within the LaTeX float environment.
  Something that the LaTeX output looks similar to this:
  
  \begin{table}[htb]
  \caption
  \begin{tabular}
  
  \end{tabular}
  \label{...}
  Notes: some text
  \end{table}
  
  I am currently using a workaround by setting the option org-latex-table-caption-above
to nil and putting the caption below together with the
text for the notes.
But in a standard document I'd prefer the caption above.

Maybe it would be possible to create an option #+FLOAT_NOTES similar
to #+CAPTION for capturing and placing notes.

Thanks for your hard work.

Best regards,
Felix



  




[O] Multiple Author affiliations in Org mode with more than 2 institute affiliations

2016-02-18 Thread Prakash Nayak
I have this setup in my Orgmode doc and it doesn't export the author
affiliations to latex or pdf. Instead I get a heuristic 'immediate' in
place of authors I have added Latex to Org -babel-Load languages in .emacs
What must be done to allow babel to evaluate Latex code blocks? Is there a
hyperef setup that I must change? Is there an easier way to do it without a
latex code block?

#+Title: Multiple Author affiliations in OrgMode Latex export #+date:
11 Feb 2016#+latex_class: article#+latex_class_options:
[a4paper]#+OPTIONS: toc:nil#+OPTIONS: author:nil#+latex_header:
\usepackage{float}#+latex_header: \usepackage{graphicx}#+latex_header:
\usepackage{authblk}

#+BEGIN_LATEX
\author[1]{Author One}
\author[1]{Author TwoTwo}
\author[1]{Author TwoTwoo}
\author[1,2]{Author TwoTwooo}
\author[1]{Author Three}
\author[1]{Author TwoTw}
\author[1]{Author Four}
\author[1]{Author Fourrr}
\author[2]{Author Fou}
\author[2]{Author Twenty}
\affil[1]{Guided Therapeutics Centre}
\affil[2]{Division of theatre}
#+END_LATEX

*Prakash Nayak*


[O] Feature Request: LaTeX export table/figure notes in float environment

2016-02-18 Thread Felix Kaminsky

  
  
Hi list,
  
  I am amazed by org-mode and baffled that I didn't find it earlier.
  It revolutionized my workflow which is usually quickly writing
  reports and exporting them to PDF via LaTeX.
  There is one feature that I really miss. Something to put
notes below a table within the LaTeX float environment.
  Something that the LaTeX output looks similar to this:
  
  \begin{table}[htb]
  \caption
  \begin{tabular}
  
  \end{tabular}
  \label{...}
  Notes: some text
  \end{table}
  
  I am currently using a workaround by setting the option org-latex-table-caption-above
to nil and putting the caption below together with the
text for the notes.
But in a standard document I'd prefer the caption above.

Maybe it would be possible to create an option #+FLOAT_NOTES similar
to #+CAPTION for capturing and placing notes.

Thanks for your hard work.

Best regards,
Felix



  




[O] [PATCH] Fix TODO export in html TOC

2016-02-18 Thread Austin Walker
Hello all,

I'd like to submit a fix for an issue seen by reddit user simonced.
https://www.reddit.com/r/emacs/comments/46717x/orgmode_todo_html_export_in_toc/

When exporting a TODO headline to html, the TOC will show the class to be
"todo nilTODO". The fix is to replace nil with an empty string. I'm new to
the org-mode mailing list, so please let me know if I made a mistake.
Thanks!

>From e456d1722f983baa11a38e944be279f4d21f588b Mon Sep 17 00:00:00 2001
From: Austin Walker 
Date: Wed, 17 Feb 2016 22:43:00 -0500
Subject: [PATCH] ox-html.el: Fix TOC export of TODO headlines

* lisp/ox-html.el (org-html--todo): Don't show nil in format string for
  TODO class

Use empty string if :html-todo-kwd-class-prefix is not present.

TINYCHANGE
---
 lisp/ox-html.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index 697e5aa..2d7acec 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -1989,7 +1989,7 @@ INFO is a plist used as a communication channel."
   (when todo
 (format "%s"
 (if (member todo org-done-keywords) "done" "todo")
-(plist-get info :html-todo-kwd-class-prefix)
+(or (plist-get info :html-todo-kwd-class-prefix) "")
 (org-html-fix-class-name todo)
 todo)))

-- 
2.7.1

- Austin Walker


Re: [O] Embedding images in Org Mode for HTML export

2016-02-18 Thread Lawrence Bottorff
That seemed to work -- sometimes. But it's probably best to simply produce
each graphic separately, then embed as a png in the org file.

On Wed, Feb 17, 2016 at 8:54 AM, Eric S Fraga  wrote:

> On Tuesday, 16 Feb 2016 at 19:22, Lawrence Bottorff wrote:
> > I've got this code:
>
> [...]
>
> > running in an org file, and it gives me embedded images in an html
> > file. (See this). But they're cramped and have a strange gray
> > background. How can I not clip and get the png transparent working?
>
> I added these options to the src block
>
>  :imagemagick yes :iminoptions -density 600 :imoutoptions -geometry 800
>
> and the first src block works for me: images are proper size and the
> background is transparent.  I could not test the second as I don't have
> qtree.
>
> The process might depend on what your system uses to generate the images
> from LaTeX.
> --
> : Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.3-601-gff9890
>


Re: [O] ox-pandoc - org-mode + org-ref to docx with bibliographies

2016-02-18 Thread 童俊翔
My emacs version is 
GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21) of 
2015-04-11 on builder10-9.porkrind.org 

I’m using elpa, and org-mode is updated to the latest version

Org-mode version 8.2.10 (release_8.2.10 @ 
/Users/mac/.emacs.d/elpa/org-20160215/)


I’ve tried to add require ‘ox, and it’s not the case. Maybe it is caused by a 
mixed installation. How to solve this problem? Thank you!

Junxiang








> On 18 Feb 2016, at 19:15, Eric S Fraga  wrote:
> 
> On Thursday, 18 Feb 2016 at 18:44, 童俊翔 wrote:
> 
> [...]
> 
>> and when I perform C-c C-e p x, the error showed as: 
>> 
>> org-org-link: Symbol's function definition is void:
>> org-export-custom-protocol-maybe
>> 
>> How to solve this problem? Thank you for your help!
> 
> Maybe (require 'ox)
> but more likely the result of a mixed installation?  What version of org
> are you using?
> 
> 
> Thanks,
> eric
> -- 
> : Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.3-619-gca1fb8



Re: [O] Question about Agenda view

2016-02-18 Thread Eric S Fraga
On Thursday, 18 Feb 2016 at 00:47, Thomas Moyer wrote:
> I will sometimes add additional notes below a TODO entry, usually some link
> to something, or some extra explanation. Is there a way to customize the
> agenda view to indicate if these extra lines exist? I'm looking for

"v E" in the default agenda view may do some of what you want?
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.3-619-gca1fb8



Re: [O] ox-pandoc - org-mode + org-ref to docx with bibliographies

2016-02-18 Thread Eric S Fraga
On Thursday, 18 Feb 2016 at 18:44, 童俊翔 wrote:

[...]

> and when I perform C-c C-e p x, the error showed as: 
>
> org-org-link: Symbol's function definition is void:
> org-export-custom-protocol-maybe
>
> How to solve this problem? Thank you for your help!

Maybe (require 'ox)
but more likely the result of a mixed installation?  What version of org
are you using?


Thanks,
eric
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.3-619-gca1fb8



[O] ox-pandoc - org-mode + org-ref to docx with bibliographies

2016-02-18 Thread 童俊翔
I’m trying to export org to docx via ox-pandoc, following this guidance,  
http://kitchingroup.cheme.cmu.edu/blog/category/docx/ 


my .emacs is as follows:


(add-to-list 'exec-path "/usr/local/bin")

(require 'ox-pandoc)



(setq helm-bibtex-format-citation-functions

  '((org-mode . (lambda (x) (insert (concat

 "\\cite {"

 (mapconcat 'identity x ",")

 "}")) ""


and when I perform C-c C-e p x, the error showed as: 

org-org-link: Symbol's function definition is void: 
org-export-custom-protocol-maybe

How to solve this problem? Thank you for your help!