[Orgmode] shrinking contents on one slide in beamer export

2010-12-26 Thread Neil Hepburn
Greetings,
I am trying to produce a Beamer slide presentation from org-mode. I have a 
slide that has some output from R in a src_block. The problem is that the 
material that I want to present (coefficients from a regression) is just a bit 
too wide for the page. If I were writing this in native LaTeX, I could do 
something like
\begin{frame}[shrink=5]\frametitle{some stuff}
contents here
\end{frame}

How do I pass the shrink argument to latex from org-mode?

Cheers,
Neil


=
Neil Hepburn, Lecturer in Economics
Department of Social Sciences, Augustana Faculty
University of Alberta
4901-46 Avenue
Camrose, Alberta  T4V 2R3

Phone (780) 679-1588
email nhepb...@ualberta.ca

No trees were harmed in creating this message. (However, millions of electrons 
were terribly disturbed.)


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Mobile.org UTF-8

2010-11-19 Thread Neil Hepburn
Hi Henri-Paul
I ran into a similar problem when I moved from using MobileMe to
Dropbox. What I did that seemed to fix the problem for me was to delete
the folder MobileOrg from my Dropbox folder. Then I reset the stuff in
Mobileorg on my iPhone, re-sync'ed the iPhone to create a new MobileOrg
folder in your Dropbox folder and then it worked. It seems to work fine
now.


-Neil

On Thu, 2010-11-18 at 22:02 -0800, Henri-Paul Indiogine wrote:
 I am running the latest git org-mode on Emacs 24 in Ubuntu.  I also have
 an iPod with the latest version of MobileOrg, 1.5.1.
 
 I also use Dropbox.
 
 Just today I reinstalled everything on my iPod because I had
 problems synchronizing.  For some reason Dropbox stopped the
 synchronization.  I unlinked and then linked again to make it all work.
 
 Now I obtain the error: Unable to detect file encoding, please re-save
 this file using UTF-8.
 
 I did some Googling and it appears that the problem was solved in the
 latest version of MobileOrg.
 
 I have not changed anything in my .emacs file and have never specified
 any encoding and before this evening I did not have any problems with 
 MobileOrg.
 
 
 Thanks,
 Henri-Paul
 
 
 



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Error with Mobileorg and Dropbox

2010-11-13 Thread Neil Hepburn
Greetings
I have recently tried switching my mobileorg stuff from my .mac (mobile
me or whatever they are branding themselves as now) account to Dropbox.
When I push from my desktop (Ubuntu 10.1) to my MobileOrg file in my
Dropbox, I am sort of able to sync my iPhone. The agenda works fine but
the other included agenda files throw an error saying

Bad file encoding
Unable to detect the encoding, please re-save this file using UTF-8

I am using MobileOrg 1.5.1, orgmode version 7.3, and Emacs 23.1.1

I tried to sync from my MacBook Pro running Aquamacs (with Emacs
23.2.50.1). When I sync from the MacBook Pro (still using Dropbox) even
the agenda file is bad and can't be read by mobileorg.

I've looked on the mobileorg website and I see that this was apparently
a problem prior to orgmobile 1.3. 

Has anyone else had a similar experience? Any ideas on how to fix it?

Cheers,
Neil
-- 
=
Neil Hepburn, Lecturer in Economics
Department of Social Sciences, Augustana Faculty
University of Alberta
4901-46 Avenue
Camrose, Alberta  T4V 2R3

Phone (780) 679-1588
email nhepb...@ualberta.ca

 


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] non-frame text in beamer export

2010-10-03 Thread Neil Hepburn
Greetings

I have recently started using org-mode to generate Beamer presentations for 
lecture notes. I always create lecture note printouts for my students using the 
beamerarticle package. I like to put additional explanatory material into these 
notes that don't show up on the slide show. The way I do this is to put the 
extra material outside of a frame environment and then use the option 
[ignorenonframetext] in the latex header, i.e.,
\documentclass[ignorenonframetext]{beamer}

Is there a way to add extra material in an org file that it won't get put into 
a frame environment when I export the file?

Cheers,
Neil

=
Neil Hepburn, Lecturer in Economics
Department of Social Sciences, Augustana Faculty
University of Alberta
4901-46 Avenue
Camrose, Alberta  T4V 2R3

Phone (780) 679-1588
email nhepb...@ualberta.ca

No trees were harmed in creating this message. (However, millions of electrons 
were terribly disturbed.)


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Examples in numbered lists

2010-08-26 Thread Neil Hepburn
you could revert to raw latex code in your document and use 
\begin{enumerate}..\end{enumerate} with something like this:
* testing auto numbering
\begin{enumerate}
\item First do something
#+begin_example
here is an example how to do something
#+end_example
\item Then do something else
\end{enumerate}

It's not as elegant as the org-mode approach but it works.

-Neil
On 2010-08-26, at 10:18 AM, Andrei Jirnyi wrote:

 Hi --
 
 Is there any way to make a numbered list preserve its' numbering when 
 there are intervening code or example blocks? For example, if I have smth 
 like this:
 * testing auto numbering
 1. First do something
 #+begin_example
 here is an example how to do something
 #+end_example
 2. Then do something else
 
 and try to export, it will give me number (1.) for both items. Also if I 
 press M-RET on the last line, it will be re-numbered as 1.
 
 Is there any way to avoid this?
 
 --aj
 
 
 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode
 


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] merging column view headings across files

2010-08-25 Thread Neil Hepburn
Greetings all,

I have column view configured differently in several different org files. In 
some the columns include things like priority and tags, another file has 
columns like blocker and so on. When I do an agenda search for special todo 
keywords (in particular STALLED) the search returns those dreaded stalled 
projects, which of course include some things from each org file.  If I switch 
to column view, it seems to use the column definitions in place for the first 
thing on the list. So, if a todo.org item is the first thing on the list the 
column headings are those defined in the todo.org file. However, there are 
things from project specific files (where i use the BLOCKER property to keep 
track of what's connected to what), and the column view heading for BLOCKER 
does not appear.

Anyone have any bright ideas on how I can keep separate column view definitions 
in each org file but have them some how magically combined in column-view look 
at my agenda?

Cheers,
Neil



=
Neil Hepburn, Lecturer in Economics
Department of Social Sciences, Augustana Faculty
University of Alberta
4901-46 Avenue
Camrose, Alberta  T4V 2R3

Phone (780) 679-1588
email nhepb...@ualberta.ca

No trees were harmed in creating this message. (However, millions of electrons 
were terribly disturbed.)


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [Org-Babel] and R... non-numeric cells

2010-08-12 Thread Neil Hepburn
 case, as my =ptable= is numeric already:
 
 --8---cut here---start-8---
 ptable[2:4, -1]
 V2V3V4   V5
 2 2596376.3 150.0  50.0 50.0
 3 3804467.0 6534066.0 3804467.0  0.0
 4 100.0  15.0   5.0  5.0
 --8---cut here---end---8---
 
 But I still don't understand what is reponsible of a different treatment of
 string and numerics between our 2 machines.
 
 Any idea?
 
 Best regards,
  Seb
 
 -- 
 Sébastien Vauban
 
 
 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode
 



=
Neil Hepburn, Lecturer in Economics
Department of Social Sciences, Augustana Faculty
University of Alberta
4901-46 Avenue
Camrose, Alberta  T4V 2R3

Phone (780) 679-1588
email nhepb...@ualberta.ca

No trees were harmed in creating this message. (However, millions of electrons 
were terribly disturbed.)


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Print / export TODO Tree

2010-08-11 Thread Neil Hepburn
You can highlight the tree (parent and its children) then use 
org-export-region-as-ascii. You can also export to any of the supported export 
formats.

-Neil

On 2010-08-11, at 2:10 PM, Nathan Neff wrote:

 Sorry if this is a FAQ, but is there a way to export or print a TODO tree?
 
 Thanks,
 --Nate
 
 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode
 


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] lookup functions in spreadsheet/table

2010-07-30 Thread Neil Hepburn
Greetings

I am looking for a lookup function for tables in org-mode. In the past I have 
used a spreadsheet to keep track of student grades and then had a table that 
contained cut points and grades. Assigning grades was simple because the 
formula would simply look up the student's grade in the cut points table and 
assign the appropriate letter grade.  In Yicksel, also known as Excel, the 
function would be =vlookup(target,lookup range,column to return). If I 
need to tweak my grade distribution to satisfy an anal retentive Registrar 
type, I can do so by altering the cut points. Now that I am using org-mode and 
emacs for everything else, thought it would be interesting to keep my grade 
book in it too. 

I've looked at the org-mode manual for the spreadsheet functions as well as 
looked in the GNU Emacs Calc manual for such a function but to no avail. Does 
such a function exist in org-mode?

Cheers,
Neil



=
Neil Hepburn, Economics Instructor
Department of Social Sciences, Augustana Faculty
University of Alberta
4901-46 Avenue
Camrose, Alberta  T4V 2R3

Phone (780) 679-1588
email nhepb...@ualberta.ca

No trees were harmed in creating this message. (However, millions of electrons 
were terribly disturbed.)


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] odd org-babel R behaviour

2010-07-30 Thread Neil Hepburn
After recently upgrading to the most recent org-mode, org-babel R and 
org-export have shown some rather peculiar behavior. After processing some R 
code, the results are printed out below the code block with 

#+results:
#+begin_example
blah blah blah (at least that's what I suspect reviewers at the last journal I 
submitted to called the output)
#+end_example

Now, when I go to export my org file to pdf, the R-output does not appear. 
However, if I go through and either delete the #+results: line or put a blank 
line between it and #+begin_example, the export works fine and the output from 
R appears. The same is true if I export to HTML. 

Now that I know the fix, the problem is easy enough to deal with as I go 
through a batch of experiments.

-Neil



=
Neil Hepburn, Economics Instructor
Department of Social Sciences, Augustana Faculty
University of Alberta
4901-46 Avenue
Camrose, Alberta  T4V 2R3

Phone (780) 679-1588
email nhepb...@ualberta.ca

No trees were harmed in creating this message. (However, millions of electrons 
were terribly disturbed.)


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] No title or date in LaTeX export

2010-07-29 Thread Neil Hepburn
Hi Xin

To get rid of this stuff, simply put the following at the top of your org file:

#+OPTIONS: author:nil
#+TITLE: 
#+DATE: 

alternatively you can use

#+TITLE: 
#+AUTHOR: 
#+DATE:

If you use the second option, your tex file will have 
\title{}
\author{}
\date{}

but will not have the \maketitle command.

-Neil 
(not an expert but an inquisitive user)


On 2010-07-29, at 2:31 PM, Xin Shi wrote:

 Hello Experts,
 
 When I export the org file to LaTeX, I want no title or date in the first 
 page.  Namely, I want these lines to be commented out:
 
 %\title{XX}
 %\date{X}
 %\maketitle 
 
 So far, I only found
 #+OPTIONS: author:nil  can make:
 
 %\author{} 
 
 I also tried :
 
 # Local Variables:
 # org-export-latex-title-command:  
 # End:
 
 but still saw the \maketitle .
 
 Any suggestions?
 
 Thanks!
 
 Xin
 
 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] bug in org-mode-export-as-latex

2010-07-28 Thread Neil Hepburn


The latest version (7.01g) seems to have a bug when exporting to PDF (and 
LaTeX) with tables with labels.  The export does not label the table in 
the LaTeX file although it is labeled in the .org file.  The following 
code in an org-mode file


#+CAPTION: A Simple Table
#+LABEL:  tbl:ATbl
|--+--|
| column 1 | column 2 |
|--+--|
| thing| one  |
| thing| two  |
|--+--|

leads to this in the LaTeX file

\begin{table}[htb]
\caption{A Simple Table}
\begin{center}
\begin{tabular}{ll}
\hline
 column 1column 2  \\
\hline
 thing   one   \\
 thing   two   \\
\hline
\end{tabular}
\end{center}
\end{table}

Note the missing \label{} command in the LaTeX version. I rolled back to 
version 6.34c and everything works.


Cheers,
Neil


==
Neil Hepburn, Economics Lecturer
Department of Social Sciences, Augustana Faculty
the University of Alberta
Camrose, Alberta

Phone: 780.679.1588
email: nhepb...@ualberta.ca

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] AI for orgmode

2010-03-19 Thread Neil Hepburn
Hi All

I've just caught wind of this thread but I thought I would share my own very 
recent experiences as a newbie in org-mode and my experiences may help shed 
some light on things.

Anyhow, I am quite new to org-mode (as in the last two or three weeks). I'm 
also sort of new to emacs. I've used it occasionally over the years but only 
recently started using it extensively because of ESS and AucTeX. So, I am by no 
means an emacs expert --- I know how to start it and use some of its tools but 
configuring it is not something I can claim to know anything about. 

I stumbled across org-mode when I did a google search for GTD and came across a 
couple of blogs and sites that talked about it. Each of them provided snippets 
of their .emacs files and so that's where I started. On several occasions I was 
stumped by a configuration issue and tried looking in the on-line manual but 
didn't really get anywhere. It wasn't until I tried using mobileorg that I 
started to develop a better understanding of things. I was having trouble 
getting mobileorg to work and Richard Moreland provided several key bits of 
information and it on that basis that I started to piece things together.

In reflecting on that experience and looking back at the manual, the manual 
makes perfect sense -- for someone more knowledgeable about emacs and lisp in 
general.  However, to an emacs novice it seems to assume a greater level of 
background knowledge than what may be reasonable. 

However, that said, trying to dumb-down the manual so that emacs novices are 
better served would likely do a disservice to experienced emacs users -- they 
would have to wade through pages of minutia and really basic stuff to get to 
what's important for them.

I think that Darlan's idea of tutorials that start with the really basic stuff 
and then build up to the good stuff has much merit.  In some respects, what may 
be needed is a parallel documentation stream: The current documentation as it 
is for those more experienced and another one for newbies (Org-Mode for newbies 
sort of thing.)

Anyhow, just my two-cents worth.

-Neil 

PS. Now that I have gotten the hang of org-mode to be reasonably functional in 
it, I just cannot see myself going back to OmniFocus and iCal -- both good 
programs in their own right but Org-mode can just do it all so much better.

On 2010-03-19, at 6:48 PM, Darlan Cavalcante Moreira wrote:

 I strongly agree with just start simple. The manual is very good, but it
 is better when you are looking for something specific. One of the best
 things in org is that it is very flexible and you can use it in the way you
 want, but in the beginning I didn't know how I should use it or how I
 want to use it. One thing that helped me was seeing the setup of power
 users. This allowed me to quickly see what org could do and how it could be
 done. Only after that I found the best way to use org-mode for me.
 
 But the problem is that I could only find power users setups. Maybe some
 tutorial that builds a setup like that from scratch would be good. The
 tutorial could be broken in parts where each part adds something to the
 previous one and the user could use the setup from parts he already viewed
 for some time to really feel org-mode. Reading each part would be more
 rewarding then reading a lot of information and only after that trying
 org-mode.
 
 Darlan
 
 
 2010/3/19 John Hendy jw.he...@gmail.com:
 
 
 On Fri, Mar 19, 2010 at 12:08 PM, Carsten Dominik
 carsten.domi...@gmail.com wrote:
 
 On Mar 18, 2010, at 9:32 PM, Leo wrote:
 
 Hello,
 
 beginning removed
 
 
 BTW, recently while talking with some chap on #lisp irc channel who was
 seeking a GTD tool (folks there usually are already literate with Emacs
 since SLIME is the best tool for developing common lisp applications).
 He told me that he had tried to adopt org mode but unfortunately he
 could not get it to where he wanted it to be in an afternoon, so he had
 to abandon it. And he is experienced in lisp programming since that is
 his job.
 
 Thinking about my own experience, I didn't feel the pain since I
 gradually changing my org mode configuration over a few years. but I
 could understand the frustration.
 
 I would be interested in a discussion on how to decrease the startup
 pain in a clever way.
 
 - Carsten
 
 
 I just started using org-mode and emacs this week. I looked around a couple
 of months ago for a task manager and found a lot of posts on planner and
 org-mode but was turned off by the apparently steep learning curve. I think
 the word 'piecemeal' seems to come up a lot in people's learning tendencies.
 For example, when looking a Sacha Chua's blogs about org-mode, seeing her
 code to do what I thought was 'one simple thing' was completely revolting...
 not because I didn't think it was awesome or desirable, but because it made
 me feel like I would never understand or learn to ever be where her and
 other users have gotten themselves after months and years 

[Orgmode] creating notes in tasks

2010-03-17 Thread Neil Hepburn
Greetings

I have found the notes tool in tasks to be invaluable (in an agenda view click 
on/highlight a task hit z). Is there a way to do this from a task in my 
todo.org file? Often when I am sorting through my todo file I want to make 
little notes attached to a task. Of course I can manually edit them but the 
notes tool in an agenda view is much more convenient.

Cheers,
Neil




=
Neil Hepburn, Economics Instructor
Department of Social Sciences, Augustana Faculty
University of Alberta
4901-46 Avenue
Camrose, Alberta  T4V 2R3

Phone (780) 679-1588
email nhepb...@ualberta.ca

No trees were harmed in creating this message. (However, millions of electrons 
were terribly disturbed.)



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Newbie question: mobileorg and org-mode configuration

2010-03-07 Thread Neil Hepburn
Hi All

I am a new user to org-mode and was almost immediately hooked. (I'm also a 
relatively recent convert to emacs and Aquamacs.) I went out and fetched the 
mobileorg app for my iPod touch from the Apple appstore and now I'm rapidly 
losing what's left of my hair - doh!

Anyhow, I have org-mode working happily in Aqumacs emacs but I can't seem to 
get things to work with org-mobile.  Here's the basics of my setup

-my .org files reside in a folder on my iDisk so that I can sync them between 
my laptop and my desktop. That all works swell

-I have mobileorg on my iPod set to hit my idisk account and that works fine. 

The problem I am having is figuring out the configuration stuff in my 
Preferences.el file. Here's a copy of the relevant section 


(setq org-mobile-directory /Volumes/nhepburn/org/stage/)
(setq org-mobile-files (quote(/Volumes/nhepburn/org/todo.org 
/Volumes/nhepburn/org/teaching.org /Volumes/nhepburn/org/research.org)))
(setq org-mobile-inbox-for-pull /Volumes/nhepburn/org/transit.org)
(add-hook 'org-mobile-post-push-hook
(lambda () (shell-command scp -r /Volumes/nhepburn/org/stage/* 
u...@wdhost:mobile/)))
(add-hook 'org-mobile-pre-pull-hook
(lambda () (shell-command scp u...@wdhost:mobile/mobileorg.org 
/Volumes/nhepburn/org/stage/ )))
(add-hook 'org-mobile-post-pull-hook
(lambda () (shell-command scp /Volumes/nhepburn/org/stage/mobileorg.org 
u...@wdhost:mobile/)))


my *.org files for org-mode reside in ../org/ while the mobile files reside in 
../org/stage/

I've scoured the Org-mobile manual, trolled through the mailing list archive, 
and spent countless hours doing google searches. Can someone suggest the right 
bit of stuff to put in here and then how to make org-mode in Aquamacs push to 
and pull from my mobileorg stuff? 

Thanks in advance.

Regards,
Neil

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode