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}|
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
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 |
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
On Sat, Aug 06, 2011 at 07:35:50AM +0200, suvayu ali wrote:
On Sat, Aug 6, 2011 at 3:23 AM, Vikas Rawal
vikasli...@agrarianresearch.org wrote:
#+property: session harland
I'm not sure I recognise this syntax. Are you sure this is correct?
According to my understanding it should
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
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
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
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
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
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
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:
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
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
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
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,
Is there a way to specify (in the org file) column widths of a table when
exported to an odt file.
Vikas
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
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
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
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
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
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
I tried to update my org-mode using make up2 but got an error that looks
similar.
--
install -m 755 -d /tmp/tmp-orgtest
TMPDIR=/tmp/tmp-orgtest emacs -Q -batch --eval '(setq vc-handled-backends
nil org-startup-folded nil)' --eval '(add-to-list '''load-path (concat
default-directory
I am running emacs on os-x, if that is relevant.
Vikas
On Tue, Apr 22, 2014 at 9:52 PM, Vikas Rawal
vikasli...@agrarianresearch.org wrote:
I tried to update my org-mode using make up2 but got an error that looks
similar.
--
install -m 755 -d /tmp/tmp-orgtest
TMPDIR=/tmp/tmp
Check local.mk for BTEST_OB_LANGUAGES: delete sh if present.
Or rename sh to shell.
--
Worked. Thanks.
Vikas
1. Indentation of the first line of an element should be, when
applicable, relative to the /first line/ of the element before.
Therefore, in the following example
Some long paragraph
with multiple line
XAnother paragraph
It is almost surely something
I want to export a block of org-mode source code in a tutorial I am writing.
I have tried variations of the following. But nothing seems to give me org-mode
code in the exported pdf.
#+BEGIN_SRC org :results code replace
org-mode code here
#+END_SRC
What is the right way to do it?
Vikas
Vikas Rawal vikaslists at agrarianresearch.org writes:
I think I could not express my objective clearly.I want the org code block
to be exported literally.
Indent lines that begin with *, is this what you want?
I am not exactly sure what you are suggesting. The block below does
On 04-May-2014, at 11:46 am, Han Fan visaya...@gmail.com wrote:
Fletcher Charest fletcher.char...@gmail.com writes:
Hi,
Sorry if I misunderstood... If you create an Org source block like this with
nothing inside:
#+begin_src org
#+end_src
...then, with your cursor inside, enter
I'm having no success in getting the bibliography to display in my
document, so these are my relevant settings -
╭
│#+LaTeX_HEADER: \usepackage{biblatex}
│#+LaTeX_HEADER:
\bibliography{/home/boudiccas/.emacs.d/research/references.bib}
│#+LaTeX_HEADER: \bibliography{references}
╰
Any ideas please folks, or some code to try please?
I use
#+LATEX_HEADER:
\usepackage[citestyle=authoryear-icomp,bibstyle=authoryear,hyperref=true,backref=true,maxcitenames=3,url=true,backend=biber,natbib=true]{biblatex}
Can you try this, and if it works, modify as you prefer.
Also, as
I was wondering if anyone has tried managing the whole bibtex database in Org.
Would be interested to know.
Vikas
I manage my whole bibtex database on org. It makes my workflow more
integrated. It allows me to keep bib info, todo states and notes all in the
same place, and it allows me to access it all through the agenda. I just
periodically run org-bibtex to make sure that I have a updated bib file.
Could somebody tell me how to define org-export-babel-evaluate for a file?
I want the default to be t, but want to set it to nil in some of my files.
Vikas
All the talk about citations in org-mode inspired me to finish and polish
some code I have been working on for my group for a while on
bibtex/reftex/org-mode integration. I packaged it up in a literate
programming org-file here:
https://github.com/jkitchin/jmax/blob/master/org-ref.org.
Could somebody tell me how to define org-export-babel-evaluate for a file?
I want the default to be t, but want to set it to nil in some of my files.
(info (emacs) Specifying File Variables”)
Perfect. Thank you.
Vikas
I have been using Org for writing research papers for a while, gradually
improving my set up to be able to exactly produce the output I want. In this
process, I have benefited greatly not only from the resources available on the
Org-mode website but also from various people who generously
For whatever it is worth, here it is. Pointers to any errors as well
as comments for improving it would be greatly appreciated. Also, I
would be happy to contribute it to Worg, if people consider it useful.
Some comments: at places it seemed a bit too verbose, e.g. when you are
Aloha Vikas,
Very nice!
Your document overlaps and updates the LaTeX export tutorial on Worg
that I wrote for the old exporter. Perhaps it could be revised to
replace the old export tutorial?
There is some overlap. But I think there is a considerable utility in
addressing people who
It seems safer/efficient to focus on making modular documentation that
is the definitive *best*/*right* way (and *best* explained) to do
something, and then to link to that prolifically.
Your points are very valid and expressed convincingly.
Writing this document was a result of, first
You mentioning pandoc as one of the tools to use made me finally sit
down and look at it. I am very glad I did. Just today, I started
working on a paper that has to be in Word format in the end. This is
always annoying but especially when the paper has mathematics in
it.
I have been
pandoc -f latex -t docx test.tex -o test.docx
I see Org has exported my W m^{-2} as W m$^{\text{-2}}$, which is
not what I would expect in LaTeX. In OS X Pages.app viewing the docx
this appears as W m. In Word it shows up either as just -2 or W
m-2. In Word, the Math shows up with each
The latest version of Pandoc can now also read in org mode files
http://johnmacfarlane.net/pandoc/releases.html#pandoc-1.12.4-07-may-2014
So perhaps the conversion of Org-Latex is no longer needed.
This is very new. As of now, direct Org-docx conversion does not taken into
account any
But elsewhere I have
\begin{equation}
x=42
\end{equation}
in Org, which looks just like that in LaTeX, and that appears as just
strange little extended ASCII boxes in MS Word.
I am on the latest version of Pandoc, and this works fine for me.
Am sending you a sample off-list.
But elsewhere I have
\begin{equation}
x=42
\end{equation}
in Org, which looks just like that in LaTeX, and that appears as just
strange little extended ASCII boxes in MS Word.
I am on the latest version of Pandoc, and this works fine for me.
Am sending you a sample off-list.
Unless others feel differently, I would let the document float around the
cyberspace, on my personal website and on github, for anyone to discover and
use.
I hate a good resource getting lost in the Internet. So I would like to
suggest you make a shorter version for Worg, just focusing
Thank you Axel for taking the time to test it. I look forward to more comments
as you look at it. You comments are very useful.
I tried to export the .org to Latex and failed because it needed
tabulary and threeparttable.
They are used if you use vikas-general.org but as far as i
Thank you Axel for taking the time to test it. I look forward to more
comments as you look at it. You comments are very useful.
I'm new to Emacs, but know LaTeX and Pandoc.
I have a lot of beginner’s questions.
(Configuring emacs is quite difficult: should I use
- custom-set-variable
May be I should specify the packages that are being called, so the user can
make sure those are installed or modify the config file. But I prefer the
basic set of LaTeX packages being called by default rather than being added
in every file.
This will be a problem when one of your
Probably not the answer you want, but as a long-time mac and emacs
user, my suggestion would be to use the vanilla os x version of emacs.
The nextstep build of emacs runs as a native app,
You are suggesting to a Mac user to build his own Emacs?
Do you know what that takes?
About 10
:
Aloha all,
Macports has an emacs-app that bundles all the files in
/Applications/MacPorts/Emacs.app/
We use this at work and find it convenient.
All the best,
Tom
Rick Frankel r...@rickster.com writes:
On 2014-05-15 10:31, Vikas Rawal wrote:
Probably not the answer you want
Why am I getting this error when I start my emacs?
defconst: Symbol's value as variable is void: org-list-allow-alphabetical
Symbol's value as variable is void: org-list-allow-alphabetical
My orgmode is updated using git repository.
I use emacs starter kit, and the error seems to have something
Why am I getting this error when I start my emacs?
defconst: Symbol's value as variable is void: org-list-allow-alphabetical
Symbol's value as variable is void: org-list-allow-alphabetical
Sorry, my emacs was loading an older version of Org. Will fix it.
Vikas
Lately been hearing great things about Pandoc's ability to export to ebook
formats and more.
Folks that use both Pandoc and org-mode: how do you use them together, and
why?
I've only recently started using pandoc and I have exactly one use case:
the need, in some cases, to produce a
I am creating a beamer presentation, but want to be able to toggle inclusion or
exclusion of some headlines/frames in the export, depending on the occasion
where the presentation is being made. What is the appropriate way to do this?
I can use :no export: for selected headlines, but it would
Have you looked at setting other exclude tags:
[[info:org#Export%20settings][info:org#Export settings]]?
Thanks. Perfect. Took me a while to understand was was written there. But
exactly what I needed.
#+EXCLUDE_TAGS: technical
Vikas
I have a slide with two columns, each having an unordered list of items. The
two lists are of different height (different number items). Vertically, they
are aligned in the middle. How can I align them to the top?
Vikas
The manual says:
If you want a list to start with a different value (e.g., 20), start the text
of the item with [@20]4. “
The following does not work for me:
[@6]. by 2030 reduce by 50% global food waste at retail and consumer level
My Org-version is: Org-mode version 8.2.6
This works:
6. [@6] by 2030 reduce by 50% global food waste at retail and consumer level
May be an example in the manual would make it clearer.
Vikas
On 07-Jun-2014, at 7:46 pm, Vikas Rawal vikasli...@agrarianresearch.org wrote:
The manual says:
If you want a list to start with a different
When I publish my web-site using org-mode, with suitable options in my
org-publish-projects-alist, I can get org-publish to create a sitemap.
Is it possible to just create the sitemap without publishing the whole project?
I sometimes update a single file, and just publish it using
So (untested), you could try:
(org-publish-org-sitemap
(assoc my-project-name org-publish-project-alist)
sitemap.txt”)
Thanks. Works just right.
Vikas
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)
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
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
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
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?
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
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,
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
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 kc5...@gmail.com wrote:
Not sure anybody saw this the first time, so I'll try again, with some
expansion.
Unlike the
How can I use roman numerals in ordered lists in an org document? I need them
in html and latex exports.
Vikas
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
Doing a fresh install worked fine.
Vikas
On 28-Oct-2014, at 4:48 pm, Vikas Rawal vikasli...@agrarianresearch.org 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
How do I change beamer color theme in the new exporter.
Vikas
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
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
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),
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
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
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
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
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
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}
This does not work for me with the new exporter:
#attr_latex :width \textwidth
Is there another way to do it?
Vikas
Sorry, I meant:
#+attr_latex :width \textwidth
Vikas
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
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
#+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
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
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
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
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.
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
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
: 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
1 - 100 of 428 matches
Mail list logo