A minor suggestion about formatting citations

2021-10-10 Thread Vikas Rawal
Date: Mon, 11 Oct 2021 04:36:56 +0530 From: Vikas Rawal To: org-mode mailing list Subject: A minor suggestion about formatting citations Organisation: CESP, Jawaharlal Nehru University, New Delhi I find it works better for me if I insert spaces between multiple citations. For example: [cite

Re: org-collector.el does not deal with inherited properties well

2021-09-26 Thread Vikas Rawal
> > By the way, org-collector.el is now part of org-contrib and in > lack of a maintainer. > > If you feel like you can maintain it or can help looking for a > maintainer, please go wild. I am not a big user of org-collector.el. I was only trying it for an exercise, which I have abandoned

Re: Support for tabularray in LaTeX export

2021-09-02 Thread Vikas Rawal
(if opt opt "") > width > alignment > contents > table-env))) > (org-latex--decorate-table output attr caption above? info)) > > (advice-add

Support for tabularray in LaTeX export

2021-09-01 Thread Vikas Rawal
tabularray (CTAN: Package tabularray ) provides longtblr environment that is called as --- \begin{longtblr}[various-table-options]{column and row specifications} \end{longtblr} --- Adding something like the following to orgmode tables makes them export nicely as

Re: should a BIBLIOGRAPHY keyword supercede org-cite-global-bibliography?

2021-07-19 Thread Vikas Rawal
> It seems like that should not be the case, i.e. if you define BIBLIOGRAPHY > keywords it means you do not want to use the ones > in org-cite-global-bibliography. Is there a scenario where the union of those > makes sense? I second this. The local bibliographies should supercede the global.

Re: Put #+print_bibliography in an org source code block?

2021-07-19 Thread Vikas Rawal
> > I don't know if that works, but what about exporting to org? > Exporting to org works. Vikas

Put #+print_bibliography in an org source code block?

2021-07-17 Thread Vikas Rawal
I don't know if this is crazy. But I was wondering if it is possible (or worth exploring as an idea) to turn #+print_bibliography into something that can be evaluated to throw the bibliography as results in the org file itself. This would then allow playing with the bibliography using org, and

Re: org-cite citation commands

2021-07-17 Thread Vikas Rawal
This is very helpful already. Keenly looking forward to how this develops. Vikas On Sat, Jul 17, 2021 at 04:52:33PM -0400, John Kitchin wrote: > I made a video of my current org-cite setup at  > https://www.youtube.com/watch?v= > 4ta4J20kpmM. You can also find a link to the code to run it in the

Re: org-cite citation commands

2021-07-17 Thread Vikas Rawal
-> Citeauthor > [author|a]--> citeauthor* > > ;; locators style. > [locators|l] / [bare|b] --> notecite > [locators|l] / [caps|c] --> Pnotecite > [locators|l] / [bare-caps|bc] --> Notecite > [locators|l] --> pnote

Re: org-cite citation commands

2021-07-17 Thread Vikas Rawal
Thanks, Bruce and John. Indeed, I used biblatex with natbib=true option, which gives me citet and citep in biblatex. But using \autocite and \textcite is perfect. I am noticing a few other issues at this stage. I have a large biblatex database, and loading it using C-c C-x @ to insert citations

org-cite citation commands

2021-07-17 Thread Vikas Rawal
I have been a long time user of org-ref and am excited to see the development of org-cite. Thanks a lot for this, Nicholas and others who have been working on this. I have been wanting to give it a spin for the last few days and finally got down to doing it. I am aware that the documentation is

The git repo for contrib packages

2021-06-29 Thread Vikas Rawal
I am aware of the proposal to separately package the contrib libraries. I find that the org-mode git repo at https://code.orgmode.org/explore/repos does not have contrib packages any more. But I can't find the repository for those packages. I would like to compile my own orgmode packages (core

Re: org-collector.el does not deal with inherited properties well

2021-06-20 Thread Vikas Rawal
Found the answer here: https://lists.gnu.org/archive/html/emacs-orgmode/2011-01/msg00292.html Sorry for writing before looking through the archives carefully. Best wishes for everyone. Vikas On Sun, 20 Jun 2021 at 16:26, Vikas Rawal wrote: > Hello, > > org-collector.el seems t

org-collector.el does not deal with inherited properties well

2021-06-20 Thread Vikas Rawal
Hello, org-collector.el seems to fill "0" for properties that are inherited just as it does for properties that are not defined for a particular headline (for which also, 0 is poor choice; nil would have been better). This should not be the correct behaviour. Or is it intentional, and I am

Re: Org as a book publisher

2021-03-07 Thread Vikas Rawal
A few years ago, I had produced this book entirely on orgmode: https://cup.columbia.edu/book/ending-malnutrition/9789382381648. The source files of the book are here: https://github.com/vikasrawal/endingmalnutrition. This was some years back, and there has been some change in the org mode

Re: Macro replacement inside +attr_latex line

2020-08-04 Thread Vikas Rawal
Found the answer in the mailing list archives (https://lists.gnu.org/archive/html/emacs-orgmode/2013-09/msg00234.html). Not allowed. Vikas On Tue, 4 Aug 2020 at 18:33, Vikas Rawal wrote: > > Does orgmode macro replacement not work in an +attr_latex line? I was > thinking of using

Macro replacement inside +attr_latex line

2020-08-04 Thread Vikas Rawal
Does orgmode macro replacement not work in an +attr_latex line? I was thinking of using shortcuts for some complex latex syntax. Vikas

Re: Exploring properties

2020-02-24 Thread Vikas Rawal
On Mon, Feb 24, 2020 at 09:39:51AM +0100, Bastien wrote: > Hi Vikas, > > Vikas Rawal writes: > > > I am essentially thinking of org-mode providing an > > interface for feeding data to recutils. > > Yes, that would probably be useful. > > If you want to write a

Re: Exploring properties

2020-02-23 Thread Vikas Rawal
. Vikas On Sun, 23 Feb 2020 at 19:10, Bastien wrote: > Hi Vikas, > > Vikas Rawal writes: > > > Would you think that an extension of org-collector is the direction to > > look at? Doesn't look like org-collector has seen any updates in a > > long time. > >

Re: Limiting properties and property values

2020-02-23 Thread Vikas Rawal
what they are like. Thanks again, Vikas On Sun, 23 Feb 2020 at 22:20, Fraga, Eric wrote: > On Sunday, 23 Feb 2020 at 15:10, Vikas Rawal wrote: > > I am thinking of using org-mode to compile a small database. > > Although org is fantastic, it is sometimes worth consider

Re: Exploring properties

2020-02-23 Thread Vikas Rawal
> > > I don't know if I have missed something obvious. But I am trying to > > read all the properties data (key-value pairs) into an R source code > > block (essentially to gather into a data.frame before further > > processing). > > You might want to look at `org-map-entries'. Thanks. It seems

Re: Exploring properties

2020-02-23 Thread Vikas Rawal
> > You might want to look at `org-map-entries'. > Would you think that an extension of org-collector is the direction to look at? Doesn't look like org-collector has seen any updates in a long time. Vikas

Re: Limiting properties and property values

2020-02-23 Thread Vikas Rawal
On Sun, 23 Feb 2020 at 15:02, Bastien wrote: > Hi Vikas, > > Vikas Rawal writes: > > > 1. Is it possible to restrict the sub-tree of a headline to have only > > properties specified in the column property of the parent? That is, > > no additi

Exploring properties

2020-02-22 Thread Vikas Rawal
I don't know if I have missed something obvious. But I am trying to read all the properties data (key-value pairs) into an R source code block (essentially to gather into a data.frame before further processing). I thought properties would be a neat way to put together a small database, and then

Limiting properties and property values

2020-02-22 Thread Vikas Rawal
Dear all, I have two queries regarding use of properties in org mode. 1. Is it possible to restrict the sub-tree of a headline to have only properties specified in the column property of the parent? That is, no additional property can be specified. 2. Is it possible to limit the allowed values

Re: R code block produces no output

2019-12-17 Thread Vikas Rawal
>> That should be ":results file graphics". >> >> > Thanks very much. This works. I guess this has recently changed. I have > always used ":results output graphics" > > > I see that the behaviour changed with 9.3. Release notes ( https://www.orgmode.org/Changes.html) have this: :file header

Re: R code block produces no output

2019-12-17 Thread Vikas Rawal
On Tue, 17 Dec 2019 at 18:13, William Denton wrote: > On 17 December 2019, Vikas Rawal wrote: > > > A simple code block like the following does not create the graph. > > > > #+NAME: test > > #+BEGIN_SRC R :results output graphics :exports results :file temp.jpg &g

R code block produces no output

2019-12-17 Thread Vikas Rawal
I have a strange problem and I wonder if there is a new bug. Would appreciate for any help in identifying the problem. A simple code block like the following does not create the graph. #+NAME: test #+BEGIN_SRC R :results output graphics :exports results :file temp.jpg :width 2400 :height 1200

Re: [O] Tables in HTML export

2018-12-07 Thread Vikas Rawal
> My specific use case is that I have a multi-row table header created in an > > R code block. I do not have a way of creating a horizontal line, and > > without that the header is not being recognised as the header in html > > export. > I defined the following macro. #+MACRO: hlmacro (eval

Re: [O] Feature request: :colnames and :hlines in ob-R.el

2018-12-07 Thread Vikas Rawal
> > At the moment, ob-R.el does not support :colnames to have a list of > column > > names as an argument. This seems to have been raised on the list many > years > > ago [1], but it does not look like it was implemented. Is there a > > possibility that this could be implemented? > > Patches are

[O] Feature request: :colnames and :hlines in ob-R.el

2018-12-06 Thread Vikas Rawal
At the moment, ob-R.el does not support :colnames to have a list of column names as an argument. This seems to have been raised on the list many years ago [1], but it does not look like it was implemented. Is there a possibility that this could be implemented? Also, is it possible to allow

[O] Tables in HTML export

2018-12-06 Thread Vikas Rawal
How does org identify which table rows should be exported with header tags? It seems rows above a horizontal line are automatically converted using tags. Is there a way of controlling this? My specific use case is that I have a multi-row table header created in an R code block. I do not have a

Re: [O] visual-line-mode [was: Re: Clean up org-faces.el]

2018-04-09 Thread Vikas Rawal
> On 10-Apr-2018, at 5:12 AM, Samuel Wales wrote: > > On 4/9/18, Eric S Fraga wrote: >> What I do, when I want distraction free writing, is expand the fringes >> to take up whatever amount of screen space I wish. cf set-fringe-mode > > interesting

Re: [O] Clean up org-faces.el

2018-04-08 Thread Vikas Rawal
> > off topic here, but the problem with visual-line-mode for me is that > at least in 24.4 it does not respect fill column. this is a > dealbreaker. i stick with m-q. There is a visual-fill-column-mode. Have you tried that? Vikas

[O] git clone org mode

2018-04-08 Thread Vikas Rawal
Fellow orgers, The following two pages on worg both recommend using "git clone g...@code.orgmode.org:bzg/org-mode.git” to clone the org repo. https://orgmode.org/worg/dev/index.html

Re: [O] NA in R source code block

2018-03-31 Thread Vikas Rawal
> > ### Solution 1 > > You could use an elisp function to clear the nil. It is not automatic > and you would have to write a formula for every column but it might > still be better changing them manually. > > I don't know how to implement it automatically though. > > #+BEGIN_SRC_elisp >

Re: [O] NA in R source code block

2018-03-31 Thread Vikas Rawal
> >> NAs in a data frame that is created by an R source code block show up in the >> results as nil. Can I change it to something else (say, “—“)? > > Could you elaborate on your issue? Can you give a minimal example of > your block? It is very difficult to help with the information you gave.

[O] NA in R source code block

2018-03-29 Thread Vikas Rawal
NAs in a data frame that is created by an R source code block show up in the results as nil. Can I change it to something else (say, “—“)? Vikas

Re: [O] LaTeX export filter

2018-03-27 Thread Vikas Rawal
> > > >> >>> (while (string-match >>> "\\(<\\([0-9]+\\)cid\\([0-9]+\\)?>[[:blank:]]*\\([^&]+\\)\\)" row) >> >> Could it be that you need to change the last + to *? >> Haven't tried it, mind you. >> -- > > That does not change the result. Still pick only two. > > Vikas >

Re: [O] LaTeX export filter

2018-03-27 Thread Vikas Rawal
> >> >> >>> (while (string-match "\\(<\\([0-9]+\\)cid\\([0-9]+\\)?>[[:blank:]]*\\([^&]+\\)\\)" row) >>> >>> Could it be that you need to change the last + to *? >>> Haven't tried it, mind you. >>> -- >> > > The problem is in this part of the code: > > (while

[O] LaTeX export filter

2018-03-24 Thread Vikas Rawal
Let me start by confessing my limited knowledge of lisp. I am trying to write a LaTeX export filter that should replace all table rows with cells having entries such as <3cid4> by \cmidrule{lr}{3-4} The idea is to have a table row of this kind | <2cid3> | <4cid5> |<6cid7>

Re: [O] Generating sitemap: ‘org-publish-cache-get’ called, but no cache present

2018-01-18 Thread Vikas Rawal
> >> I have been using the following code block to generate a sitemap for my >> org-jkyll based blog. >> >> #+begin_src emacs-lisp :results output silent :exports none :cache yes >> (org-publish-sitemap >> (assoc "indblog" org-publish-project-alist) >> "sitemap.org") >> #+end_src >> >> I

[O] Generating sitemap: ‘org-publish-cache-get’ called, but no cache present

2018-01-14 Thread Vikas Rawal
I have been using the following code block to generate a sitemap for my org-jkyll based blog. #+begin_src emacs-lisp :results output silent :exports none :cache yes (org-publish-sitemap (assoc "indblog" org-publish-project-alist) "sitemap.org") #+end_src I had not generated the sitemap

Re: [O] [RFC] Dog food, anyone?

2017-12-17 Thread Vikas Rawal
> >> BTW, I wasn't able to export manual.org using Org mode version 9.1.4 >> (9.1.4-elpaplus @ /Users/dk/.emacs.d/elpa/org-plus-contrib-20171205/). >> It fails with this message: >> >> format: Symbol’s value as variable is void: M-x >> >> Does it depend on a more recent Org mode? > > The file

Re: [O] [RFC] Dog food, anyone?

2017-12-17 Thread Vikas Rawal
> > The task started by Thomas S. Dye a couple years ago is now complete. > The "manual.org" file in "contrib/" directory is an up-to-date, > sometimes enhanced, version of the Org manual. Org can now eat its own > dog food. > This gives us a complex org file written by some of the finest

Re: [O] "header-args :eval inline-only" not working

2017-08-20 Thread Vikas Rawal
> >> I am on the latest version on org mode ELPA. It is dated August 18, >> 2017, so should include the commit you mention. > > `org-export-use-babel' is from "master" branch. ELPA provides "maint”. Got it. >> But this would prevent exporting all code blocks including inline blocks. >> >>

Re: [O] "header-args :eval inline-only" not working

2017-08-19 Thread Vikas Rawal
>> >> I don’t see org-export-use-babel in available options. I cannot customise it. >> >> '(org-export-use-babel (quote inline-only)) >> >> Seems to have no effect. Is that so because, as you say later, users are not >> supposed to touch this option? > > No. You must have an older version

Re: [O] "header-args :eval inline-only" not working

2017-08-19 Thread Vikas Rawal
> > There is a bug in the documentation -- `org-export-babel-evaluate' is > obsolete. It should say `org-export-use-babel’. I don’t see org-export-use-babel in available options. I cannot customise it. '(org-export-use-babel (quote inline-only)) Seems to have no effect. Is that so because,

Re: [O] "header-args :eval inline-only" not working

2017-08-19 Thread Vikas Rawal
> > > The first problem is that you have babel code *inside* a macro. Since macros > are run after babel executes, nothing will happen. From the manual: "Org expands macros at the very beginning of the export process.” These macros run fine if I allow code evaluation. Macro replacement

Re: [O] "header-args :eval inline-only" not working

2017-08-19 Thread Vikas Rawal
> On 20-Aug-2017, at 12:57 AM, Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: > > Hello, > > Vikas Rawal <vikasli...@agrarianresearch.org> writes: > >> My org-version (latest on org ELPA) is: Org mode version 9.0.9 >> (9.0.9-82-gb862c2-elpa

[O] "header-args :eval inline-only" not working

2017-08-19 Thread Vikas Rawal
My org-version (latest on org ELPA) is: Org mode version 9.0.9 (9.0.9-82-gb862c2-elpa @ /Users/vikas/.emacs.d/elpa/org-20170814/) The following is not working: #+PROPERTY: header-args :eval inline-only ":eval never-export” works; but ":eval inline-only" does not. I can deal with this by

[O] org-table.el

2017-08-19 Thread Vikas Rawal
Is it by choice that org-table.el is part of both org and org-plus-contrib? Does it have to be explicitly loaded? Vikas

Re: [O] Table formula reference and macro replacement

2017-08-17 Thread Vikas Rawal
> > You could try: > > --8<---cut here---start->8--- > #+macro: remote src_emacs-lisp{(org-table-get-remote-range "$1" "$2")} > > Example: > > #+name: foo > | 1 | 2 | > | 3 | 4 | > > The macro call: {{{remote(foo, @1$2)}}} > --8<---cut

[O] Table formula reference and macro replacement

2017-08-16 Thread Vikas Rawal
The idea is to pick contents of a table cell and use it in a paragraph. Is it possible to have a macro like {{{remote(NAME-OR-ID,REF)}}} ? The above does not work, but am I missing something? Vikas

Re: [O] org babel, ess, R

2017-07-05 Thread Vikas Rawal
>> >> "... I'd like Org to pick up the fact that there's a :session >> argument with a custom name and use that for C-RET in the edit buffer; >> otherwise it generates the default *R* session there, but if you C-c >> C-c the block later it puts it into the custom session name." > > This is what

Re: [O] org babel, ess, R

2017-07-04 Thread Vikas Rawal
>> possibility of evaluating the code to test and see what happens? > > Often, but not always. And it would be seriously annoying to have the > session buffer pop up every time I wanted to browse the code in a src block > while simultaneously viewing the results of a previous invocation

Re: [O] org babel, ess, R

2017-07-03 Thread Vikas Rawal
> On 04-Jul-2017, at 1:22 AM, John Hendy <jw.he...@gmail.com> wrote: > > On Sun, Jul 2, 2017 at 7:17 PM, Vikas Rawal > <vikasli...@agrarianresearch.org> wrote: >>> >>> Vikas Rawal <vikasli...@agrarianresearch.org> writes: >>> >&g

Re: [O] org babel, ess, R

2017-07-02 Thread Vikas Rawal
> > for what it's worth, I usually run two windows (in the same frame), > side-by-side, with emacs maximised. > On the left I have my org file and on the right I have an R session, which I > start immediately after I open my org file. > When I use C-c ' on an R source block, the org buffer (on

Re: [O] org babel, ess, R

2017-07-02 Thread Vikas Rawal
> > Vikas Rawal <vikasli...@agrarianresearch.org> writes: > >> Isn’t is what most users need while editing the code block? The >> possibility of evaluating the code to test and see what happens? > > > Many languages do not support sessions. So, the onl

Re: [O] org babel, ess, R

2017-07-01 Thread Vikas Rawal
> >> When I press C-c' in an R code block to open an edit buffer with ess, on my >> computer, it splits the screen into two side-by-side windows, with the new >> window on the right showing the edit buffer, and the window on the left >> showing the original file. >> >> I would like to change

Re: [O] org babel, ess, R

2017-06-30 Thread Vikas Rawal
> > When I press C-c' in an R code block to open an edit buffer with ess, on my > computer, it splits the screen into two side-by-side windows, with the new > window on the right showing the edit buffer, and the window on the left > showing the original file. > > I would like to change this

[O] org babel, ess, R

2017-06-30 Thread Vikas Rawal
When I press C-c' in an R code block to open an edit buffer with ess, on my computer, it splits the screen into two side-by-side windows, with the new window on the right showing the edit buffer, and the window on the left showing the original file. I would like to change this behaviour in two

Re: [O] Bug: begin_src org :results replace does not work

2017-05-29 Thread Vikas Rawal
> >> > The problem is that the results you generate is a table with affiliated > keywords NAME and CAPTION and ATTR_[backend]. > > `org-at-table-p' does not recognize that the keywords are followed by a > table. Altering this function might be asking for trouble as it is used > outside babel. > >

[O] Bug: begin_src org :results replace does not work

2017-05-28 Thread Vikas Rawal
Why does the replace keyword not work? It prepends the results. I have tried both ":results value replace" and ":results output replace". I am on org-version 9.0.7 Vikas #+NAME: one #+BEGIN_SRC org :results value replace export both ,#+NAME: table-yield ,#+CAPTION: Simple table created using

[O] multicolumn cells in latex export

2016-11-05 Thread Vikas Rawal
Two years ago, Eric Schulte had shared some most useful code snippets (https://lists.gnu.org/archive/html/emacs-orgmode/2014-08/msg00113.html ). This included an export filter (code pasted below) that provided a very useful

Re: [O] member-ignore-case: Wrong type argument: stringp, nil

2016-10-18 Thread Vikas Rawal
> >>> On 12-Oct-2016, at 9:10 am, Vikas Rawal <vikasli...@agrarianresearch.org> >>> wrote: >>> >>> Wrong type argument: stringp, nil >> >> >> Debug gives me this: >> >> Debugger entered--Lisp error: (wrong-type-argume

Re: [O] member-ignore-case: Wrong type argument: stringp, nil

2016-10-11 Thread Vikas Rawal
> On 12-Oct-2016, at 9:10 am, Vikas Rawal <vikasli...@agrarianresearch.org> > wrote: > > Wrong type argument: stringp, nil Debug gives me this: Debugger entered--Lisp error: (wrong-type-argument stringp nil) compare-strings(nil 0 nil "CAPTION" 0 nil t) memb

[O] member-ignore-case: Wrong type argument: stringp, nil

2016-10-11 Thread Vikas Rawal
I get this message when trying to export an org file (with embedded source code blocks) to latex: member-ignore-case: Wrong type argument: stringp, nil How do I go about figuring out what exactly is going wrong? I have tried to isolate the problem by removing stuff from the file, to see when

Re: [O] latex_class_options

2016-09-15 Thread Vikas Rawal
Sorry, please ignore. I did something dumb. My apologies. Vikas > On 15-Sep-2016, at 5:59 pm, Vikas Rawal <vikasli...@agrarianresearch.org> > wrote: > > I have a latex class defined as follows > > (add-to-list 'org-latex-classes > '(("puls

[O] latex_class_options

2016-09-15 Thread Vikas Rawal
I have a latex class defined as follows (add-to-list 'org-latex-classes '(("pulsememoir" "\\documentclass{memoir}" ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" .

Re: [O] Emacs movement keys

2016-08-29 Thread Vikas Rawal
> On 29-Aug-2016, at 6:55 pm, John Kitchin wrote: > >> You know you're an Emacs user when... > > You select some text in MS Word and Type C-w to cut it... and are very > unhappy when Word closes... Story of emacs users on OS X... Vikas

[O] :exports not being respected

2016-08-09 Thread Vikas Rawal
I have a with just the following header, and it is not respecting :exports in my R source blocks. The pdf file created has source code as well as the results. What is wrong? Has the syntax changed again? I have not done anything with org-export-babel-evaluate. #+TITLE: Title of this document

Re: [O] error while upgrading to 8.3.5

2016-07-25 Thread Vikas Rawal
* I cleaned up permissions to some directories and did a make install, which went fine. * Now when I do a “make up2”, I get two errors. FAILED test-ob/indented-cached-org-bracket-link FAILED test-org-colview/columns-summary * Output of BTEST_RE=columns-summary make test Test

Re: [O] error while upgrading to 8.3.5

2016-07-25 Thread Vikas Rawal
> >> I did the usual "make up2" in my git repository but got the following >> error (just pasting the tail of the log): > > Note that "make up2" doesn't upgrade to 8.3.5, as subject suggests, but > moves to the head of the development version, i.e., something like > 9.0-alpha. hmm. Let me deal

[O] error while upgrading to 8.3.5

2016-07-24 Thread Vikas Rawal
I did the usual "make up2" in my git repository but got the following error (just pasting the tail of the log): — Ran 634 tests, 633 results as expected, 1 unexpected (2016-07-25 06:07:28+0530) 7 expected failures 1 unexpected results: FAILED test-org-colview/columns-summary

Re: [O] Unable to resolve link: nil

2016-07-22 Thread Vikas Rawal
> >> Working on long, complex documents, I sometimes have a wrongly pointed >> link. And when I try to export it, I get the error: "Unable to resolve >> link: nil”. Is there a straightforward way to find out which link is >> not resolving? > good question ;). I spent half an hour this week in a

Re: [O] Unable to resolve link: nil

2016-07-22 Thread Vikas Rawal
> >> >> (untested) >> >> Does org-lint help? > > Oh wow! > org-lint helped identify several errors but this problem remains. Vikas

Re: [O] Unable to resolve link: nil

2016-07-22 Thread Vikas Rawal
> > (untested) > > Does org-lint help? Oh wow! Thanks. Vikas

[O] Unable to resolve link: nil

2016-07-22 Thread Vikas Rawal
Working on long, complex documents, I sometimes have a wrongly pointed link. And when I try to export it, I get the error: "Unable to resolve link: nil”. Is there a straightforward way to find out which link is not resolving? Vikas

Re: [O] Cross-reference to Tables and Figures in Latex export is broken

2016-06-12 Thread Vikas Rawal
I updated org, and now :exports results has stopped working, and I am getting both the code and the results in my output!!! V. > On 13-Jun-2016, at 9:25 am, Vikas Rawal <vikasli...@agrarianresearch.org> > wrote: > > This must be a result of some recent update. > >

[O] Cross-reference to Tables and Figures in Latex export is broken

2016-06-12 Thread Vikas Rawal
This must be a result of some recent update. When I export to pdf via xelatex, cross references to Tables and Figures in my org document get messed up. Table/Figure numbers in cross-references are wrong. Has anyone else faced this? Vikas

Re: [O] Trouble evaluating R source code blocks with C-c C-c

2016-05-30 Thread Vikas Rawal
n dep.var.labels = c(\"Per capita calorie intake\",\"Log of per capita calorie intake\"),\n se=list(NULL,robust_se,robust_se2),\n omit=\"state\",\n model.numbers=FALSE,\n report = \"vct*\",\n single.r

Re: [O] Trouble evaluating R source code blocks with C-c C-c

2016-05-29 Thread Vikas Rawal
> > Vikas, can you edit the `sit-for' to `sleep-for' in > > `org-babel-comint-eval-invisibly-and-wait-for-file' > > and `eval-defun' the result and see if that has any effect? > Sorry, given my limited ability with lisp, I do not really understand. Could you please spell out what do I have

Re: [O] Trouble evaluating R source code blocks with C-c C-c

2016-05-29 Thread Vikas Rawal
nd(t$predicted_cv,4)->t$predicted_cv\nnames(t)<-c(\"State.code.68\",\"CV (unit-level data)\",\"CV (grouped data)\",\"CV (based on regression model)\",\"State\")\nt->finvar\nt[order(t$State),c(5,2,3,4)]" ((:colname-names) (:rowname-

Re: [O] Trouble evaluating R source code blocks with C-c C-c

2016-05-29 Thread Vikas Rawal
) (:comments . "") (:shebang . "") (:cache . "no") (:padline . "") (:noweb . "no") (:tangle . "no") (:exports . "results") (:results . "replace scalar latex") (:hlines . "no") (:session . "typ

Re: [O] Trouble evaluating R source code blocks with C-c C-c

2016-05-28 Thread Vikas Rawal
> On 28-May-2016, at 7:57 pm, William Denton <w...@pobox.com> wrote: > > On 28 May 2016, Vikas Rawal wrote: > >> Thanks John. Appreciate that you cared to respond to such a vague query. I >> am at a loss with this one. It does not happen all the time. I

Re: [O] Trouble evaluating R source code blocks with C-c C-c

2016-05-28 Thread Vikas Rawal
produce if you'd like. > > I think my typical go-to is to wipe ESS and re-download/make... That's > all I'm good for without more info. > > > Sorry! > John > > On Thu, May 26, 2016 at 9:33 AM, Vikas Rawal > <vikasli...@agrarianresearch.org> wrote: >>

[O] Trouble evaluating R source code blocks with C-c C-c

2016-05-26 Thread Vikas Rawal
I face a strange problem with evaluating R source code blocks. Occasionally, they take much longer to produce the results when I try to evaluate them with C-c C-c. On the other hand, if I do C-c ‘, go to a temporary R buffer, and evaluate the code, everything works fine. In face, when I use C-c

Re: [O] Using tramp to run R source code blocks on remote server

2016-04-21 Thread Vikas Rawal
> >> I am trying to run R source code blocks on a remote server (defined in my >> ~/.ssh/config as cesp). >> >> I am facing several problems. >> >> 1. The following sample block, when used with ":results value" does not >> give any results. >> >> #+NAME: level1 >> #+begin_src R :results

[O] Using tramp to run R source code blocks on remote server

2016-04-21 Thread Vikas Rawal
I am trying to run R source code blocks on a remote server (defined in my ~/.ssh/config as cesp). I am facing several problems. 1. The following sample block, when used with ":results value" does not give any results. #+NAME: level1 #+begin_src R :results value :exports results :colnames yes

Re: [O] Export org file to pdf: unable to resolve link

2016-02-12 Thread Vikas Rawal
> On 11-Feb-2016, at 6:36 pm, John Hendy wrote: > > On Thu, Feb 11, 2016 at 4:36 AM, Nicolas Goaziou > wrote: >> Hello, >> >> Sergio Bacelar writes: >> >>> Yes, that will work but I hoped that the file >>> won't need to

Re: [O] adding attributes to tables in results

2015-11-21 Thread Vikas Rawal
John, Just curious. What advantage do you see in adding these attributes to the code block, and not directly to the result? Vikas > On 21-Nov-2015, at 11:34 pm, John Kitchin wrote: > > Thanks. That gets me pretty close to what I want. > > Charles C. Berry writes:

Re: [O] visual-fill-column-mode with org

2015-11-08 Thread Vikas Rawal
> Another option would be to use auto-fill-mode to keep your text > paragraphs within your desired width, without affecting tables. > I do not like auto-fill-mode inserting hard returns at fill-column. This creates problems for version control, as sentences cannot be correctly identified. I

Re: [O] visual-fill-column-mode with org

2015-11-08 Thread Vikas Rawal
> Another option would be to use auto-fill-mode to keep your text > paragraphs within your desired width, without affecting tables. > I do not like auto-fill-mode inserting hard returns at fill-column. This creates problems for version control, as sentences cannot be correctly identified. I

Re: [O] visual-fill-column-mode with org

2015-11-08 Thread Vikas Rawal
> >> I would like to use visual-fill-column-mode with my org >> files. However, this has a peculiar problem that org tables also start >> wrapping at fill-column. Does anyone use visual-fill-column-mode with >> org and has found a way of telling it to ignore lines starting with a >> |? > >

[O] visual-fill-column-mode with org

2015-11-07 Thread Vikas Rawal
I would like to use visual-fill-column-mode with my org files. However, this has a peculiar problem that org tables also start wrapping at fill-column. Does anyone use visual-fill-column-mode with org and has found a way of telling it to ignore lines starting with a |? Thanks, Vikas

Re: [O] A book produced using Org

2015-09-21 Thread Vikas Rawal
> Where is your Emacs+OrgMode configuration file? > Have added details of my emacs setup to README.md in the repo. Vikas

Re: [O] A book produced using Org

2015-09-21 Thread Vikas Rawal
> > The publisher usually works with InDesign, but was willing to let me deal > with production of the print-ready PDF if I could meet her specifications. > > Properties of the PDF mentions both Emacs and org mode :-) :) > > How did you get MinionPro into LaTeX? > I use xelatex. Vikas

Re: [O] A book produced using Org

2015-09-21 Thread Vikas Rawal
I have put the source files at https://github.com/vikasrawal/endingmalnutrition The repository does not contain the logo files and the cover files. These were not created in org. But everything else is there. Thanks everyone for all the

Re: [O] A book produced using Org

2015-09-19 Thread Vikas Rawal
> > Beautiful! I would love to see the org file! How did emacs perform which such > huge file? > Emacs had no trouble whatsoever. The main file is 9313 lines. I turned off evaluation of code blocks at export time. Many of the code blocks download data from FAO and other websites before

  1   2   3   4   >