[O] how to get org-version using emacs batch mode.

2014-04-23 Thread Supriya Sawant
How can I get the org-version on my command line?

I think using batch mode it is possible.

I tried :

emacs --batch --eval '(org-version)'


but it doesn't work. It gives me blank result.


-- 

Thanks  Regards,
Supriya Pravin Sawant


Re: [O] how to get org-version using emacs batch mode.

2014-04-23 Thread Supriya Sawant
Is it possible to redirect or get the output of batch mode command in
variable.


cmd = emacs --batch --eval '(message (org-version))'

ouput=cmd

print output

i.e output contains version no.(output=7.9.3f)


On Wed, Apr 23, 2014 at 12:00 PM, Bastien b...@gnu.org wrote:

 Supriya Sawant sp.sawan...@gmail.com writes:

  emacs --batch --eval '(org-version)'
 
  but it doesn't work. It gives me blank result.

 emacs --batch --eval '(message (org-version))'

 HTH,

 --
  Bastien




-- 

Thanks  Regards,
Supriya Pravin Sawant


[O] problem while producing odt pdf file

2012-11-20 Thread Supriya Sawant
hello,
I am using Org-version (7.8.02)

I have some problems while exporting  the org file:

1. org-export-as-pdf

output: pdf file not produced.

2.  org-export-as-odt

output: Cannot find factory styles file. Check package dir layout
Auto-saving...

-- 

Thanks  Regards,
Supriya Pravin Sawant


[O] error while installing org-mode version 7.9.1

2012-09-03 Thread Supriya Sawant
while installing latest org-mode version after running make test I am
getting the following error.


TMPDIR=/tmp/tmp-orgtest emacs -batch -Q  --eval '(add-to-list
'''load-path ./lisp)' --eval '(add-to-list '''load-path
./testing)'  -l org-install.el -l testing/org-test.el --eval '(require
'''ob-awk)' --eval '(require '''ob-C)' --eval '(require
'''ob-fortran)' --eval '(require '''ob-maxima)' --eval '(require
'''ob-lilypond)' --eval '(require '''ob-octave)' --eval '(require
'''ob-python)' --eval '(require '''ob-sh)'  --eval '(setq
org-confirm-babel-evaluate nil)' -f org-test-run-batch-tests
Cannot open load file: testing/org-test.el
make: *** [test] Error 255

please help me out!!





Thanks  Regards,
Supriya Pravin Sawant


[O] Literal not working

2012-08-31 Thread Supriya Sawant
I am using Emacs 23, but in emacs org-mode literals are not working
eg.
 #+BEGIN_EXAMPLE
*Some* example from a text file.
#+END_EXAMPLE

when I write above in org-mode  if I export it in html using
org-export-as-html it gives me output

*Some* example from a text file.

it seems that pre tag is not creating in html file.

can anyone help me out???



Thanks  Regards,
Supriya Pravin Sawant