emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Status of changes - how to convert the following


From: Rainer M Krug
Subject: [O] Status of changes - how to convert the following
Date: Thu, 3 Nov 2011 11:39:45 +0100

Hi

Sorry - I mentioned it already, but I have lost track of how things are standing at the moment.

I am using Org-mode version 7.7 (release_7.7.512.g4d2a), and get, based on the following arguments, after tangling, a file which begins with:

 
## [[file:~/Documents/Projects/BiocontrolAndAlienDynamics/nonSpatialAcacia/trunc/R/Analysis_sensitivity.org::*Initialise%2520Analysis%2520(initializeAnalysis())][Initialise-Analysis-\(initializeAnalysis\(\)\):1]]

RESULTSDIR <- "/media/Results/clusterResults/nsa/LHCube/nsa.91.up-to-date/results/"
ANALYSISDIR <- "/home/rkrug/Documents/Projects/BiocontrolAndAlienDynamics/nonSpatialAcacia/LHCube/nsa.91.up-to-date/analysis/"

Shouldn't #+BABEL: be deprecated now?

In that line:
 
I have the following in my org file:

#+TITLE:     Analysis Sensitivity Analysis --- Analysis_sensitivity.org
#+AUTHOR:    Rainer M Krug
#+EMAIL:     address@hidden
#+DATE:      2010-09-14 Tue
#+DESCRIPTION:
#+KEYWORDS:

:CONFIG:
#+LANGUAGE:  en
#+DRAWERS: HIDDEN PROPERTIES STATE CONFIG BABEL OUTPUT LATEX

#+OPTIONS:   H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS:   TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc
#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+LINK_UP:  
#+LINK_HOME:
#+XSLT:
#+ATTR_LaTeX: width=30em
#+STARTUP: nohideblocks
#+OPTIONS: ^:{}
:END:

:LATEX:
#+LATEX_HEADER: \usepackage{rotfloat}
#+LATEX_HEADER: \definecolor{light-gray}{gray}{0.9}
#+LATEX_HEADER: \lstset{%
#+LATEX_HEADER:     basicstyle=\ttfamily\tiny,       % the font that is used for the code
#+LATEX_HEADER:     tabsize=4,                       % sets default tabsize to 4 spaces
#+LATEX_HEADER:     numbers=left,                    % where to put the line numbers
#+LATEX_HEADER:     numberstyle=\tiny,               % line number font size
#+LATEX_HEADER:     stepnumber=0,                    % step between two line numbers
#+LATEX_HEADER:     breaklines=true,                 %!! don't break long lines of code
#+LATEX_HEADER:     showtabs=false,                  % show tabs within strings adding particular underscores
#+LATEX_HEADER:     showspaces=false,                % show spaces adding particular underscores
#+LATEX_HEADER:     showstringspaces=false,          % underline spaces within strings
#+LATEX_HEADER:     keywordstyle=\color{blue},
#+LATEX_HEADER:     identifierstyle=\color{black},
#+LATEX_HEADER:     stringstyle=\color{green},
#+LATEX_HEADER:     commentstyle=\color{red},
#+LATEX_HEADER:     backgroundcolor=\color{light-gray},   % sets the background color
#+LATEX_HEADER:     columns=fullflexible, 
#+LATEX_HEADER:     basewidth={0.5em,0.4em},
#+LATEX_HEADER:     captionpos=b,                    % sets the caption position to `bottom'
#+LATEX_HEADER:     extendedchars=false              %!?? workaround for when the listed file is in UTF-8
#+LATEX_HEADER: }

#+LATEX_HEADER: \usepackage[landscape, top=1cm, bottom=1cm, left=1cm, right=1cm]{geometry}

#+ATTR_LaTeX: width=10cm

#+BIND: org-export-latex-image-default-option "width=0.35\\textwidth"
:END:

:BABEL:
#+BABEL: :session *R*
#+BABEL: :results output
#+BABEL: :exports code
#+BABEL: :comments yes
#+BABEL: :tangle Analysis_sensitivity.R
#+BABEL: :var RESULTSDIR="/media/Results/clusterResults/nsa/LHCube/nsa.91.up-to-date/results/"
#+BABEL: :var ANALYSISDIR="/home/rkrug/Documents/Projects/BiocontrolAndAlienDynamics/nonSpatialAcacia/LHCube/nsa.91.up-to-date/analysis/"
 #+BABEL: :var RESULTSDIR="/home/rkrug/sim/nsa/trunc/results/"
 #+BABEL: :var ANALYSISDIR="/home/rkrug/sim/nsa/SA/"
:END:

where the indented lines are "disabled".

Assuming that #+BABEL is deprecated, how do I have to change it so that it is working? The lines with #+BABEL: are affected, and the single lines have to be changed to #+PROPERTY: - right?

But what is about the :var statements, which are now in two lines, and which I would prefer to stay in separate lines?

Thanks,

Rainer
 

--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax (F):       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      address@hidden

Skype:      RMkrug


reply via email to

[Prev in Thread] Current Thread [Next in Thread]