[Orgmode] Format heading numbering html export

2011-01-08 Thread Vikas Rawal
When I export an org file to html, the headings are numbered (1, 1.1,
1.1.1,etc.) by default. I would like to change the numbering style and
use different types of bullets to denote different levels of headings.

How could that be done?

Thanks.

VR

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Format heading numbering html export

2011-01-09 Thread Vikas Rawal
> 
> Right now, I would suggest setting =h:1= to make all except top-level
> headings into list items. Next, you could set =num:nil= to turn off
> section numbering altogether.


Thanks. This does exactly what I wanted.

Vikas

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode



[Orgmode] [babel] show R commands in html export

2010-07-19 Thread Vikas Rawal
Is it possible that org-babel shows not just the output of R commands
but also R commands themselves in the html output?

I could perhaps write the commands twice, once outside the code block
(to make the commands appear as they are), and once inside the
codeblock to display output of those commands. But is there a better
solution?

If using them twice is the only way, what would be the best way to
set the code (when typed outside the codeblock) so that it is
formatted properly in the html output?

Vikas 

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [babel] show R commands in html export

2010-07-19 Thread Vikas Rawal

> 
> E.g., :exports both.

Works beautifully. 

Thanks very much,

Vikas

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] [babel] html export of R data frame

2010-07-19 Thread Vikas Rawal
I have an R script which outputs a small table in the form of a
dataframe. In org-babel, this dataframe is not displayed as an org
table but simply as text laid out as it would be in an R session. 

When I export the output to html, I do not get an html table but only
text. How do I make org-babel show a table instead of plain text?

For example, take a simple code block like:

#+BEGIN_SRC R :results output :exports both :session y
  x<-c(1:5)
  y<-x^2
  data.frame(x,y)
#+END_SRC


Vikas






 


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] orgmode html export uses wrong browser

2010-07-21 Thread Vikas Rawal
>From org, when I export an org buffer to html and open in browser
(using C-c C-e b), it opens epiphany web browser. On the other, if I
open a url from within orgmode, the urls are opened in firefox. How
can I change the browser that is used for viewing the exported html
files?

I am using debian sid, emacs23 and org 7.01.

Thanks,

Vikas

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: orgmode html export uses wrong browser

2010-07-21 Thread Vikas Rawal

> 
> I am using Debian Lenny, Emacs 23 and Org 7.01 and I have the following
> in my .emacs
> 
> (setq browse-url-browser-function (quote browse-url-generic))
> (setq browse-url-generic-program "google-chrome")
> 


The problem, somehow, had to do with the default gnome browser.

Changed it to firefox with 

update-alternatives --config gnome-www-browser

And then orgmode export users firefox.

But if I want to use conkeror as gnome-www-browser, I
can't. update-alternatives does not give conkeror as an
option. Manually creating the link does not help either.

Vikas 

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: orgmode html export uses wrong browser

2010-07-21 Thread Vikas Rawal

> But if I want to use conkeror as gnome-www-browser, I
> can't. update-alternatives does not give conkeror as an
> option. Manually creating the link does not help either.

Sorry, I need to correct myself. Manually creating the link does work.

Conkeror is now the default browser.

Vikas

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Changing fontsizes in a frame in org beamer

2010-09-10 Thread Vikas Rawal
I am using org to make a beamer presentation and would like to know
how to change font sizes of different elements in a frame. I would
like font size specification to apply to different elements of an
individual frame: the body, the item list, table, captions etc. What
would be the easiest way to define these for a frame? Can I use
Attr_LaTex? How?

Thanks,

Vikas


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Changing fontsizes in a frame in org beamer

2010-09-11 Thread Vikas Rawal
John,

Thanks very much. Will try these and get back with results.

Vikas

On Fri, Sep 10, 2010 at 9:09 PM, John Hendy  wrote:

> Vikas,
>
>
> You want to play around with the \setbeamerfont command.
>
> Grab the manual here:
> http://www.ctan.org/tex-archive/macros/latex/contrib/beamer/doc/beameruserguide.pdf
>
> Check out, in particular, section 18.3.3 entitled "Setting Beamer's Fonts"
> - You can direct commands for the whole document at various "parts" of the
> Beamer doc
> --- \setbeamerfont {title}{size=\large} (or \LARGE or \Huge, for example)
> --- \setbeamerfont {frametitle}
> --- Scan the manual for all the part names you can fiddle with but for sure
> these are frametitle (title on each slide), title (title on the first
> slide), author (author's name on first slide), footer/header (the stuff at
> the bottom/top of each slide)... and probably subtitle? I forget all of them
> and haven't found a great concise list yet...
>
> - You can also set up custom font names like this from page 199
> /
> | \setbeamerfont{parent A}{size=\large}
> | \setbeamerfont{parent B}{series=\bfseries}
> | \setbeamerfont{child}{parent={parent A, parent B},size=\small}
> | \normalfont
> | This text is in a normal font.
> | \usebeamerfont{parent A}
> | This text is large.
> | \usebeamerfont{parent B}
> | This text is large and bold.
> | \usebeamerfont{parent B}
> | This text is still large and bold.
> | \usebeamerfont*{parent B}
> | This text is only bold, but not large.
> | \usebeamerfont{child}
> | This text is small and bold.
> \-
>
> Also, see secion 18.2.1 entitled "Choosing a Font Size for Normal Text"
> - Essentially you set body text via \documentclass[size-goes-here(e.g. 8pt,
> 11pt, etc.] ]{beamer}
>
> Lastly, here's a handy page with LaTeX font sizes:
> http://en.wikibooks.org/wiki/LaTeX/Useful_Size_Commands
>
>
>
> John
>
>
>
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[O] Small font size in beamer tables

2011-08-03 Thread Vikas Rawal
I am using beamer class in orgmode to make a presentation. I need to
use small font size for some of my tables. 

LaTeX_CLASS_OPTIONS changes font size in the text but not in the tables.

Something like this does not work.

#+ATTR_LaTeX: size=small align=p{2cm}|r|r|p{1cm}|p{1cm}|r|p{1cm}|p{1cm}|

What would be the easiest way to specify that a table uses smaller
font size.

Vikas



Re: [O] Small font size in beamer tables

2011-08-03 Thread Vikas Rawal
> > I am using beamer class in orgmode to make a presentation. I need to
> > use small font size for some of my tables.
> >
> 
> http://orgmode.org/worg/org-hacks.html#latex-command-for-floats

Oh. Thanks very much for a prompt response. In fact, I was just
reading that extremely useful thread on this list where you proposed
this solution and provided the patch for the documentation.

The solution is not working for me somehow. Which is to say that, with
my limited knowledge of latex, I have not been able to understand
this. So may I please you to elaborate a bit.

I have this line:
#+ATTR_LaTeX: placement=\footnotesize 
align=p{2cm}|r|r|p{1cm}|p{1cm}|r|p{1cm}|p{1cm}|

This does not produce any change.

I have also tried just:
 
#+ATTR_LaTeX: placement=\footnotesize

What am I supposed to do with []. Do i have to have some?

If it is relevant, my table is produced by a src block which processes
an R script.

So the entire frame looks like:

*** frame title
#+CAPTION: the table title here
#+ATTR_LaTeX: placement=\footnotesize 
align=p{2cm}|r|r|p{1cm}|p{1cm}|r|p{1cm}|p{1cm}|
#+BEGIN_SRC R :results value :colnames yes :hline yes

[R script here]

#+END_SRC

I shall be grateful if you could help me tweak this.

Vikas




Re: [O] Small font size in beamer tables

2011-08-03 Thread Vikas Rawal
> I hadn't tried my solution for beamer export. In beamer tables don't
> use the table environment, hence my previous solution doesn't work.
> 
> That said, I did find an ugly hack. Try this:
> 
> #+LATEX: {\tiny
> #+ATTR_LaTeX: align=rr
> | M (GeV) | K-factor |
> |-+--|
> |  50 |1.075 |
> | 150 | 1.01 |
> | 250 |   0.9932 |
> | 350 |   0.9778 |
> | 450 |   0.9621 |
> #+LATEX: }
> 

You are my hero of the day!!!

Thank you very much.

Vikas




[O] (no subject)

2011-08-05 Thread Vikas Rawal




[O] org-babel-pop-to-session

2011-08-05 Thread Vikas Rawal
I am having a strange problem. I would like session-based evaluation
of my R src blocks.

I have the following defined in the header.

#+property: session harland

However, when I press C-c, the source block is not sent to the session
harland.

When I do M-x org-babel-pop-to-session I get a message saying:
if: No org-babel-initiate-session function for nil!

When I do M-x org-babel-initiate-session I get a message saying:
call-interactively: Autoloading failed to define function 
org-babel-initiate-session

There is obviously something silly that I am missing.

Can somebody come to help please.

Best,

Vikas



Re: [O] org-babel-pop-to-session

2011-08-06 Thread Vikas Rawal
On Sat, Aug 06, 2011 at 07:35:50AM +0200, suvayu ali wrote:
> On Sat, Aug 6, 2011 at 3:23 AM, Vikas Rawal
>  wrote:
> > #+property: session harland
> >
> 
> I'm not sure I recognise this syntax. Are you sure this is correct?
> According to my understanding it should be something like this:
> 
> #+BABEL: :session *harland*
> 
> <http://orgmode.org/manual/Buffer_002dwide-header-arguments.html#Buffer_002dwide-header-arguments>

This is confusing. I have always used #+property.
Taking the syntax from

http://orgmode.org/manual/Header-arguments-in-Org_002dmode-properties.html#Header-arguments-in-Org_002dmode-properties

Is that wrong?

In any case, I will try using #+BABEL

Thanks,

Vikas




Re: [O] Not merging org-lparse, org-xhtml & org-odt to the core

2011-08-22 Thread Vikas Rawal
> I have made a decision not to merge org-lparse, org-xhtml & org-odt in
> to Orgmode core. It is a very difficult decision for me to take
> considering that I had put all my heart in to it. (Btw, this decision
> has nothing to with me not having enough time at hand.)

This comes as a surprise. Did I miss something on the list? It would
help if you would kindly explain your reason for chosing keep your
work separate from orgmode core?

There has been a lot of excitement on this list about the addition of
org-odt into orgmode. What has gone wrong?

Vikas



Re: [O] Not merging org-lparse, org-xhtml & org-odt to the core

2011-08-23 Thread Vikas Rawal
> Precisely my point. Bastien's idea of merge is to make it into a long
> drawn affair. I disagree.

It would help if you or Bastien could explain what is going on. As is
clear, everyone is hoping that the issues will be resolved and your
valuable contributions will remain a part of org-mode. 

It does seem that you are, for now, letting them be within org-mode
(your other mail). But it would still help if you express your
apprehensions and discuss them openly on this list.

Vikas



[O] Code vanishes on export

2011-08-24 Thread Vikas Rawal
I have been having some strange behaviour with my orgmode files
containing R code. When I export the file (to html), the code vanishes
and is replaced by value that is calculated by the code. I obviously
do not want the code to be removed from my org file.

I did not have this problem earlier and it seems to have appeared
after a recent upgrade.

Could someone please help trace the problem.

Vikas



Re: [O] Not merging org-lparse, org-xhtml & org-odt to the core

2011-08-24 Thread Vikas Rawal

> Please, all, take a step back and take a deep breath.

+1.

Now that various people have given vent to their feelings (and I hope
others have managed to swallow what they did not like), let us just
move on. 

May I suggest: go watch a film, grab a beer, or simply sit down and
code. Do whatever it takes to cool down, and laugh at one more flame
war that we will hopefully manage to douse.

Vikas




Re: [O] Code vanishes on export

2011-08-24 Thread Vikas Rawal
> 
> As far as I understand from Vikas' last remark, his org file is getting
> changed.

This is correct. I am glad at least one more person has reported
having faced the problem.

For the last few days, I have been manually copying my org file before
every export to save it. 

The problem is that the file I am talking about reads a mysql
database, and does a lot of processing using R. The file will simply
not work for anyone else because you will not have the database that
it needs.

And even on that file, it is not as if the code vanishes everytime I
export. It happens on some occassions, and at the moment, I am unable
to say what triggers it.

I am aware that I am being ridiculously vague. But please give me a
day to experiment and I will hopefully figure out at least what
exactly is happenning. In the meanwhile, I am sure it will help if
somebody else who may be facing the same problem can report with some
details.

Vikas



Re: [O] Code vanishes on export

2011-08-25 Thread Vikas Rawal
> 
> If you kave not updated your org *.el files lately, I suggest you do so
> before going any further. 

I just did a git pull

Let me see if it solves the problem.

Vikas



[O] (no subject)

2011-08-30 Thread Vikas Rawal




[O] (no subject)

2011-08-30 Thread Vikas Rawal



[O] (no subject)

2011-08-30 Thread Vikas Rawal




[O] Table alignment

2011-08-30 Thread Vikas Rawal
There is something in my .emacs that messes up table alignment in
org. Have been struggling to find it. If I remove my .emacs, table
alignment is fine. I have tried commenting parts of .emacs to identify
the offending lines. But somehow I am missing it.

A copy of my .emacs is at: http://dl.dropbox.com/u/10112644/dotemacs

Will be grateful if somebody could help? Is there a way I can load my
.emacs segment by segment and see when the problem appears?

Vikas




Re: [O] Table alignment

2011-08-31 Thread Vikas Rawal
> 
> Focus on (set-default-font ...) stuff.

Thanks Jambunathan and Mikhail,

The problem is with the font stuff and, strangely, with desktop.

I need to comment out the region dealing with fonts, and the following
line to make the tables align.

(desktop-save-mode 1)

Has anyone else had a problem with use of desktop-save-mode?

Vikas




Re: [O] Table alignment

2011-08-31 Thread Vikas Rawal

> FWIW, This is what I use.
> 
> ,
> | gdi:-raster-Courier-normal-normal-normal-mono-20-*-*-*-c-*-iso8859-1 (#x62)
> `
> 
My tables are not aligned with even this font. I did.

(set-default-font 
"-raster-Courier-normal-normal-normal-mono-20-*-*-*-c-*-iso8859-1")

So, for the moment all settings for fonts and desktop-save-mode are disabled.

Vikas



[O] org-mobile-push

2011-09-29 Thread Vikas Rawal
When I give M-x org-mobile-push I get an error:

Symbol's function definition is void: appt-make-list

What could be wrong?

I am running org-mode 7.7

Vikas



Re: [O] org-mobile-push

2011-09-29 Thread Vikas Rawal
Thanks Nick and Jambunathan for taking the trouble to respond.

> 
> So pretty please: when you get an error, *at the very least*, do
> 
>M-x toggle-debug-on-error

Thanks nick for teaching my how to use back-trace. Here is the
output. May I request you to help identify what could be causing the
problem.

Debugger entered--Lisp error: (void-function appt-make-list)
  appt-make-list()
  run-hooks(diary-hook)
  diary-list-entries((9 26 2011) 1)
  byte-code("\301\302!\203\n\302\202\303\304\"\207" [date fboundp 
diary-list-entries list-diary-entries 1] 3)
  org-get-entries-from-diary((9 26 2011))
  org-agenda-list(nil)
  call-interactively(org-agenda-list)
  (let ((org-agenda-title-append "KEYS=a TITLE: Agenda ")) 
(call-interactively (quote org-agenda-list)))
  (let ((org-agenda-compact-blocks nil)) (let ((org-agenda-title-append 
"KEYS=a TITLE: Agenda ")) (call-interactively (quote 
org-agenda-list
  eval((let ((org-agenda-compact-blocks nil)) (let ((org-agenda-title-append 
"KEYS=a TITLE: Agenda ")) (call-interactively (quote 
org-agenda-list)
  org-let2(((org-agenda-compact-blocks nil)) ((org-agenda-title-append 
"KEYS=a TITLE: Agenda ")) (call-interactively (quote 
org-agenda-list)))
  org-agenda-run-series("SUMO" (((agenda nil ((org-agenda-title-append 
"KEYS=a TITLE: Agenda "))) (alltodo nil 
((org-agenda-title-append "KEYS=t TITLE: ALL TODO "))) (agenda 
"" ((org-agenda-title-append "KEYS=n#1 TITLE: Agenda and all TODO's 
"))) (alltodo nil ((org-agenda-title-append "KEYS=n#2 TITLE: 
Agenda and all TODO's " ((org-agenda-compact-blocks nil)) 
("/home/vikas/Dropbox/MobileOrg/agendas.org")))
  byte-code("\306\307  \232\203
\310\202\n\311\306\312\313\"\"p\314\315 
!@\306\211AB\306\211CD\306\211EFG\204X\316\317!\203C\204I\320\321\322\306#\210\306HI\306\211\223\210J\306\211\223\210\320\323\324\306#\210\320\323\325\306#\210pKL\204z\326!\211F@LFAMG\204\305M\203\305\320\321\322@C#\210M\327=\203\247\330HI\331
 \306\223\210J\332 
\306\223\210\202\305M\333=\203\305\212\330H\334\330!\210I`\306\223\210J\335\330!\306\223\210)\336L\"\211A\203\322\337A89\204\341\340\337A8!\203\301\337A8C\341\342A8!D\343A8E\320\323\324E#\210C\344=\203\345E\346\"\202,C\347=\203\345E\350\"\202,C\351=\203)\345E\352\"\202,C\353=\2038\345E\354\"\202,C\355=\203G\345E\356\"\202,C\357=\203V\345E\360\"\202,C\361=\203e\345E\362\"\202,C\363=\203w\364
 \210\345E\365\"\202,C\366=\203\211\364 
\210\345E\367\"\202,C\370=\203\233\364 
\210\345E\371\"\202,\340C!\203\252\345E\372\"\202,\373C!\203\271\345E\374\"\202,\375\376C\"\202,\377AA@A\211NAA)\"\202,L\201S\232\203\345\f\201T\303!\202,L\201U\232\203\370\201V\201W!\202,L\201X\232\203\201V\201Y!\202,L\201Z\232\203\201V\201[!\202,L\201\\\232\203D\201[O\2062\201]OPOQ\201VP!+\202,L\201^\232\203W\201V\201_!\202,L\201`\232\203}\201_O\206k\201aOPOQ\201VP!+\202,L\201b\232\203\220\201V\201c!\202,L\201d\232\203\261\201_\306\201e\"\210\201f\201g\201h\330\211$\202,L\201i\232\203\356R\201j=\204\311\375\201k!\210M?\205,\320\321\322@C#\210\201lOOPOQ\201VP!+\202,L\201m\232\203\201V\201n!\202,L\201o\232\203\201V\201p!\202,L\201q\232\203'\201T\201r!\202,\375\201s!.\f\207"
 [prefix-descriptions org-agenda-buffer-name org-agenda-window-setup 
org-agenda-custom-commands org-agenda-custom-commands-orig buf nil buffer-name 
current-window delq mapcar #[(x) "A;\203\f
B\302\207A@;\203\207A@\204'@\303\211AA)BB\207@\303ABB\207" [x 
prefix-descriptions nil ""] 4] buffer-file-name buffer-base-buffer boundp 
org-agenda-keep-restricted-file-list put org-agenda-files org-restrict 
org-agenda-redo-command org-lprops last-args 
org-agenda-get-restriction-and-command region t region-beginning region-end 
subtree org-back-to-heading org-end-of-subtree assoc 2 functionp eval 3 4 
agenda org-let (org-agenda-list current-prefix-arg) alltodo (org-todo-list 
current-prefix-arg) search (org-search-view current-prefix-arg match nil) stuck 
(org-agenda-list-stuck-projects current-prefix-arg) tags (org-tags-view 
current-prefix-arg match) tags-todo (org-tags-view (quote (4)) match) todo ...] 
6)
  org-agenda(nil "X")
  (let ((org-agenda-compact-blocks nil)) (org-agenda nil thiscmdkey))
  eval((let ((org-agenda-compact-blocks nil)) (org-agenda nil thiscmdkey)))
  byte-code("\205k\211A@\211@\306 8\211<\203\307\202\310 
8<\203'\310\202(\3118\211;\2033
C
\203\312\313\314\f#\315E!\210q\210
\203\\\312\313\314\f#\316E!\210\202H\317!\203\320!\210\202\207" 
[cmds cmd thiscmdkey cmd-or-set opts files 2 3 4 5 eval let append (org-agenda 
nil thiscmdkey) (org-write-agenda (expand-file-name (pop files) dir) nil t) 
get-buffer kill-buffer org-agenda-exporter-settings pars 
org-agenda-buffer-name] 7)
  #[(&rest parameters) "\306!\307  \

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, so it tries to
> add agenda entries from the diary.  It calls org-get-entries-from-diary
> to do that, which calls diary-list-entries. This one runs the diary-hook
> and somewhere in your init files you must have done something like
> this:
> 
>   (add-hook 'diary-hook (function appt-make-list))
> 
Thanks very much for explaining it so well. 

Best wishes,

Vikas







[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-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 format the documents.

Will work on it and report on how it goes.

Thanks for all the wonderful work,

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 function definition is void: org-in-block-p

Could anyone explain what this could mean?

Thanks,

Vikas



[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



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 the reference card pdf from a .org file?
> 
> That's another story.  We cannot do this for now, but future is
> always uncertain :)

I will try to produce an org file but the real utility would be if we
could find a way to produce a pdf out it. My skills are limited and I
really do not know if there is a way to specify a template that will
export the org file with the desired layout. 

The utility of an org file (against a tex or a pdf file) will be that
the org gile will allow users to to easily customise their
refcards. That is, if I am interested in a subset of commands rather
than the whole set, an org file could be easily edited and then
exported.

Wonder if it interests the community.

Vikas



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 work necesary to make it look fancy and modern. 

May be relevant to look at this thread from the list:

http://comments.gmane.org/gmane.emacs.orgmode/29926

Vikas



[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 between the two is that Eric Schulte's
version is a collection of org-mode files from where the .el files are
generated. The startup options are maintained as org documents.
Package.el, and ELPA, are a part of the starter kit in this case. The
starter kit installs the packages.

In Hagelberg's version, this is inverted. Starter kit is installed by
the package manager that is now a part of Emacs (version 24). The
package manager directly installs a bunch of .el files and there are
no org files to see.

Which is the recommended way to go? What is the experience of people
on this list?

(This mail perhaps belongs to the emacs mailing list, but since at
least one of these versions is based on using org-mode to manage
emacs, people on this mailing list will perhaps have some interest in
the issue.).

Vikas



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 single large or many small emacs-lisp files.
> 
> Aside from that, Phil's version of the starter kit certainly has more
> users and is probably more actively maintained -- I actively fix
> reported bugs in my version of the starter kit, but don't have any real
> development planned.

Thanks Eric, and best wishes,

Vikas



[O] Heading numbering in latex export

2012-09-26 Thread Vikas Rawal
I am writing a research paper using orgmode. The org file contains the
text of the paper and R source code for generating a graph and some
tables. The paper is still incomplete.

When I try to export the file to pdf via latex, I face a strange
problem. When I export the file first time after opening it, the
graph does not appear. When I do it again, the graph appears fine but
Section numbers are messed up. The main sections are now numbered 0.1,
0.2 etc while the sub-sections are not numbered at all.

In my header, I have:

#+OPTIONS: H:3 toc:nil 

I have changed the value of H but it has no effect.

Can somebody please explain what might be wrong.

I am using org-version 7.9.1.

Vikas



Re: [O] Heading numbering in latex export

2012-09-27 Thread Vikas Rawal
On Thu, Sep 27, 2012 at 09:36:15AM +0200, Bastien wrote:
> Hi Vikas,
> 
> Vikas Rawal  writes:
> 
> > When I try to export the file to pdf via latex, I face a strange
> > problem. When I export the file first time after opening it, the
> > graph does not appear. When I do it again, the graph appears fine but
> > Section numbers are messed up. The main sections are now numbered 0.1,
> > 0.2 etc while the sub-sections are not numbered at all.
> 
> Wild guess: you may need to configure `org-latex-to-pdf-process'.
> 
> But without more information on the original file it's hard to debug.
> 
> Can you provide a minimal reproducible example?

I worked on my file further and by elimination identified the problem
to the following.

I am using xelatex. There are following two lines in my org file

#+LATEX_CMD: xelatex
#+LATEX_HEADER: \setmainfont{Adobe Garamond Pro}

Where LATEX_CMD is defined as in
http://orgmode.org/worg/org-faq.html#using-xelatex-for-pdf-export

If I remove the above two lines, everything works fine (except the
fonts, of course).

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
#+LATEX_HEADER: \usepackage{comment,multirow,tabulary,fontspec} 
#+LATEX_HEADER: \setmainfont{Adobe Garamond Pro}

* Introduction

Economic conditions in contemporary Indian countryside have been
repeatedly characterised as one of an "agrarian crisis". 

In this context, a study of economics of farming -- of cost of
production and profitability -- assumes critical value. Despite this,
such studies have not been conducted in adequate detail. 

* Issues related to macro-level statistics


** Major problems with CCPC data
*** On concepts and methodology

The most important limitation of CCPC is that it provides no data on
overall incomes of farming households from cultivation. Data
collection under CCPC is narrowly designed to estimate profitability
of individual crops. However, analysis of profitability at the level
of individual crops has several limitations.

*** On presentation of data
 Disaggregated, unit-level data are not available
*** Decentralisation of implementation has resulted in dis-uniform quality of 
data collection and management
*** 
** Problem of prices



[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] 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 e-beamer))
>  (string-match
>   
> "\\(^centering\nincludegraphics.*\n\\)\\(caption.*\n\\)"
>   link))
> (replace-match "\\2\\1" nil nil link)))
> 
> (add-to-list 'org-export-filter-link-functions 'my-latex-captions-above)
> #+end_src
> 
> > Also, I would like to add "Notes" and "Source" below the
> > image. What is the right way of doing that?
> 
> You can use the same filter. This is left as an exercise.
> 

Thanks for responses.

I am not sure if I should, at the moment, allow myself to get
distracted into experimenting with the org-mode code. I am going to
let it be, and leave it for later.

Thanks again,

Vikas





[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 ".". Is there a simple way I could change
this behaviour?

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. The ascii() argument na.print
> is a character string that specifies how NA should appear in the output.
> 

Thanks. That seems very good.

But if the code block is directly producing org markup, what should I
tell my parent org file to expect?

My source block began like this:

#+BEGIN_SRC R :results value :colnames yes :hline yes

I would expect this to change now. How do I say that the result is
already formatted for org?

Vikas



[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
  subset(a,Crop_group=="Paddy")->a
  a[,c(8:10)]*a[,6]/a[,7]->a[,c(8:10)]
  vtab1(a,8,10,1,wtd.mean)->a1
  round(as.numeric(as.character(a1[,2])))->a1[,2]
  round(as.numeric(as.character(a1[,3])))->a1[,3]
  round(as.numeric(as.character(a1[,4])))->a1[,4]
  names(a1)<-c("Area","output","Cost","Net income")
#+END_SRC

\ref{tab:avprofit} shows that the average levels of are highest in
Area 7.

--

When I export it to latex/pdf, \ref{tab:avprofit} is just shown as ??.
What am I not doing correctly? 

Also, is it okay if the text where the table is referenced comes
before the table (and therefore its label) itself?

Vikas



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] 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 using this in the preamble:
#+LaTeX_HEADER: \usepackage[hmargin=3cm,vmargin=3.5cm]{geometry}

This was conflicting with my use of tabulary. I remove this line and
the errors disappeared.

Thanks very much for pointers.

Vikas



[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 command line.

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. bibtex2html is installed in
/usr/local/bin/bibtex2html. Since it was not being found, I also
myself created a symlink to /usr/bin.bibtex2html. But that does not
help either.

My orgmode version is 7.9.2

Could anyone suggest what to do.

Thanks,

Vikas




[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 command line.

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. bibtex2html is installed in
/usr/local/bin/bibtex2html. Since it was not being found, I also
myself created a symlink to /usr/bin.bibtex2html. But that does not
help either.

My orgmode version is 7.9.2

Could anyone suggest what to do.

Thanks,

Vikas



[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 command line.

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. bibtex2html is installed
in /usr/local/bin/bibtex2html. Since it was not being found, I also
myself created a symlink to /usr/bin.bibtex2html. But that does not help
either.

My orgmode version is 7.9.2

Could anyone suggest what to do.

Thanks,

Vikas


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 symlink you created, is it really /usr/bin.bibtex2html or is that a
> typo?

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?

Vikas



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. bibtex2html is installed
> > in /usr/local/bin/bibtex2html. Since it was not being found, I also
> > myself created a symlink to /usr/bin.bibtex2html. But that does not help
> > either.
> > 
> 
> 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 symlink you created, is it really /usr/bin.bibtex2html or is that a
> typo?
> 

Also, the latex export works fine. So bibtex and my #+BIBLIOGRAPHY are
ok.

Vikas



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 07:16:12 JST
2012
Copyright (c) 1997-2010 Jean-Christophe Filliâtre and Claude Marché
This is free software with ABSOLUTELY NO WARRANTY (use option
--warranty)

Reading from standard input...
  C-c C-c
[11:54:26][130][source]# which bibtex2html
/usr/local/bin/bibtex2html

*

Vikas



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?
> > 

The problem was with my setup of bibtex2html. 

I needed to change /usr/share/texmf/web2c/texmf.cnf and replace "openout_any =
p" with "openout_any = a".

I found this at https://aur.archlinux.org/packages.php?ID=8140

Thanks everyone for help.

Vikas



[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 one is building a
standalone bibliography that is not accompanying any text where these
works are cited.

Now that I have org-exp-bibtex.el working, I find that it does not
support \nocite{key}. You have to use \cite{key}. 

To sum, I need a way of making a bibliography out of selected entries
form a bibtex database, and be able to export it to html.

Will be grateful if somebody could point me to a solution.

Thanks,

Vikas



[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 me. Can
anyone give an example?

Vikas



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 I have org-exp-bibtex.el working, I find that it does not
> support \nocite{key}. You have to use \cite{key}. 


I am able to produce this effect by putting all citations --
\cite{key} -- in a separate headline that is commented. So I have
something like this:

* COMMENT Citations
\cite{key1}
\ccite{key2}

There are, however, two further problems.

org-exp-bibtex messes up the Table of Contents. It produces some
garbled html code when there is a Table of Contents. So I have to turn
off the table of contents. Has anyone else faced this?

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?

Vikas



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:

###

  (with-temp-buffer
(save-match-data
  (insert-file-contents (concat file ".html"))
  (goto-char (point-min))
  (while (re-search-forward (org-re "a 
name=\"\\([-_[:word:]]+\\)\">\\([[:word:]]+\\)") nil t)
(setq oebp-cite-plist (cons (cons (match-string 1) 
(match-string 2)) oebp-cite-plist)))
  (goto-char (point-min))
  (while (re-search-forward "" nil t)
(replace-match "" t t))
  (concat "\n#+BEGIN_HTML\n\nReferences\n" (buffer-string) 
"\n\n#+END_HTML\n"

###

I inserted four lines as follows:


###

  (with-temp-buffer
(save-match-data
  (insert-file-contents (concat file ".html"))
  (goto-char (point-min))
  (while (re-search-forward (org-re "a 
name=\"\\([-_[:word:]]+\\)\">\\([[:word:]]+\\)") nil t)
(setq oebp-cite-plist (cons (cons (match-string 1) 
(match-string 2)) oebp-cite-plist)))
  (goto-char (point-min))
  (while (re-search-forward "" nil t)
(replace-match "" t t))
  (while (re-search-forward "This file was generated by" nil t)
(replace-match ""))
  (while (re-search-forward "http://www.lri.fr/~filliatr/bibtex2html/\";>bibtex2html 1.97." 
nil t)
(replace-match ""))
  (concat "\n#+BEGIN_HTML\n\nReferences\n" (buffer-string) 
"\n\n#+END_HTML\n"

###

As you would note, the entire string produced by my version of
bibtex2html (including the version number) is hard coded into the
syntax. Can somebody help improve it to make it more general so that
it would work irrespective of the version.

Vikas



[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 orgmode is useful for. I
would think that a new visitor coming to the website would be mislead
to think that it is primarily a planning/to do application. For
example, writers/publishers who need to produce formatted output would
not think that there is something useful here for them.

I feel that the above statement does not adequately express that
orgmode can do this and a lot more.

Any comments/suggestions?

Vikas
  



[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 suggestions on how this could be achieved.

Vikas






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 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.

Vikas





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 issue. In my
first mail, I did not suggest a formulation because I was not sure
what I wanted it to be. Also, I thought it was better to first see if
others thought there was an issue in what I was saying.

In my second mail, I have made a suggestion. I am not sure if that is
the best solution. May be somebody can come up with a better solution.
But I have suggested what my little mind could come up with.

Vikas




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 improved version in my view:

* Org mode is useful for
** Organising projects, maintaining TODO lists and calendars
** Creating high quality formatted documents
** Keeping notes
** Literate programming

Would everyone agree that before "Download and install", we have
something like the above on the front-page?

We would still need to decide what to do with the title. Following
suggestions have come so far:

1. Org-mode (only)
2. Org-mode: your life in plain text
3. "Orgmode is a Free/libre plain-text system for GNU Emacs for
organizing project, and maintaining TODO lists, keeping notes, doing
literate programming and exporting to many high quality formats."
4. Orgmode is a Free/libre plain-text versatile personal workflow and
information tool for GNU Emacs allowing you to keep and organize
notes, projects, calendars, do literate programming and reproducible
research, and export all your informations and documents to a variety
of cam-ready formats.
5. Org-mode: the text editor's best chance at achieving the singularity.
6. Org-mode: It's difficult to say what exactly Emacs' Org-mode will
do for you; it's easier to list all things it doesn't do.

I would actually vote for the old orgmode title phrase (option 2 above).

Vikas



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
> - Literate programming and Reproducible Research
> 

May I also say that, and I perhaps see it this way because I am not a
developer myself, it is useful to keep this top blurb simple and
accessible to non-geeks. orgmode is incredible. And it is really not
all that difficult and inaccessible. It is super-simple to use, and
from what I understand, this simplicity was at the core when Carsten
created it. You don't need to know any latex or html, and you can
produce brilliant documents. Etc...

orgmode is really something that can be enormously useful to writers,
social scientists, and a lot of other people. Some of our
documentation must remain as simple and accessible to non-geeks as, I
think, our software is.

Vikas




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 to interrupt, but may I suggest that we turn our heads back to
the original focus of this thread, the statement on the orgmode
website.

Is Bastien watching this thread? Isn't he the one who has to finally
change it on the website?

Vikas



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 note. Who is responsible for making changes on the
orgmode website?

Vikas


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 org file. Somebody will have to
help with the exporter. I have no clue of how this is done.

> >
> > Wonder if it interests the community.
> 
> At least I am interested :)  

That's good start. We are already three.

Let us start by a basic org file and see how far we can reach.

Thanks,

Vikas



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 documentation try M-x org-info
* Visibility Cycling
 rotate current subtree between states TAB
 rotate entire buffer between states   S-TAB
 restore property-dependent startup visibility C-u C-u TAB
 show the whole file, including drawersC-u C-u C-u TAB
 reveal context around point   C-c C-r

* Motion
 next/previous heading C-c C-n/p
 next/previous heading, same level C-c C-f/b
 backward to higher level heading  C-c C-u
 jump to another place in document C-c C-j
 previous/next plain list item S-UP/DOWN [fn:2]
* Structure Editing
 insert new heading/item at current level  M-RET
 insert new heading after subtree  C-RET
 insert new TODO entry/checkbox item   M-S-RET
 insert TODO entry/ckbx after subtree  C-S-RET
 turn (head)line into item, cycle item typeC-c -
 turn item/line into headline  C-c *
 promote/demote headingM-LEFT/RIGHT
 promote/demote current subtreeM-S-LEFT/RIGHT
 move subtree/list item up/downM-S-UP/DOWN
 sort subtree/region/plain-listC-c ^
 clone a subtree   C-c C-x c
 copy visible text C-c C-x v
 kill/copy subtree C-c C-x C-w/M-w
 yank subtree  C-c C-x C-y or C-y
 narrow buffer to subtree / widen  C-x n s/w

* Capture - Refile - Archiving
 capture a new item (C-u C-u = goto last)  C-c c [fn:1]
 refile subtree (C-u C-u = goto last)  C-c C-w
 archive subtree using the default command C-c C-x C-a
 move subtree to archive file  C-c C-x C-s
 toggle ARCHIVE tag / to ARCHIVE sibling   C-c C-x a/A
 force cycling of an ARCHIVEd tree C-TAB
* Filtering and Sparse Trees
 construct a sparse tree by various criteria   C-c /
 view TODO's in sparse treeC-c / t/T
 global TODO list in agenda mode   C-c a t [fn:1]
 time sorted view of current org file  C-c a L
* Tables
*** Creating a table
 just start typing, e.g.   |Name|Phone|Age RET |- 
TAB
 convert region to table   C-c |
 ... separator at least 3 spaces   C-3 C-c |
** Commands available inside tables

The following commands work when the cursor is inside a table.
Outside of tables, the same keys may have other functionality.

*** Re-aligning and field motion
 re-align the table without moving the cursor  C-c C-c
 re-align the table, move to next fieldTAB
 move to previous fieldS-TAB
 re-align the table, move to next row  RET
 move to beginning/end of fieldM-a/e

*** Row and column editing
 move the current column left  M-LEFT/RIGHT
 kill the current column   M-S-LEFT
 insert new column to left of cursor position  M-S-RIGHT
 move the current row up/down  M-UP/DOWN
 kill the current row or horizontal line   M-S-UP
 insert new row above the current row  M-S-DOWN
 insert hline below (C-u : above) current row  C-c -
 insert hline and move to line below itC-c RET
 sort lines in region  C-c ^

*** Regions
 cut/copy/paste rectangular region C-c C-x C-w/M-w/C-y
 fill paragraph across selected cells  C-c C-q

*** Miscellaneous
 to limit column width to N characters, use...|  |...
 edit the current field in a separate window   C-c `
 make current field fully visible  C-u TAB
 export as tab-separated file  M-x org-table-export
 import tab-separated file M-x org-table-import
 sum numbers in current column/rectangle   C-c +

** Tables created with the table.el package
 insert a new table.el table   C-c ~
 recognize existing table.el table C-c C-c
 convert table (Org-mode <-> table.el) C-c ~

** Spreadsheet

 Formulas typed in field are executed by TAB, RET and C-c C-c.  
 = introduces a column formula, := a fi

[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 presentation includes
some work done on R and included using org-babel. So there are source
codes.

Now it turns out that the presentation has to be in devnagari because
most people in the audience do not understand hindi.

So, I have to translate my data so when they are processed in R and
presented as graphs and tables, they come in Devanagari. This works.

I have to type my notes in org-mode in Devnagari. I can do this using
scim and also using the above solution provided by you.

Then I need to export the whole thing via xetex/beamer to PDF. I am
yet to get this right but Suvayu has given some clues. Will check them
out and report back.

Thanks both of you,

Vikas



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
  '("xelatex -interaction nonstopmode -output-directory %o %f"
   "xelatex -interaction nonstopmode -output-directory %o %f"
   "xelatex -interaction nonstopmode -output-directory %o %f"))

Rest of it went like a breeze!!

I have not yet integrated the whole thing but I can see devnagari in
my pdf export.

Thanks very much.

Vikas



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 I would like to use serif.

Is it possible to use different fonts for latin and devanagari
characters? I have looked at the documentation of xetex and fontspec
but could not make it work.

Gratefully,

Vikas








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 half-letters and conjucts display properly in the exported pdf.

#+LATEX_HEADER: \usepackage{fontspec,xltxtra}
#+LATEX_HEADER: \setmainfont[Script=Devanagari]{gargi}

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
 on
worg. Isn't there a way by which I could specify this in the header.

I am using latex class "article". Isn't it possible to the sectioning
structure through #+LATEX_CLASS_OPTIONS?

Vikas





[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



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 nil (mapcar (lambda (x) (when (listp x) x))
  (org-table-to-lisp))
   (delete-region (org-table-begin) (org-table-end))
   (insert "  :PROPERTIES:\n")
   (insert (mapconcat (lambda(x) (concat "  :" (first x) ": " (second
   x) "\n" ))
  contents ""))
   (insert "  :END:\n\n")))

#+end_src

This transforms:

| PROP1 | PROP2 | PROP3 |
| 1 | 2 | 3 |

into

 :PROPERTIES:
 :PROP1: 1
 :PROP2: 2
 :PROP3: 3
 :END:


Your code worked flawlessly. Thank you.

Vikas


[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 (7.8.09) in its repositories. But I do not see
much point in install it.

I could compile org correctly. The compiler seems to have installed
orgmode in /usr/share/emacs/site-lisp/org. But somehow emacs does not
seem to be picking it  up from there.

Will much appreciate help.

Thanks,

Vikas




[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,
  Nayanagar/Stratum C/C11][C11]]
** Old value
** New value
DONE
** End of edit

Please note that the change was made on third level heading which only
says: C11. Why am I getting this error on level 1.

Could someone please help.

Vikas

PS: I am on org-version 7.7. Am having some trouble shifting to an updated
version about which I have posted to the mailing list separately. I
have tested it with org-version 7.8.09 from debian repository but that
gives me the same error.







[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?

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 well though.

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] 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




[Orgmode] Remember with org-mode

2008-01-04 Thread Vikas Rawal
I am trying to set up remember with org-mode using instructions
provided in the manual. But the (org-remember-insinuate) line results
in the following error.


An error has occurred while loading `/home/vikas/.emacs':

Symbol's function definition is void: org-remember-insinuate

To ensure normal operation, you should investigate the cause
of the error in your initialization file and remove it.  Start
Emacs with the `--debug-init' option to view a complete error
backtrace



Could someone kindly explain what is wrong.

FYI, I am using emacs on Ubuntu 7.10.

VR


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] Publishing sitemap

2014-06-19 Thread Vikas Rawal
> 
> So (untested), you could try:
> 
> (org-publish-org-sitemap
> (assoc "my-project-name" org-publish-project-alist)
> "sitemap.txt”)

Thanks. Works just right.

Vikas


Re: [O] org-ref in action

2014-06-25 Thread Vikas Rawal
John,

Thanks for a very interesting tutorial.

I was trying to load org-ref.el, but get the following error:



Debugger entered--Lisp error: (wrong-type-argument consp nil)
  setcar(nil ((87 . "textcite:%l") (122 . "newcite:%l")))
  (let* ((c (nthcdr 2 (assoc (quote org) reftex-cite-format-builtin (setcar 
c (append (nth 2 (assoc (quote org) reftex-cite-format-builtin)) (quote ((87 . 
"textcite:%l") (122 . "newcite:%l"))
  eval-buffer()  ; Reading at buffer position 194
  call-interactively(eval-buffer record nil)
  command-execute(eval-buffer record)
  execute-extended-command(nil "eval-buffer")
  call-interactively(execute-extended-command nil nil)


Am I missing something?

Vikas


On 24-Jun-2014, at 8:45 pm, John Kitchin  wrote:

> Hello everyone,
> 
> org-ref has basically stabilized. You can get the latest code at
> https://github.com/jkitchin/jmax/blob/master/org-ref.org.
> 
> I made a little screen capture video here to show you what it does:
> https://www.youtube.com/watch?v=JyvpSVl4_dg
> 
> Try it out, if it looks interesting, and let me know if you find any
> bugs!
> 
> Thanks,
> 
> -- 
> ---
> John Kitchin
> 
> 




Re: [O] org-ref in action

2014-06-27 Thread Vikas Rawal
> 
> 
> off topic a bit again. im an academic (asst. prof) in Epidemiology and have 
> been using org-mode for about a year now. i love using org but im really not 
> very technical at all. it has always been a dream for me to ditch word and 
> move over to Latex and even better orgmode to write my scientific 
> publications, writing my CV etc. 
> The problem is i cant really find a good "for dummies" guide on how to really 
> get started. again im really not technical so i always give up really fast on 
> this.
> 

I wrote something that you may find useful:

https://github.com/vikasrawal/orgpaper/blob/master/orgpapers.org

Vikas


Re: [O] [PATCH] ox-bibtex.el: Extend to use bibtex files not in current, working directory

2014-07-09 Thread Vikas Rawal
> 
> I would like to provide a patch for the ox-bibtex.el module which can now 
> handle bibtexfile destinations of the form:
> 
> #+BIBLIOGRAPHY: /home/user/Literature/foo.bib plain option:-d
> 

Great. I have had to deal with creating symlinks in my working directory and 
have never liked it.

Vikas


[O] Org-mode/R/Latex treatment of NAs

2014-07-13 Thread Vikas Rawal

I have some tables created by Org-babel/R source codes with NAs. These get 
exported as “nil” in the latex export. I would like to replace them with 
blanks. 

Any suggestions?

Vikas




Re: [O] Org-mode/R/Latex treatment of NAs

2014-07-13 Thread Vikas Rawal

> Just wanting to understand more:
> 
> Do you equate nil in Emacs Lisp with NA in R or do you equate it some other 
> way?
> 


When I execute my source code block, the NAs show up in the results block as 
nil. See example below.

I would prefer a blank in place of nil. Any idea how to do that?

Vikas

--


#+NAME: ccpc-negative-income-cerealstate-in
#+BEGIN_SRC R :results value :colnames yes :hline yes
  
ccpc[,c(1:5,43,44,45,84,75,76,81,107,10,11,13,12,14:41,46:60,66,67,92,109:114)]->b
  subset(b,Year_Agriculture==2009)->b
  subset(b,Crop_code %in% c(10,20,40,140,150))->b
  (b$Main_Product_Rs+b$By_Product_Rs-b$Cost_A2)->b$Net_income_A2
  (b$Main_Product_Rs+b$By_Product_Rs-b$Cost_C2)/b$Crop_Area_Ha->b$Net_income_C2
  ifelse(b$Net_income_A2<0,1,0)->b$loss
  b$count<-1
  b[,c(16:ncol(b))]*b$Cluster_Factor_Weight*b$Zone_factor->b[,c(16:ncol(b))]
  
melt(b,id=c("Year_Agriculture","State","Crop_code","Crop","Zone_Code","Zone_factor","Area_of_Crop_in_Zone_ha","state_multiplier","Tehsil_Code","Size_Group","Period_of_crop_months","Cluster_Factor_Weight","Parcel_Plot_Season","Ha_Month_in_Ground"),m=c("loss","count","Crop_Area_Ha"))->a
  
dcast(a,Year_Agriculture+State+Crop_code+Crop+Zone_Code+state_multiplier+Area_of_Crop_in_Zone_ha~variable,sum)->b
  
melt(b,id=c("Year_Agriculture","State","Crop_code","Crop","Zone_Code","state_multiplier","Area_of_Crop_in_Zone_ha","Crop_Area_Ha"),m=c("loss","count"))->a
  a$value*a$Area_of_Crop_in_Zone_ha/a$Crop_Area_Ha->a$value
  dcast(a,Year_Agriculture+Crop_code+Crop~variable,sum)->b
  dcast(a,Year_Agriculture+State+Crop_code+Crop~variable,sum)->b1
  b$State<-"All states"
  rbind(b,b1)->b
  round(b$loss*100/b$count,1)->b$prop
  
#ggplot(b,aes(x=Year_Agriculture,y=prop,group=State,color=State,linetype=State))->p
  #p+geom_line()+scale_y_continuous("Prportion of 
farms")+scale_x_continuous("Year",breaks=c(1994,1997,2000,2003,2006,2009),labels=c("1994-95","1997-98","2000-01","2003-04","2006-07","2009-10"))+theme_bw()
  melt(b,id=c("Year_Agriculture","Crop_code","Crop","State","loss","count"))->a
  dcast(a,State~Crop_code,mean,drop=T)->t
  t[is.na(t)]<-NA
  names(t)<-c("State","Wheat","Paddy","Maize","Bajra","Ragi")
  t
#+END_SRC

#+NAME: ccpc-negative-income-cerealstate
#+CAPTION: Proportion of cultivators with negative returns from cultivation of 
different crops, by State, 2009-10
#+attr_latex: :environment tabulary :width \textwidth :align lR
#+RESULTS: ccpc-negative-income-cerealstate-in
| State| Wheat | Paddy | Maize | Bajra | Ragi |
|--+---+---+---+---+--|
| All states   |   2.7 |   7.4 | 23.2  | 6.1   | 15   |
| Andhra Pradesh   |   nil |   5.8 | 17.8  | nil   | 0|
| Assam|   nil |   6.5 | nil   | nil   | nil  |
| Bihar|   nil |   4.8 | nil   | nil   | nil  |
| Chhattisgarh |  55.3 |   1.2 | 0 | nil   | nil  |
| Gujarat  | 0 |   0.3 | 15.2  | 6.4   | nil  |
| Haryana  |   0.1 |   0.2 | nil   | 3 | nil  |
| Himachal Pradesh |   7.6 |   0.1 | 1.4   | nil   | nil  |
| Jharkhand|   1.4 |  42.7 | nil   | nil   | nil  |
| Karnataka|   nil |   2.2 | 3.2   | 39.9  | 14.9 |
| Kerala   |   nil |   8.6 | nil   | nil   | nil  |
| Madhya Pradesh   | 0 |   0.9 | 16.7  | nil   | nil  |
| Maharashtra  |   6.5 |  37.1 | nil   | 15.2  | 18.2 |
| Orissa   |   nil |   0.6 | nil   | nil   | nil  |
| Punjab   |   0.1 |   1.3 | nil   | nil   | nil  |
| Rajasthan| 0 |   nil | 24| 0.8   | nil  |
| Tamil Nadu   |   nil |   4.5 | 10.1  | nil   | 0.6  |
| Uttar Pradesh|   1.1 |   4.2 | 39.3  | 1 | nil  |
| Uttarakhand  | 0 | 0 | nil   | nil   | nil  |
| West Bengal  |  26.9 |   7.5 | nil   | nil   | nil  |


Vikas


Re: [O] Org-mode/R/Latex treatment of NAs

2014-07-13 Thread Vikas Rawal

> 
>> Just wanting to understand more:
>> 
>> Do you equate nil in Emacs Lisp with NA in R or do you equate it some other 
>> way?
>> 
> 
> 
> When I execute my source code block, the NAs show up in the results block as 
> nil. See example below.
> 
> I would prefer a blank in place of nil. Any idea how to do that?
> 

Replacing NAs with a blank (“”) in R does the trick.

Vikas




[O] Orgmode/Koma script letter

2014-08-18 Thread Vikas Rawal
I am trying to create a custom template for my letterhead. The documentation 
suggests that by default title should be used as subject of the letter. 

ox-koma-letter.el has this:
(defcustom org-koma-letter-subject-format t
  "Use the title as the subject of the letter.

Byt when I export a file, 

#+TITLE: A simple letter

is exported as 

\setkomavar{title}{A simple letter}

rather than as 

\setkomavar{subject}{A simple letter}

Accordingly, title appears separately as a badly formatted title.

If I have a separate #+Subject: line, that is correctly exported as a subject.

Is there something wrong in what I am doing or is there a problem?

Org version: Org-mode version 8.3beta (release_8.3beta-167-g003edd @ 
/Users/vikas/.emacs.d/src/org/lisp/)

Vikas




Re: [O] Managing articles in orgmode and collaboration

2014-09-09 Thread Vikas Rawal
> 
> It shouldn’t be too difficult to write a “capture” function in emacs
> that turns such records into entries in an org file.  That would be
> automatic enough for me.
> 

There is bibretrieve (https://github.com/pzorin/bibretrieve) and bibfetch 
(https://github.com/dschoepe/bibfetch/blob/master/bibfetch.el).

Vikas


Re: [O] CV in orgmode for export to pdf (and html?)

2014-09-19 Thread Vikas Rawal
I know I am being lazy in not trying it out, but if you could share a PDF, it 
would give us an idea of what this gives you.

Vikas
 
On 20-Sep-2014, at 6:19 am, Dan Griswold  wrote:

> Not sure anybody saw this the first time, so I'll try again, with some 
> expansion.
> 
> Unlike the others who've commented, I moved my CV from LaTeX to org-mode and 
> I'm happy with the results. Two things make it work well.
> 
> First, a "cv" class added to org-latex-classes:
> 
> (add-to-list '("cv" 
> "\\documentclass[10pt]{article}\n\\usepackage[margin=.75in]{geometry}\n%\\usepackage{palatino}\n\\usepackage{sectsty}\n\\sectionfont{\\normalsize\\selectfont\\itshape}\n\\usepackage[T1]{fontenc}\n\\usepackage{libertine}\n\\renewcommand*\\oldstylenums[1]{{\\fontfamily{fxlj}\\selectfont
>  #1}}"
>   ("\\section{%s}" . "\\section*{%s}")))
> 
> Second, something like the following at the top of the org file (replace with 
> your particulars):
> 
> #+OPTIONS: author:nil timestamp:nil
> #+TITLE:
> #+DATE:
> #+LaTeX_CLASS: cv
> 
> #+BEGIN_LATEX
> \begin{flushleft}
>   \bfseries\Large Curriculum Vitae\hfill Daniel M. Griswold\normalfont
> \end{flushleft}
> 
> \vspace{-12pt}%
> \begin{flushright}
>   69 Stratton Road\\
>   Rochester, NY 14610\\
>   (585) xxx-\\
>   dgris...@x.com\\
>   \hrulefill
> \end{flushright}
> #+END_LATEX
> 
> Main headings are things like:
> 
> * Education
> * Specialization
> * Employment
> * Publications
> * Awards and Honors
> 
> and the details below each of these headings are simply unordered lists
> 
> I really like the easy of editing in org-mode this gives me.
> 
> Hope this helps,
> 
> Dan
> 



[O] Roman numerals in ordered lists

2014-09-20 Thread Vikas Rawal
How can I use roman numerals in ordered lists in an org document?  I need them 
in html and latex exports.

Vikas


[O] Problem updating using git

2014-10-28 Thread Vikas Rawal
I just tried updating my org installation (present version, installed via git, 
Org-mode version 8.3beta (release_8.3beta-485-gf70439).

It gives me following error:


   passed  524/525  test-org/up-element
   passed  525/525  test-org/update-radio-target-regexp

Ran 525 tests, 524 results as expected, 1 unexpected (2014-10-28 16:44:38+0530)
4 expected failures

1 unexpected results:
   FAILED  ob-awk/tabular-input

make[1]: *** [test-dirty] Error 1
make: *** [up2] Error 2


Not sure if there is a bug or a problem at my end.

Would be happy to provide any further details that may be needed.

Vikas






Re: [O] Problem updating using git

2014-10-28 Thread Vikas Rawal
Doing a fresh install worked fine.

Vikas

On 28-Oct-2014, at 4:48 pm, Vikas Rawal  wrote:

> I just tried updating my org installation (present version, installed via 
> git, Org-mode version 8.3beta (release_8.3beta-485-gf70439).
> 
> It gives me following error:
> 
> 
>   passed  524/525  test-org/up-element
>   passed  525/525  test-org/update-radio-target-regexp
> 
> Ran 525 tests, 524 results as expected, 1 unexpected (2014-10-28 
> 16:44:38+0530)
> 4 expected failures
> 
> 1 unexpected results:
>   FAILED  ob-awk/tabular-input
> 
> make[1]: *** [test-dirty] Error 1
> make: *** [up2] Error 2
> 
> 
> Not sure if there is a bug or a problem at my end.
> 
> Would be happy to provide any further details that may be needed.
> 
> Vikas
> 
> 
> 




  1   2   3   4   5   >