[O] link_up and link_home

2013-05-13 Thread Vikas Rawal
Has there been a change in the way #+link_up and #+link_home are used in html export? Vikas

Re: [O] link_up and link_home

2013-05-13 Thread Vikas Rawal
Has there been a change in the way #+link_up and #+link_home are used in html export? You need to use #+HTML_LINK_UP and #+HTML_LINK_HOME now. Thanks. Vikas

Re: [O] Bibliography

2013-05-12 Thread Vikas Rawal
By the way, where should the bibliography be inserted: at the keyword or at the end of the document (in both HTML and LaTeX)? at the keyword please. Here's a new take on the problem. You need to use latest maint (or master) revision. What do you think? This works fine except that I

Re: [O] Bibliography

2013-05-12 Thread Vikas Rawal
This works fine except that I can't place it at the keyword. How does one do it? I thought having a line say [BIBLIOGRAPHY] would work but it does not. Figured it myself. Placing the line '#+BIBLIOGRAPHY: blah blah...' at the right place did it. Thanks again, Vikas

Re: [O] Bibliography

2013-05-10 Thread Vikas Rawal
Note for Mac OSX users:. I am using Ubuntu Precise, not OSX, and TeXlive 2012, not 2010, and I got the Executing bibtex2html failed when testing this also (even without limit:t). The only way I can imagine to work around was to first run the recommended 'export TMPDIR=.' in a terminal, and

Re: [O] Bibliography

2013-05-09 Thread Vikas Rawal
Yes please. I am waiting for something that will export bibtex to html. With the old exporter, org-exp-bibtex used bibtex2html to achieve it. But nothing similar is possible with the new exporter. I attach a port of org-exp-bibtex.el (renamed ox-bibtex.el) for the new export framework.

Re: [O] Bibliography

2013-05-09 Thread Vikas Rawal
I attach a port of org-exp-bibtex.el (renamed ox-bibtex.el) for the new export framework. Would you mind testing it? I am attaching my test files. I have following problems. 1. When I use limit:t, I get an error: if: Executing bibtex2html failed 2. The bibliography is inserted in the

Re: [O] Bibliography

2013-05-09 Thread Vikas Rawal
I attach a port of org-exp-bibtex.el (renamed ox-bibtex.el) for the new export framework. Would you mind testing it? A big thank you! Here is a quick comment. More to follow. If an org file, say temp.org, refers to a bibtex file called foo.bib, ox-bibtex creates two files: foo.html

Re: [O] Bibliography

2013-05-09 Thread Vikas Rawal
: An Explanation}, journal = {Economic and Political Weekly}, year = {2007}, volume = {42}, pages = {57-64}, number = {52}, owner = {vikas}, timestamp = {2012.11.13} } @ARTICLE{vikaseducation2011, author = {Vikas Rawal}, title = {Statistics on Elementary School Education in Rural

Re: [O] Bibliography

2013-05-09 Thread Vikas Rawal
I attach a port of org-exp-bibtex.el (renamed ox-bibtex.el) for the new export framework. Would you mind testing it? In the latex export, the bibliography is added before the main content of the org file. The tex file shows following lines inserted before the main content rather than after.

Re: [O] Bibliography

2013-05-09 Thread Vikas Rawal
Actually, ox-html.el also tries to do something with bibliographies, which introduces the duplication. We should decide if the code handling them should be in contrib/ or in the various export back-ends. Since HTML handling requires external programs, I lean towards the former. I agree.

Re: [O] Bibliography

2013-05-06 Thread Vikas Rawal
My only concern is about users expecting the keyword to be recognized in other back-ends. Yes please. I am waiting for something that will export bibtex to html. With the old exporter, org-exp-bibtex used bibtex2html to achieve it. But nothing similar is possible with the new exporter. Vikas

Re: [O] Latex export of tables

2013-04-16 Thread Vikas Rawal
I am using org-mode version 8.0-pre (release_8.0-pre-247-gbc3ccd @ /home/vikas/lisp/org-mode/lisp/). I have a table generated by a source block in a document that I would like to export to latex. In the exported tex file, I would like org to insert a line like the following between

Re: [O] Colour themes suggestions?

2013-04-15 Thread Vikas Rawal
yet. I am looking for suggestions for color themes which are on a light background (reflections are less) and has nice and effective syntax highlighting. http://orgmode.org/worg/org-color-themes.html You may like Leuven. Vikas

Re: [O] #attr_latex :width \textwidth

2013-04-14 Thread Vikas Rawal
#+attr_latex: :environment tabulary :width \textwidth :align L|RR For the record, for simple :align strings, you can also use Org syntax: | / || | | | | | | | | l | r | r | r | r | r | r | | | a | b | c | d | e | f | g | It is

Re: [O] #attr_latex :width \textwidth

2013-04-13 Thread Vikas Rawal
And I still mean #+attr_ latex: :width :) You're still missing a colon. :). Sorry, I was not copying and pasting. Anyhow, this works: #+attr_latex: :environment tabulary :width \textwidth :align L|RR Thanks, Vikas

Re: [O] #attr_latex :width \textwidth

2013-04-13 Thread Vikas Rawal
Anyhow, this works: #+attr_latex: :environment tabulary :width \textwidth :align L|RR What was the fix? Using =:environment tabulary= ? Or was it a syntax error? I don't know actually :). I guess I was trying various things, quoting the strings, using :options, etc. It was a bit

[O] Latex export of tables

2013-04-12 Thread Vikas Rawal
I am using org-mode version 8.0-pre (release_8.0-pre-247-gbc3ccd @ /home/vikas/lisp/org-mode/lisp/). I have a table generated by a source block in a document that I would like to export to latex. In the exported tex file, I would like org to insert a line like the following between \end(tabular}

[O] #attr_latex :width \textwidth

2013-04-12 Thread Vikas Rawal
This does not work for me with the new exporter: #attr_latex :width \textwidth Is there another way to do it? Vikas

Re: [O] #attr_latex :width \textwidth

2013-04-12 Thread Vikas Rawal
Sorry, I meant: #+attr_latex :width \textwidth Vikas

[O] exporting cross-references to source block results

2013-04-11 Thread Vikas Rawal
I had raised this on the mailing list earlier but my problem has not been resolved. I shall be grateful if somebody could help debug. My org-version is: Org-mode version 8.0-pre(release_8.0-pre-247-gbc3ccd @ /home/vikas/lisp/org-mode/lisp/) When I have a named source block (say crop_median),

Re: [O] exporting cross-references to source block results

2013-04-11 Thread Vikas Rawal
I confirm the same behavior, in ODT and HTML, and think it's a bug. Additional info: Vikas Rawal didn't say if he also added a `#+NAME: foo' line above the generated table. I expected that to solve it, so I tried. This did give the table an `id=foo' attribute on HTML export for a cross

Re: [O] exporting cross-references to source block results CORRECTION

2013-04-11 Thread Vikas Rawal
Oops, sorry, I take back my last message, there was an error in my test example. Adding a #+NAME above the generated table DOES result in a correct cross-reference. That seems like reasonable behavior to me. The intended behaviour, as documented by Nicolas, is that a named source block

Re: [O] failed execution of bibtex2html

2013-04-11 Thread Vikas Rawal
Hi, I'm having trouble getting \cite commands to work within org-mode for HTML export -- I get the error Executing bibtex2html failed when I run org-export-as-html. I'm running Aquamacs 2.4 (based on GNU Emacs 23.3.50.1) and org-mode version 7.9.4. Any advice would be much

Re: [O] exporting cross-references to source block results CORRECTION

2013-04-11 Thread Vikas Rawal
cross-reference will pick that up correctly. If #+RESULT is not to work, it is better to change org-babel-results-keyword to NAME, and then what you are suggesting happens automatically. But in the earlier thread on the topic, Nicolas said that was not the right way. We are

Re: [O] exporting cross-references to source block results CORRECTION

2013-04-11 Thread Vikas Rawal
And then, we need to separately name the results block, and use a different name for it, so that the cross-references pick it up correctly? Yes, the name given to the results block doesn't depend on the results keyword. You can give it any name, as long as it is unique. Here is an

Re: [O] I have terminated my assignment

2013-04-04 Thread Vikas Rawal
You also stated that the main reason for your current behavior is to delay Org 8.0, to create chaos and to annoy me. Yes. I would suggest that further emails from Jambunathan be ignored. The more effort expended reasoning with him, the more time wasted by members of the Org-mode

Re: [O] [patch] LaTeX export using tabu tables

2013-03-23 Thread Vikas Rawal
Attached is a patch that lets you use the tabu and longtabu table environments. Mostly the patch is necessary because tabu has its own annoying syntax for table width declarations. Where everyone else does something like: Great! Dunno if this is worth it for other people, but there's the

[O] [new-exporter] Beamer color theme

2013-03-12 Thread Vikas Rawal
How do I change beamer color theme in the new exporter. Vikas

Re: [O] [new exporter] Captions for tables made by source blocks

2013-03-07 Thread Vikas Rawal
I wasn't clear. By naming the results, I mean that you must provide your source block a #+NAME: something attribute, so the generated table gets a #+RESULTS: something attribute. There is something strange happening. Cross-references to captions of tables that are produced thus get

Re: [O] [new exporter] Captions for tables made by source blocks

2013-03-07 Thread Vikas Rawal
Could you provide an ECM? See the attached dummy file. Vikas #+STARTUP: hidestars #+TITLE: Title of the paper #+DATE: #+AUTHOR: name of author #+COLUMNS: %25ITEM %TAGS %PRIORITY %T #+property: exports results #+property: session fbi #+OPTIONS: H:2 toc:nil num:1 #+LaTeX_CLASS: article *

Re: [O] [new exporter] Captions for tables made by source blocks

2013-03-07 Thread Vikas Rawal
Could you provide an ECM? Please see the attached file. Vikas #+STARTUP: hidestars #+TITLE: Title of the paper #+DATE: #+AUTHOR: name of author #+COLUMNS: %25ITEM %TAGS %PRIORITY %T #+property: exports results #+property: session fbi #+OPTIONS: H:2 toc:nil num:1 #+LaTeX_CLASS: article *

Re: [O] [new exporter] Captions for tables made by source blocks

2013-03-07 Thread Vikas Rawal
Could you provide an ECM? Please see the attached file. I cannot reproduce it, i.e. I get \ref{crop-median} in the output. This is odd!! Please see the .tex file attached with this mail. This is what I get. Any idea, how do I debug this? Vikas

Re: [O] [new exporter] Captions for tables made by source blocks

2013-03-07 Thread Vikas Rawal
Could you provide an ECM? Please see the attached file. I cannot reproduce it, i.e. I get \ref{crop-median} in the output. Regards, For me, it works if I change the value of org-babel-results-keyword to NAME. Then the results block is produced with #+NAME: crop-median The

Re: [O] Frustrated user of orgmode

2013-03-06 Thread Vikas Rawal
I have migrated the migration instructions and tips here: http://orgmode.org/worg/org-8.0.html I have managed to get the new exporter working. Thank you everyone for helping. In case any one else is struggling with the same, following links helped me in getting it to work:

[O] [new exporter] Captions for tables made by source blocks

2013-03-06 Thread Vikas Rawal
There has been some change in the behaviour of #+CAPTION in case of tables made by source blocks. In the old exporter, #+CAPTION just before #+BEGIN_SRC was sufficient to place the caption before the table when the file was exported. The new exporter does not produce captions the same way. When

Re: [O] [new exporter] Captions for tables made by source blocks

2013-03-06 Thread Vikas Rawal
CAPTION keyword above a source block applies to the source block only. If the source block generates a table, you have to put a CAPTION above it, as it will not inherit the caption of the source block. It also implies that you need to name the results. Otherwise, source block will not

Re: [O] [new exporter] Captions for tables made by source blocks

2013-03-06 Thread Vikas Rawal
I wasn't clear. By naming the results, I mean that you must provide your source block a #+NAME: something attribute, so the generated table gets a #+RESULTS: something attribute. Got it. Thanks. BTW, you mustn't change `org-babel-results-keyword'. I don't even know why this is a

[O] [new exporter] latex export and attr_latex

2013-03-06 Thread Vikas Rawal
There has been a change in the way attr_latex is used in the new exporter. Nicolas has given the details at http://thread.gmane.org/gmane.emacs.orgmode/62766. Would somebody have time to elaborate with an example how to use it for tabularx/tabulary environment. In case of old exporter, I used

Re: [O] Beamer presentation using new exporter

2013-03-04 Thread Vikas Rawal
You may be trying to modify `org-latex-classes' before having `ox-latex' loaded. You can either explicitly (require 'ox-latex) before that, which will load all export framework along with Org, or use the following construct: I don't know why this is turning out to be so difficult. I

[O] Frustrated user of orgmode

2013-03-04 Thread Vikas Rawal
I have been a user of orgmode for a fairly long time and have never felt frustrated like this before. I have been trying to move to the new exporter and a complete absence of any coherent documentation has made it impossible. I have tried various versions of orgmode (master/maint braches from

Re: [O] org-exp-bibtex missing in git?

2013-03-03 Thread Vikas Rawal
I do confirm. Thank you. I have been trying to migrate to the new-exporter. I have not had much success so far but I hope to be able to figure it all out soon. Since we do not yet have a documentation, it is difficult. Nicolas has been very kind with help. I have a website that is built

[O] (no subject)

2013-03-02 Thread Vikas Rawal
You may be using an outdated version (maint branch?). Otherwise, latex back-end may not be loaded, but it is by default (see `org-export-backends'). I am using 7.9.3f updated using orgmode elpa repository. Is that a problem? Vikas

Re: [O] Beamer presentation using new exporter

2013-03-02 Thread Vikas Rawal
I have been trying to figure out how to do this. I saw Suvayu's config files which he has kindly kept on github (https://github.com/suvayu/.emacs.d). I tried to evaluate the following lines (add-to-list 'org-latex-classes '(beamer

[O] org-exp-bibtex missing in git?

2013-03-02 Thread Vikas Rawal
org-exp-bibtex seems to have gone missing from git repository. Can somebody confirm pleae. Vikas

[O] Beamer presentation using new exporter

2013-03-01 Thread Vikas Rawal
I am finally trying to use the new exporter to create a beamer presentation. I started with a simple orgmode file. My file is as follows: #+STARTUP: hidestars #+TITLE: Title #+AUTHOR: My name #+OPTIONS: H:2 toc:nil #+E-MAIL: usern...@email.org #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS:

Re: [O] The statement on what is orgmode.

2012-12-12 Thread Vikas Rawal
Org-mode is useful for - Organising projects, maintaining TODO lists and calendars - Creating high quality formatted documents - Keeping notes - Literate programming and Reproducible Research After a rather fruitful discussion, this thread has gone dead before power-that-be would take

Re: [O] The statement on what is orgmode.

2012-12-07 Thread Vikas Rawal
So, again, seriously, this thread is misnamed. What can't you do in Emacs/OrgMode? What can't it be used for?--this should be the thread! I'd really like to know. Every week or two, something comes off my very tiny list, which is just about empty. Seriously seriously? Sorry

Re: [O] The statement on what is orgmode.

2012-12-06 Thread Vikas Rawal
Why not just type out what the page should say? That is in the spirit of collaborative way of using things. Your mail sounds more like a complaint, but with a polite tone. Oops. I was not complaining. I am sorry if my mail gave that impression. I raised an issue. Or, what I thought was an

Re: [O] The statement on what is orgmode.

2012-12-06 Thread Vikas Rawal
like the following: * Org mode is useful for ** Organising projects ** Maintaining TODO lists and calendars ** Keeping notes ** Creating high quality formatted documents ** Literate programming Each of the above could then be linked to relevant pages of the manual or worg. A slightly

Re: [O] The statement on what is orgmode.

2012-12-06 Thread Vikas Rawal
Org-mode is useful for - Organising projects, maintaining TODO lists and calendars - Creating high quality formatted documents - Keeping notes - Literate programming and Reproducible Research Use lower case for RR, since everything else is lower case? Vikas

Re: [O] The statement on what is orgmode.

2012-12-06 Thread Vikas Rawal
Org-mode is a set of processors that work in the background of Emacs to convert your text into action and your chaos into structure. With the help of those processors, almost anything you type while using Org-mode is already a computer program. Well said. Vikas

Re: [O] The statement on what is orgmode.

2012-12-06 Thread Vikas Rawal
Suggested slight change which mentions RR in addition to LP, and doesn't abuse the outline syntax (one of the most common beginner mistakes IMO). Org-mode is useful for - Organising projects, maintaining TODO lists and calendars - Creating high quality formatted documents - Keeping notes

[O] The statement on what is orgmode.

2012-12-05 Thread Vikas Rawal
The top title space on the orgmode website says: Org mode is for keeping notes, maintaining TODO lists, doing project planning, and authoring with a fast and effective plain-text system. Orgmode today does a lot more than organising/planning. I felt that the above does not adequately reflect what

[O] What's new in an orgmode based website

2012-12-05 Thread Vikas Rawal
I have an orgmode-based website (http://www.indianstatistics.org). I would like to have a section in the index.html that shows links to recently changed/added html pages. It would be nice if I could show titles of such pages, and create links from these titles to the files. Will be grateful for

Re: [O] The statement on what is orgmode.

2012-12-05 Thread Vikas Rawal
One remedy, to this, and a thing I think would be nice in any case, would be if keywords in the presenting sentence would link to (worg?) feature pages. Another possibility would be to make the title just say Org mode. And the first headline, before Download and install, be something like

Re: [O] Renaming the thread: orgmode-bibtex/html-export issues

2012-11-09 Thread Vikas Rawal
I would like some pages to have a bibliography of works relevant to the subject area. I need the kind of thing that is done using \nocite(key) in bibtex. \nocite is useful when one is building a standalone bibliography that is not accompanying any text where these works are cited. Now that

Re: [O] Renaming the thread: orgmode-bibtex/html-export issues

2012-11-09 Thread Vikas Rawal
I also do not like the fact that it inserts, at the bottom of every page, a footer saying This file was generated by bibtext2html... Any ideas about how to get rid of that? I have had some success with this. I patched org-exp-bibtex.el as follows. Line 101 to 110 look as follows: ###

[O] Renaming the thread: orgmode-bibtex/html-export issues

2012-11-07 Thread Vikas Rawal
My problem with bibtex is in the context of a website I am developing using orgmode (http://www.indianstatistics.org). I would like some pages to have a bibliography of works relevant to the subject area. I need the kind of thing that is done using \nocite(key) in bibtex. \nocite is useful when

[O] Javascript in postamble

2012-11-07 Thread Vikas Rawal
For a website that I am producing using orgmode, I would like to insert a javascript code in the postamble to get a piwik installation to track traffic to the website. I am unable to add html markup/java script to :html-postamble in project alist. The documentation on postamble is too brief for

Re: [O] error: Execution of bibtex2html

2012-11-06 Thread Vikas Rawal
Just a couple of obvious suggestions; are you sure bibtex2html is in your path when you launch Emacs? Maybe adding /usr/local/bin to your PATH will do the trick. I would put such modifications in ~/bash_profile (assuming you use bash as shell), logout and login before trying again. The

Re: [O] error: Execution of bibtex2html

2012-11-06 Thread Vikas Rawal
On Tue, Nov 06, 2012 at 05:43:32PM +0100, Suvayu Ali wrote: On Tue, Nov 06, 2012 at 05:54:47AM +0900, Vikas Rawal wrote: But when I export a file having bibtex citations, orgmode complains saying Execution of bibtex2html failed. It seemed to me that orgmode was unable to find bibtex2html

Re: [O] error: Execution of bibtex2html

2012-11-06 Thread Vikas Rawal
Sorry, that was a typo. I am able to directly run bibtex2html from the bash shell prompt. ECHO $PATH shows /usr/local/bin. What does 'which bibtex2html' show? from within M-x shell: * [11:53:47][0][source]# bibtex2html This is bibtex2html version 1.97, compiled on Mon Nov 5

Re: [O] error: Execution of bibtex2html

2012-11-06 Thread Vikas Rawal
Sorry, that was a typo. I am able to directly run bibtex2html from the bash shell prompt. ECHO $PATH shows /usr/local/bin. So that should not be a problem. But somehow org-exp-bibtex.el cannot find it. I wonder if org-exp-bibtex has the path hard-coded into it! Or something else?

[O] error: Execution of bibtex2html

2012-11-05 Thread Vikas Rawal
I am having trouble in using org-exp-bibtex.el on debian sid. I was unable to install bibtex2html through the package manager because of dependency problem with ocaml-base-nox-3.12.1. I then installed ocaml separately, and compiled bibtex2html from source. Now, bibtex2html is working fine from the

[O] error: Execution of bibtex2html

2012-11-05 Thread Vikas Rawal
I am having trouble in using org-exp-bibtex.el on debian sid. I was unable to install bibtex2html through the package manager because of dependency problem with ocaml-base-nox-3.12.1. I then installed ocaml separately, and compiled bibtex2html from source. Now, bibtex2html is working fine from

[O] error: Execution of bibtex2html

2012-11-04 Thread Vikas Rawal
I am having trouble in using org-exp-bibtex.el on debian sid. I was unable to install bibtex2html through the package manager because of dependency problem with ocaml-base-nox-3.12.1. I then installed ocaml separately, and compiled bibtex2html from source. Now, bibtex2html is working fine from the

Re: [O] label and ref in latex export

2012-10-11 Thread Vikas Rawal
On Wed, Oct 10, 2012 at 09:15:52PM -1000, Thomas S. Dye wrote: You might want to check the .tex file to see if the label is there. Also, compiling with LaTeX yields a detailed log, which will tell you the line number of errors and warnings. You could look there to pinpoint the error(s). I was

[O] label and ref in latex export

2012-10-10 Thread Vikas Rawal
The following has been taken from my org file. - #+CAPTION: Average output, cost and net income per acre, by area, (2005-06 prices) #+LABEL: tab:avprofit #+ATTR_LATEX: table * tabulary width=\textwidth align=l| #+BEGIN_SRC R :results value raw :colnames yes :hline yes

Re: [O] label and ref in latex export

2012-10-10 Thread Vikas Rawal
Aloha Vikas, Perhaps table * - table*? I have corrected that. But it still says Exporting to PDF...done, with some errors: [undefined reference] The warning [undefined reference] seems to be on account of not finding the label reference. Vikas

Re: [O] org-babel's treatment of NA in R source block

2012-10-03 Thread Vikas Rawal
I would like the NAs to be replaced by blank cells or by a less obstrusive character like a .. Is there a simple way I could change this behaviour? Vikas Aloha Vikas, One route might be the ascii package in R, which exports objects to several markup languages, including Org.

[O] org-babel's treatment of NA in R source block

2012-10-01 Thread Vikas Rawal
If the result of an R source block contains a data frame with NA, the NAs are replaced by nil when I evaluate the source block. When I export the file, these appear as nil in the resulting pdf/latex file. I would like the NAs to be replaced by blank cells or by a less obstrusive character like a

Re: [O] Caption and notes for images in latex export

2012-09-29 Thread Vikas Rawal
By default, orgmode export to latex puts captions of images below the images. How to change the behaviour and make the captions appear at the top? You can use filters: #+begin_src emacs-lisp (defun my-latex-captions-above (link backend info) (when (and (memq backend '(e-latex

[O] Caption and notes for images in latex export

2012-09-28 Thread Vikas Rawal
By default, orgmode export to latex puts captions of images below the images. How to change the behaviour and make the captions appear at the top? Also, I would like to add Notes and Source below the image. What is the right way of doing that? Vikas

Re: [O] Heading numbering in latex export

2012-09-27 Thread Vikas Rawal
Can you provide a minimal reproducible example? Here is a sample file. If I export it twice, I have the problem. Vikas #+STARTUP: hidestars #+TITLE: Title of my paper #+DATE: #+AUTHOR: Vikas Rawal #+COLUMNS: %25ITEM %TAGS %PRIORITY %T #+OPTIONS: H:3 toc:nil #+LATEX_CMD: xelatex

[O] Emacs starter kit

2012-07-16 Thread Vikas Rawal
There are multiple versions of Emacs Starter Kit. The two main versions that I currently see are one maintained by Eric Schulte (http://eschulte.me/emacs24-starter-kit/) and the other maintained by Phil Hagelberg (https://github.com/technomancy/emacs-starter-kit/). The important difference

Re: [O] Emacs starter kit

2012-07-16 Thread Vikas Rawal
I think the most important differentiator is whether you want to keep your configuration in .org or .el files. I have all of my personal config in a single 2255 line Org-mode file. Thanks to Org-mode's folding outline structure I've found this to be much easier to navigate than either one

Re: [O] Org/LaTeX set-up for business letters?

2012-07-06 Thread Vikas Rawal
[1] Off the top of the head I recall a package called `scrlttr'. Yes, part of KOMA (?), but thats rather low level if you have to design your own letters - and who knows all that stuff about professional letter design?. I tried that once and the result was ugly, there is a lot of extra

Re: [O] Documentation for the new exporter

2012-06-19 Thread Vikas Rawal
Where is the documentation for the new exporter that is in the works? http://orgmode.org/worg/dev/org-export-reference.html Nick and Thorsten, Thanks. Vikas

[O] Documentation for the new exporter

2012-06-17 Thread Vikas Rawal
Where is the documentation for the new exporter that is in the works? Inspired by so much discussion of the new exporter on the list (which I have only superficially followed so far), I would like to test it out. Will be grateful for a pointer about where to start. Vikas

Re: [O] on the go capture

2012-06-13 Thread Vikas Rawal
What do you use? And if you use mobileorg, then how well does it work? I have been using mobileorg lately but have been troubled by org-mobile-pull not syncing todo states and tags correctly. Most of the times, these end up as errors in flagged.org. Capturing notes and refiling them works

[O] Counting TODO entries in subtree

2012-06-11 Thread Vikas Rawal
I would like to insert a statistics cookie to count TODO entries in a subtree but I would like it to count only in a specified number of levels of headings (say, up to two headings below the heading where the cookie is inserted and exclude children below the second level). Is that possible?

Re: [O] Converting table to properties

2012-06-07 Thread Vikas Rawal
This is a quick hack on org-table-transpose-table-at-point to print out a property list instead of a table. #+begin_src elisp (defun vikas-convert () table to props (interactive) (let ((contents (apply #'mapcar* #'list ;; remove 'hline from list (delq

[O] Updating orgmode

2012-06-07 Thread Vikas Rawal
I have a debian system. I am trying to update orgmode using git. But M-x org-version continues to show me version 7.7. How do I find where is it picking up this version from? It seems to me that this is the default version that shipped with my emacs. Debian repository has a more updated version

[O] Problem with org-mobile-pull

2012-06-07 Thread Vikas Rawal
I am having a problem with org-mobile-pull. I am updating TODO state of my file on my ipad. I then sync it, and do an org-mobile-pull. I get an error of the following type * Heading not found on level 1: Sample households, Nayanagar F(edit:todo) [[olp:nayanagar.org:Sample households,

[O] Converting table to properties

2012-06-06 Thread Vikas Rawal
I have a table under each of several headlines in an org file. Each table has a row of column labels and a row of data. I would like to convert the table into properties, with labels coming from first row and values of properties coming from the second row. How should I do this? Vikas

[O] Per file customisation of sectioning structure in latex export

2012-04-27 Thread Vikas Rawal
I would like to specify the correspondence between heading levels and sectioning structure for latex export in a specific file. Could somebody point me to the right method. I have checked http://orgmode.org/worg/org-tutorials/org-latex-export.html on worg. Isn't there a way by which I could

Re: [O] Unicode (hindi/devnagari) in beamer export

2012-02-10 Thread Vikas Rawal
# for unicode export to pdf with xelatex #+LATEX_HEADER: \usepackage{xltxtra} You can choose your font with something like this: # font for pdf export as article #+LATEX_HEADER: \setmainfont{Linux Libertine} Also for the record, following minor modification was needed to make the

Re: [O] Unicode (hindi/devnagari) in beamer export

2012-02-09 Thread Vikas Rawal
# font for pdf export as article #+LATEX_HEADER: \setmainfont{Linux Libertine} Make sure you choose something which supports devanagari. Unfortunately, I do not like the latin characters of all the fonts I have with devanagari characters. Most of them have san-serif latin characters while

[O] Unicode (hindi/devnagari) in beamer export

2012-02-02 Thread Vikas Rawal
I need some Hindi/Devnagari text in a beamer presentation. I am able to use scim-bridge to enter unicode text in orgmode. But have not yet been able to export it correctly to a beamer presentation. Any pointers would be helpful. Thanks in advance. Vikas

Re: [O] Unicode (hindi/devnagari) in beamer export

2012-02-02 Thread Vikas Rawal
C-x C-m C-\ devanagari- TAB (pick whatever) C-h C-\ (gives you the keymap) C-\ (to switch to English again) C-\ (to switch to devanagari) This works beautifully. Thanks. I have to make a presentation for a workshop in Devnagari. Normally, I use org-mode for making the presentation. The

Re: [O] Unicode (hindi/devnagari) in beamer export

2012-02-02 Thread Vikas Rawal
(setq org-latex-to-pdf-process xelatex -interaction nonstopmode -output-directory %o %f xelatex -interaction nonstopmode -output-directory %o %f xelatex -interaction nonstopmode -output-directory %o %f) Works with a minor change as below: (setq org-latex-to-pdf-process

Re: [O] org file for reference card?

2011-12-22 Thread Vikas Rawal
We can write a dedicated exporter for that. Basically, it just needs to insert a specific header (see doc/orgcard.tex) and to convert list items into \key{...}{...} entries -- those kinds of things are now possible with org-element.el and org-export.el. I will come up with the bare bones

Re: [O] org file for reference card?

2011-12-22 Thread Vikas Rawal
In the attached file, I have put the text of the reference card in org syntax. Please see and help improve. Bastien and others, please suggest the way forward from here. Vikas #+STARTUP: hidestars #+TITLE: Org-Mode Reference Card #+OPTIONS: toc:nil * Getting Started To read the on-line

Re: [O] org file for reference card?

2011-12-20 Thread Vikas Rawal
Isn't it odd that a tex file is distributed with orgmode, a pdf and a text file available on the website. Should we not have a .org version of the reference card? Good idea -- can you draft something in .org and upload it to Worg? http://orgmode.org/worg/ Can't orgmode produce

[O] org file for reference card?

2011-12-15 Thread Vikas Rawal
Isn't it odd that a tex file is distributed with orgmode, a pdf and a text file available on the website. Should we not have a .org version of the reference card? Can't orgmode produce the reference card pdf from a .org file? Vikas

[O] Batch export to html

2011-12-07 Thread Vikas Rawal
I would like to export an org file to html using a batch command. This is the command I tried. emacs --batch --load=$HOME/lisp/org-7.01/lisp/org.el --eval (setq org-export-headline-levels 1) --visit=$HOME/file.org --funcall org-export-as-html-batch But I get an error which says: Symbol's

Re: [O] Org-odt table format

2011-10-27 Thread Vikas Rawal
Let me see how good my documentation is ... Thanks very much for responding to my query and for sending the documentation. This indeed clarifies the approach one needs to take in formatting the odt documents. I, however, realise that I need to understand a lot more of odt internals to be able to

[O] Org-odt table format

2011-10-26 Thread Vikas Rawal
Is there a way to specify (in the org file) column widths of a table when exported to an odt file. Vikas

Re: [O] org-mobile-push

2011-10-01 Thread Vikas Rawal
In trying to call this last function, emacs gets an error: the function is not defined. Basically what happens is that org-mobile-push calculates the agenda, by calling org-agenda-list. This function checks the value of the variable org-agenda-include-diary, which in your case must be t,

<    1   2   3   4   5   >