From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Using non-org files as agenda files? Date: Wed, 23 Jan 2013 17:02:52 +1030 Message-ID: <87y5fk8l9s.fsf@ucl.ac.uk> References: <874ni8iyn5.fsf@gmx.ch> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Txtsd-0007it-Jo for emacs-orgmode@gnu.org; Wed, 23 Jan 2013 01:32:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Txtsb-00058k-TC for emacs-orgmode@gnu.org; Wed, 23 Jan 2013 01:32:15 -0500 Received: from ch1ehsobe002.messaging.microsoft.com ([216.32.181.182]:50537 helo=ch1outboundpool.messaging.microsoft.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Txtsb-00058Z-Ng for emacs-orgmode@gnu.org; Wed, 23 Jan 2013 01:32:13 -0500 In-Reply-To: <874ni8iyn5.fsf@gmx.ch> (Sven Bretfeld's message of "Wed, 23 Jan 2013 00:30:38 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sven Bretfeld Cc: Org-Mode --=-=-= Content-Type: text/plain Sven Bretfeld writes: > Dear all > > Is it anyhow possible to use a .tex file as an org-agenda-file? > > This might seem a silly question. The reason is that I stick to auctex > for writing my documents. But it would be nice to be able to insert a > todo item directly at an appropriate place within a tex-file and have it > integrated in org-agenda-view. One approach could be to use babel. That is, have an org file in which all your latex sits as code segments. You can then edit each individual code segment (C-c ') using auctex but keep org as an outliner and task manager. You do lose some capabilities of auctex, specifically to do with cross-referencing support, I would imagine. But you gain all the power of org and continue to be able to use auctex's keybindings when desired. I've attached a simple example. Tangling the file (C-c C-v t) will create l.tex which you can then process as desired. > Maybe this can be done by a workaround using ipa.el (in-place > annotations) and setting an orgmode file as ipa-file? Any experiences? Thanks for reminding me of this. I had meant to try it out and forgot! (forgot to create an org todo item... have done so now ;-) HTH, eric -- : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D : in Emacs 24.3.50.1 and Org release_7.9.3d-837-ge37613 --=-=-= Content-Type: text/org Content-Disposition: attachment; filename="l.org" #+TITLE: Testing tangling etc. for latex #+AUTHOR: Eric S Fraga #+EMAIL: e.fraga@ucl.ac.uk #+DATE: 2013-01-23 Wed #+PROPERTY: tangle yes * Cover material #+begin_src latex \documentclass{scrartcl} \title{The document} \author{ESF} \begin{document} \maketitle #+end_src * Introduction In the introduction, we talk about the problem and why it is important. #+begin_src latex \section{Introduction} \label{sec:intro} Yes, here I talk about the problem. #+end_src * End matter #+begin_src latex % could put the bibliography here, for instance \end{document} #+end_src --=-=-=--