emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus.pank@gmail.com>
To: tsd@tsdye.com
Cc: emacs-orgmode@gnu.org
Subject: Re: Questions on LaTeX Exporter
Date: Sun, 06 Mar 2011 14:21:58 +0100	[thread overview]
Message-ID: <4D738A76.9000002@gmail.com> (raw)
In-Reply-To: <80B13489-D629-4DE3-A344-6A74EE38D804@tsdye.com>

Hi,

> This would make you an "early adopter."

Well, to be fair the latex exporter have been there for years and I have
used it for non-important documents for years. But papers utilizing more
features have proven difficult, so far.

> Of course, the paper doesn't have abbreviations that end  with dots ...
The problem might be traced back to my less-than-stylish prose :)

> Yes, and the overhead does get in the way, at least for my writing
> projects.

With folding, AUCTeX buffers become quite readable. But linking, plannig
and TODOs are nice. Previously, I have had a notes.org and several
tex files.


> On the other hand, I think it is the only way currently to get from
> Org-mode to perfect LaTeX.

... And in that case AUCTeX provide a nicer environment in my
oppinion. Org would be nice for text heavy documents, though.

>> Fixme in Org
> If you figure this one out, please share
I haven't. I think one of either of the following would be nice.

   1) Have them fold like I do in AUCTeX (i.e. \fxnote{·} is replaced by
      [fix] in the buffer)
   2) Use special footnotes. This could be an org-centric system, without
      the need of fixme.sty. This would require that Org could tell the
      difference between fn:x and fix:x, and further, one would need to
      be able to specify which set(s) of footnotes were to be exported.

*More questions, sorry*

Org populates every section with a label. I would
like to \ref or \vref these. I could predict \label's, but this a rather
fragile solution. When I use "Org-links" I get a text link suitable
for e.g. html. I want to use \ref to get a number. One solution is

,----
|   * section
|   #+latex: \label{sec:sec}
`----

But there /must/ be a better way to this, eh?

And other question, which should also be simple, but which I have not been
able to figure out.

I have internalized word count in my org file using babel:

,----
| ** Getting Word Count
| #+srcname: wordcount
| #+BEGIN_SRC sh
|   #!/bin/bash
|   alias calc='Rscript -e "cat( file=stdout(), eval( parse( text=paste( 
commandArgs(TRUE), collapse=\"\"))),\"\n\")"'
|   calc `texcount -inc -sum -relaxed -1 -q -total assignment.tex`/400
| #+END_SRC
|
| #+results: wordcount
| : 0.6425
`----

First, this should be evaluated post-export, but this is a trival issue
as I can export the document in question twice. However, I want to
include the result in a \thanks{·}-node in the #+TITLE.

I have tried varioues methods, but so far without luck. To given an
example, I want to replace X by the results of my Babel-snip in the
following:

,----
| #+TITLE: \Large Education in Labor Markets With Asymmetric 
Information\thanks{Approximatly X words using \TeX Count}
`----

Thanks in advance,
Rasmus

  reply	other threads:[~2011-03-06 13:21 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-05 20:50 Questions on LaTeX Exporter Rasmus
2011-03-05 23:25 ` Thomas S. Dye
2011-03-06 13:21   ` Rasmus [this message]
2011-03-06 22:39     ` Thomas S. Dye
2011-03-07  9:46       ` Lawrence Mitchell
2011-03-07 11:11         ` Rasmus Pank Roulund
2011-03-07 11:50           ` Eric S Fraga
2011-03-07 12:10             ` Rasmus Pank Roulund
2011-03-07 12:30               ` suvayu ali
2011-03-07 12:49                 ` Rasmus Pank Roulund
2011-03-07 13:01                   ` Suvayu Ali
2011-03-07 16:30         ` Thomas S. Dye
2011-03-07  9:25     ` Eric S Fraga
2011-03-07 14:00 ` Lawrence Mitchell
2011-03-07 16:18   ` Thomas S. Dye

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D738A76.9000002@gmail.com \
    --to=rasmus.pank@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tsd@tsdye.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).