From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Questions on LaTeX Exporter Date: Sun, 06 Mar 2011 14:21:58 +0100 Message-ID: <4D738A76.9000002@gmail.com> References: <87ei6lpa06.fsf@gmail.com> <80B13489-D629-4DE3-A344-6A74EE38D804@tsdye.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=55936 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwDtq-0008Jv-2n for emacs-orgmode@gnu.org; Sun, 06 Mar 2011 08:21:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwDto-0004sv-OJ for emacs-orgmode@gnu.org; Sun, 06 Mar 2011 08:21:29 -0500 Received: from mail-ew0-f41.google.com ([209.85.215.41]:59217) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwDto-0004sY-Fl for emacs-orgmode@gnu.org; Sun, 06 Mar 2011 08:21:28 -0500 Received: by ewy10 with SMTP id 10so1160199ewy.0 for ; Sun, 06 Mar 2011 05:21:27 -0800 (PST) In-Reply-To: <80B13489-D629-4DE3-A344-6A74EE38D804@tsdye.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: tsd@tsdye.com Cc: emacs-orgmode@gnu.org 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