Re: [O] Export to pdf when path name has ~
Stig Brautaset writes: > Nicolas Goaziou writes: >>> Fabulous. I wanted to test it, but even though I think I have the latest >>> Org I can't get this to work. =M-x org-version= says: >>> >>> Org-mode version 8.3.4 (8.3.4-79-gbd4948-elpaplus @ >>> /Users/stig/.emacs.d/elpa/org-plus-contrib-20160606/) >> >> The change was introduced in master, whereas you're using stable branch. > > Oh right! Thanks for that. Well, I have now installed the master branch > and confirmed that this fixes my issue. Thanks :-) When could I hope for this change to reach elpa plus? I would really like to be able to use Org installed by package.el (as I'm only set up for development on one machine), but as of yet this change has not made it in: Org-mode version 8.3.5 (8.3.5-1-g589e96-elpaplus @ /Users/stig/.emacs.d/elpa/org-plus-contrib-20160822/) Stig
Re: [O] There is no line to end here at LaTeX org-ref export
org-version is Org-mode version 8.3.5 (8.3.5-4-g2dfdaf-elpa @ /home/florian/.emacs.d/elpa/org-20160829/) Am 30.08.2016 um 10:22 schrieb Florian Lindner: > Hello, > > I learn to use org-ref and try to export a simple document: > > * Section > label:Testlabel Some citations cite:Bungartz2015 and cite:Torres2009 and a > reference to a label ref:Testlabel > > bibliographystyle:unsrt > [[bibliography:/home/florian/Mendeley/library.bib]] > > This exports to: > > \section{Section} > \label{sec-1} > \label{Testlabel} Some citations \cite{Bungartz2015} and \cite{Torres2009} > and a reference to a label \ref{Testlabel} \\ > > \bibliographystyle{unsrt} \\ > \bibliography{../../Mendeley/library} \\ > % Emacs 24.5.1 (Org mode 8.2.10) > \end{document} > > Compilation gives: LaTeX Error: There's no line here to end. > > Removing the last two double slashes after \bibliography and > \bibliographystyle fixes it. > > In https://github.com/jkitchin/org-ref/issues/279 the author says it probably > not related to org-ref, however I was > unable to reproduce it without it. > > All I configured when it comes to org / latex is: > > org-latex-packages-alist '(("" "listings") ("" "color")) > org-latex-pdf-process '("latexmk -f -pdf %f") > org-latex-table-caption-above nil > > However, I was doing the compile manually, so pdf-process is irrelevant here. > > Any ideas how to fix that? > > Thanks! > Florian > > >
Re: [O] Calc: Second to last row
* Karl Voit wrote: > > I would like to refer to the second to last row of a table. > > The following example should demonstrate my issue. What I expect is > that the following formula is filling @2..@5 with "1" and in the > last row, there is the sum of all "1". I am happy to have found the answer to my question on my own: @>> is the second to last row. @>>> the one before. Same holds for columns: $>> is the second to last column. The solution for my example is: | Values | || | 1 | | 1 | | 1 | || | 1 | | 1 | | 1 | || | 6 | #+TBLFM: @2$1..@>>$1=1 :: @>$1=vsum(@2$1..@>>$1) -- mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode: > get Memacs from https://github.com/novoid/Memacs < https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github
Re: [O] Calc: Second to last row
Karl Voit writes: > Hi! > > I would like to refer to the second to last row of a table. > > The following example should demonstrate my issue. What I expect is > that the following formula is filling @2..@5 with "1" and in the > last row, there is the sum of all "1". > > It is important to me to ignore the number of horizontal lines since > their number varies in my case. > > | Values | > || > || > || > || > || > || > || > || > > #+TBLFM: @2$1..@>-1$1=1 :: @>$1=vsum(@2$1..@>-1$1) This should be: #+TBLFM: @2$1..@>>$1=1 :: @>$1=vsum(@2$1..@>>$1) > > Expected result: > > | Values | > || > | 1 | > | 1 | > || > | 1 | > | 1 | > || > | 4 | > > Actual result: "user-error: Several field/range formulas try to set > @8$1". > > With a fixed number of horizontal lines, the sum would be: > > #+TBLFM: @>$1=vsum(@2$1..@III$1);T > > So how can this be accomplished for an arbitrary number of > horizontal lines? > > > At my side: Org-mode version 8.3.4 (release_8.3.4-33-gd522fc) -- Nick
Re: [O] There is no line to end here at LaTeX org-ref export
Florian Lindner writes: > Am 30.08.2016 um 10:22 schrieb Florian Lindner: > >> In https://github.com/jkitchin/org-ref/issues/279 the author says it >> probably not related to org-ref, however I was >> unable to reproduce it without it. > > An example without org-ref that produces this error: > > #+BEGIN_SRC python :exports results :results file > import matplotlib.pyplot as plt, numpy as np > x = np.linspace(-2, 2, 1000) > plt.plot(x, np.exp(-np.power(4*x, 2)), label="shape-parameter=4") > plt.savefig('rbf-gaussian-4.pdf') > return "rbf-gaussian-4.pdf" > #+END_SRC > > #+NAME: fig:org_fig > #+CAPTION: Org Fig > > #+RESULTS: fig:org_fig > [[file:rbf-gaussian-4.pdf]] > > Some text > > > Gives, when compiled to latex gives also: There is no line here to end: > > ERROR: LaTeX Error: There's no line here to end. > > --- TeX said --- > > See the LaTeX manual or LaTeX Companion for explanation. > Type H for immediate help. > ... > > l.40 S > ome text \\ > --- HELP --- > A \newline or \\ command appears between paragraphs, where it makes no > sense. If you're trying to ``leave a blank line'', use a \vspace > command. > > > Thanks, > Florian > > Try this: --8<---cut here---start->8--- An example without org-ref that produces this error: #+NAME: fig:org_fig #+BEGIN_SRC python :exports results :results file import matplotlib.pyplot as plt, numpy as np x = np.linspace(-2, 2, 1000) plt.plot(x, np.exp(-np.power(4*x, 2)), label="shape-parameter=4") plt.savefig('rbf-gaussian-4.pdf') return "rbf-gaussian-4.pdf" #+END_SRC #+CAPTION: Org Fig #+RESULTS: fig:org_fig [[file:rbf-gaussian-4.pdf]] Some text --8<---cut here---end--->8--- -- Nick
Re: [O] Time clocking problem
> "Louis" == Louis Turk writes: Louis> 1 and 3 do not work for me. I have to place the cursor on the Louis> *Organization task to start timing it. And when I clock out of a Louis> todo item, the *Organization task is not automatically clocked Louis> in. The code searches for the Organization task by the id stored in the variable bh/organization-task-id. Are these matching in your case? Eg: #+begin_src org ,#+FILETAGS: PERSONAL ... ,* Tasks ,** Organization :PROPERTIES: :CLOCK_MODELINE_TOTAL: today :ID: eb155a82-92b2-4f25-a3c6-0304591af2f9 :END: ... #+end_src #+begin_src elisp (setq bh/organization-task-id "eb155a82-92b2-4f25-a3c6-0304591af2f9") #+end_src Malcolm -- Malcolm Purvis
Re: [O] Cross-referencing
John Kitchin writes: > Does this do what you want? > > [[*Is it confidential?][confidential]] Thanks John, I've finally been able to try this out, and it works perfectly, so I'm now going to institute it document-wide. Sorry that it took so long to reply. Thanks Sharon. > > Sharon Kimble writes: > >> How can I have a cross-reference for a specific word please? I want to >> reference 'confidentiality' to a section headed "Is it confidential?" >> >> Thanks >> Sharon. -- A taste of linux = http://www.sharons.org.uk TGmeds = http://www.tgmeds.org.uk Debian 8.4, fluxbox 1.3.7, emacs 25.1.1 signature.asc Description: PGP signature
Re: [O] Time clocking problem
On 09/01/2016 06:53 PM, Malcolm Purvis wrote: >> "Louis" == Louis Turk writes: > > Louis> 1 and 3 do not work for me. I have to place the cursor on the > Louis> *Organization task to start timing it. And when I clock out of a > Louis> todo item, the *Organization task is not automatically clocked > Louis> in. > > The code searches for the Organization task by the id stored in > the variable bh/organization-task-id. Are these matching in your case? > > Eg: > > #+begin_src org > ,#+FILETAGS: PERSONAL > ... > ,* Tasks > ,** Organization >:PROPERTIES: >:CLOCK_MODELINE_TOTAL: today >:ID: eb155a82-92b2-4f25-a3c6-0304591af2f9 >:END: >... > #+end_src > > #+begin_src elisp > (setq bh/organization-task-id "eb155a82-92b2-4f25-a3c6-0304591af2f9") > #+end_src > > Malcolm > Hi Malcolm, Thanks for responding. Here is what I have: #+FILETAGS OFFICE #+OPTIONS: toc:0 H:4 * Organization :LOGBOOK: CLOCK: [2016-09-01 Thu 20:42]--[2016-09-01 Thu 20:43] => 0:01 CLOCK: [2016-09-01 Thu 07:55]--[2016-09-01 Thu 07:56] => 0:01 CLOCK: [2016-08-31 Wed 15:51]--[2016-08-31 Wed 15:54] => 0:03 CLOCK: [2016-08-31 Wed 10:02]--[2016-08-31 Wed 10:36] => 0:34 CLOCK: [2016-08-31 Wed 08:45]--[2016-08-31 Wed 09:09] => 0:24 CLOCK: [2016-08-30 Tue 14:08]--[2016-08-30 Tue 14:09] => 0:01 CLOCK: [2016-08-30 Tue 10:24]--[2016-08-30 Tue 10:25] => 0:01 CLOCK: [2016-08-29 Mon 10:56]--[2016-08-29 Mon 11:08] => 0:12 :END: :PROPERTIES: :CLOCK_MODELINE_TOTAL: today :id: eb155a82-92b2-4f25-a3c6-0304591af2f9 :END: This line is in my .emacs: (defvar bh/organization-task-id "eb155a82-92b2-4f25-a3c6-0304591af2f9") If I type: C-u C-c C-x C-i 3 The clock starts on the * Organization task. So I assume the ID must not be the problem. The clock time above were all started with the cursor on the * Organization task, except the top one which was started with C-u C-c C-x C-i 3 Louis
Re: [O] org-entities.el bug in "Delta"
Hi Matthew, This is fixed in commit ab5e100 on the maint branch. Thanks for the report. -- Aaron Ecay
Re: [O] org-entities.el bug in "Delta"
Hello, Aaron Ecay writes: > This is fixed in commit ab5e100 on the maint branch. Thanks for the > report. Thank you for taking care of that. After every commit, maint needs to be merged within master so that master is always strict superset of maint. I did that for the commit above. Regards, -- Nicolas Goaziou
Re: [O] [BUG] :html-link-use-abs-url defined twice for the html backend
Hello, Arun Isaac writes: > In the options-alist of the html backend definition, > :html-link-use-abs-url is defined twice (in lines 119 and 123). This is > possibly a typo. Indeed. Fixed. Thank you. Regards, -- Nicolas Goaziou
Re: [O] Accessing the communication channel from a link exporter
Hello, Arun Isaac writes: > When adding a new hyperlink type using `org-add-link-type', how do I > access the info communication channel from the link exporter function? You cannot. The :export link parameter is orthogonal to the export back-end. The latter only kicks in once the former forfeits. > Not being able to access the communication channel limits what I can do > with `org-add-link-type', and I end up creating a derived backend with > my own link transcoder function. Is that the recommended way to do it? That's the idea, yes. Out of curiosity, what kind of link are you using, that is dependant about context ? Regards, -- Nicolas Goaziou
Re: [O] ob-lua
Hello, Thibault Marin writes: > I have just submitted the FSF papers. Great! Please let me know when the whole process is done. Thank you. -- Nicolas Goaziou
Re: [O] ox-md.el: Export TOC and Footnotes as Markdown rather than HTML
Hello, Jake Romer writes: > All set, thanks! Just got the confirmation. Perfect! I applied the patch. Thank you. -- Nicolas Goaziou
Re: [O] subtasks causing greying of entry in agenda
Hello, Sharon Kimble writes: > I've discovered something this morning that puzzles me, and I can't work out > how to google it! > > In my organiser file I have this task set up - > > *** TODO end of life care > DEADLINE: <2016-12-30 Fri> SCHEDULED: <2016-08-31 Wed +1d> > :PROPERTIES: > :35:00:35:00 > :BUDGET_WEEK: 35:00 > :BUDGET_MONTH: 140:00 > :BUDGET_YEAR: 500:00 > :Effort: 500:00 > :END: > :LOGBOOK: > CLOCK: [2016-08-31 Wed 02:46]--[2016-08-31 Wed 03:47] => 1:01 > CLOCK: [2016-08-31 Wed 02:22]--[2016-08-31 Wed 02:23] => 0:01 > :END: > TODO death.org > TODO to include 'caring with dignity' > > And when its displayed in the agenda it shows as a grey line of text > which is different from other surrounding text, see attached screenshot > snippet [fn:1]. Would it be related to `org-enforce-todo-dependencies' being non-nil? Regards, -- Nicolas Goaziou
Re: [O] Accessing the communication channel from a link exporter
> Out of curiosity, what kind of link are you using, that is dependant > about context ? Actually, I don't need the context of the link in the org document. I need some properties defined in the plist of the component in org-publish-project-alist. So, I use the info communication channel to access these properties. I maintain a few websites with org mode. When I publish an image link with org, the exported HTML contains the full filesystem path of the image. The page wouldn't work if I published it on the web. My link type needs to know the path of the web server's docroot to remove that component from the full filesystem path. This path is defined in one of the properties in org-publish-project-alist, and I need the info communication channel to access it. signature.asc Description: PGP signature
Re: [O] subtasks causing greying of entry in agenda
Nicolas Goaziou writes: > Hello, > > Sharon Kimble writes: > >> I've discovered something this morning that puzzles me, and I can't work out >> how to google it! >> >> In my organiser file I have this task set up - >> >> *** TODO end of life care >> DEADLINE: <2016-12-30 Fri> SCHEDULED: <2016-08-31 Wed +1d> >> :PROPERTIES: >> :35:00:35:00 >> :BUDGET_WEEK: 35:00 >> :BUDGET_MONTH: 140:00 >> :BUDGET_YEAR: 500:00 >> :Effort: 500:00 >> :END: >> :LOGBOOK: >> CLOCK: [2016-08-31 Wed 02:46]--[2016-08-31 Wed 03:47] => 1:01 >> CLOCK: [2016-08-31 Wed 02:22]--[2016-08-31 Wed 02:23] => 0:01 >> :END: >> TODO death.org >> TODO to include 'caring with dignity' >> >> And when its displayed in the agenda it shows as a grey line of text >> which is different from other surrounding text, see attached screenshot >> snippet [fn:1]. > > Would it be related to `org-enforce-todo-dependencies' being non-nil? > You were right Nicolas, and once I'd made it nil, the agenda task displays as all the others do, thanks :) Thanks Sharon. -- A taste of linux = http://www.sharons.org.uk TGmeds = http://www.tgmeds.org.uk Debian 8.4, fluxbox 1.3.7, emacs 25.1.1 signature.asc Description: PGP signature