Re: [O] #+TEXT: disappeared

2013-12-19 Thread Manfred Lotz
On Wed, 18 Dec 2013 19:39:39 +0100
Nicolas Goaziou n.goaz...@gmail.com wrote:

 Hello,
 
 Manfred Lotz manfred.l...@arcor.de writes:
 
  On Tue, 17 Dec 2013 15:53:25 +0100
  Sebastien Vauban sva-n...@mygooglest.com
  wrote:
 
  Manfred Lotz wrote:
   I just found that #+TEXT: from pre 8 org-mode has disappeared. 
  
   Does anybody know how this is done with org-mode 8?
  
  IIUC, it became `#+ascii:'.
  
  Best regards,
Seb
  
 
  Hm, when I try this it won't even appear in the .tex file.
 
 TEXT keywords were removed in Org 8 because we do not need them
 anymore. Would you mind providing your use case, or, better, an
 example, so we can help you?
 
 
 Regards,
 

Actually I want to have an abstract between title/author and the first
chapter. 



-- 
Manfred



Re: [O] #+TEXT: disappeared

2013-12-19 Thread Manfred Lotz
On Wed, 18 Dec 2013 08:40:31 -1000
t...@tsdye.com (Thomas S. Dye) wrote:

 Manfred Lotz manfred.l...@arcor.de writes:
 
  On Tue, 17 Dec 2013 15:53:25 +0100
  Sebastien Vauban sva-n...@mygooglest.com
  wrote:
 
  Manfred Lotz wrote:
   I just found that #+TEXT: from pre 8 org-mode has disappeared. 
  
   Does anybody know how this is done with org-mode 8?
  
  IIUC, it became `#+ascii:'.
  
  Best regards,
Seb
  
 
  Hm, when I try this it won't even appear in the .tex file.
 
 I'm not sure what your expectations might be, but if you want to add
 special code to a .tex file, Section 12.7.3 of the manual, Quoting
 LaTeX code, describes how to do that.
 

I know about this but I didn't want to do this. I just said if #+ASCII:
had any effect I would have seen it in the resulting tex file when
exporting to LaTeX file.

-- 
Manfred





[O] a4paper to execute latex src block

2013-12-19 Thread David Belohrad


Dear All,

I have following latex src block (see bellow), which I'd like to use to
generate box. When I press C-c C-c and execute the block, it does
exactly what is wanted, i.e. generates cps_fbct_box_btp10.pdf file with
some fancy graphics. The problem is, that I've found, that resulting PDF
graphics does not have expected dimensions. Tracing that back I've
found, that I have to use

\documentclass[a4paper]{article}

and not 

\documentclass{article}

as is generated by execution of the src block. Now, I have tried
everything I know to generate tex file out of this thing, which would
modify the default (no) options to include a4 paper. Nothing works.

This:
#+LaTeX_CLASS_OPTIONS: [a4paper,twoside,twocolumn]
in front of src block does not include these options into resulting Tex
file

Adding 'second' document class in :headers does not work either as latex
is complaining that I have specified two classes.

How can I setup the src block such, that it will generate for me in the
latex preamble article class with a4paper option?

many thanks

.d.




*** Prepare front panel to be sticked on each FBCT
Each FBCT is equipped with a sticker, which is sticked on the FR4 box
with connectors. This identifies which of the connectors is FBCT
output and which of them is calibration input. It adds information
about what FBCT is it and who is responsible (me).

Script to generate it:
#+begin_src latex :file cps_fbct_box_btp10.pdf :headers '(\\usepackage{tikz} 
\\usepackage[top=5mm,bottom=5mm,left=5mm,right=5mm]{geometry})
\newcommand{\fbct}{BTP-BCT10 (\#3044)}
\begin{tikzpicture}[thick]
\draw (0,0) -- (136mm,0) -- (136mm,80mm) -- (0,80mm) -- (0,0);
% two main holes
\draw (40mm,40mm) circle (8.5mm);
\draw (96mm,40mm) circle (8.5mm);
% screws around holes for first connector 
\draw (30.85mm,30.85mm) circle (1.65mm);
\draw (49.15mm,30.85mm) circle (1.65mm);
\draw (30.85mm,49.15mm) circle (1.65mm);
\draw (49.15mm,49.15mm) circle (1.65mm);
% screws around holes for second connector
\draw (86.85mm,30.85mm) circle (1.65mm);
\draw (105.15mm,30.85mm) circle (1.65mm);
\draw (86.85mm,49.15mm) circle (1.65mm);
\draw (105.15mm,49.15mm) circle (1.65mm);
% holes around the box
\draw (4mm,4mm) circle (1.75mm);
\draw (132mm,4mm) circle (1.75mm);
\draw (132mm,76mm) circle (1.75mm);
\draw (4mm,76mm) circle (1.75mm);
% text messages
\node[color=red,text width=4cm,align=center] at (4cm,1.5cm)
{\LARGE\texttt{Calibration input}};
\node[color=blue,text width=3cm,align=center] at (96mm,1.5cm)
{\LARGE\texttt{FBCT output}};
\node[color=black,text width=120mm,align=center] at (68mm,7cm)
{\Huge \texttt{\textbf{\fbct}}};
\node[color=black,text width=120mm,align=center] at (68mm,6.3cm)
{Resp: \textbf{David Belohrad} 
(\Email\hspace{1mm}david.beloh...@cern.ch\hspace{2mm}\Mobilefone\hspace{1mm}163455)};
\end{tikzpicture}

#+end_src

#+RESULTS:
#+BEGIN_LaTeX
[[file:cps_fbct_box_btp10.pdf]]
#+END_LaTeX



Re: [O] Exporting Agenda

2013-12-19 Thread Johann Spies
I upgraded to org-mode 8.4 and now pdf (ps) is working but the result for
ics is the same: a skeleton file.

Regards
Johann


On 19 December 2013 09:09, Johann Spies johann.sp...@gmail.com wrote:

 I am trying to export the agenda and so far I can only export to html.
 The other formats (ps, pdf and ics) fail.

 Exports to ics ends up in an empty ics-file like this:

 BEGIN:VCALENDAR
 VERSION:2.0
 X-WR-CALNAME:OrgMode
 PRODID:-//Johann Spies//Emacs with Org mode//EN
 X-WR-TIMEZONE:SAST
 X-WR-CALDESC:
 CALSCALE:GREGORIAN
 END:VCALENDAR


 The html file is good.

 ps and pdf exports fail totally with no output at all. When trying to use
 ics, ps and pdf exports I get

 Wrong type argument, stringp , nil

 I have the following in my .emacs

(setq org-agenda-exporter-settings
 '((ps-number-of-columns 2)
   (ps-landscape-mode t)
   (org-agenda-add-entry-text-maxlines 5)
   (htmlize-output-type 'css)))


 I am using orgmode 8.2.1-1 on Debian with emacs24.

 What am I missing?

 Regards
 Johann

 --
 Because experiencing your loyal love is better than life itself,
 my lips will praise you.  (Psalm 63:3)




-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: [O] a4paper to execute latex src block

2013-12-19 Thread David Belohrad

Fiddling a bit more I have achieved it, but it is solution for all src
blocks. By redefining variable org-format-latex-header:

(setq org-format-latex-header \\documentclass[a4paper,12pt]{article}
\\usepackage[usenames]{color}
\\usepackage{amsmath}
\\usepackage[mathscr]{eucal}
\\usepackage{tikz}
\\pagestyle{empty}
\[PACKAGES]
\[DEFAULT-PACKAGES]
)

So I have removed settings which I don't need, and I ordered it to
obligatory use a4paper and 12pt, which I use anyways. 

Still, how could I change this locally is not clear to me...

.d.


David Belohrad da...@belohrad.ch writes:

 Dear All,

 I have following latex src block (see bellow), which I'd like to use to
 generate box. When I press C-c C-c and execute the block, it does
 exactly what is wanted, i.e. generates cps_fbct_box_btp10.pdf file with
 some fancy graphics. The problem is, that I've found, that resulting PDF
 graphics does not have expected dimensions. Tracing that back I've
 found, that I have to use

 \documentclass[a4paper]{article}

 and not 

 \documentclass{article}

 as is generated by execution of the src block. Now, I have tried
 everything I know to generate tex file out of this thing, which would
 modify the default (no) options to include a4 paper. Nothing works.

 This:
 #+LaTeX_CLASS_OPTIONS: [a4paper,twoside,twocolumn]
 in front of src block does not include these options into resulting Tex
 file

 Adding 'second' document class in :headers does not work either as latex
 is complaining that I have specified two classes.

 How can I setup the src block such, that it will generate for me in the
 latex preamble article class with a4paper option?

 many thanks

 .d.




 *** Prepare front panel to be sticked on each FBCT
 Each FBCT is equipped with a sticker, which is sticked on the FR4 box
 with connectors. This identifies which of the connectors is FBCT
 output and which of them is calibration input. It adds information
 about what FBCT is it and who is responsible (me).

 Script to generate it:
 #+begin_src latex :file cps_fbct_box_btp10.pdf :headers 
 '(\\usepackage{tikz} 
 \\usepackage[top=5mm,bottom=5mm,left=5mm,right=5mm]{geometry})
 \newcommand{\fbct}{BTP-BCT10 (\#3044)}
 \begin{tikzpicture}[thick]
 \draw (0,0) -- (136mm,0) -- (136mm,80mm) -- (0,80mm) -- (0,0);
 % two main holes
 \draw (40mm,40mm) circle (8.5mm);
 \draw (96mm,40mm) circle (8.5mm);
 % screws around holes for first connector 
 \draw (30.85mm,30.85mm) circle (1.65mm);
 \draw (49.15mm,30.85mm) circle (1.65mm);
 \draw (30.85mm,49.15mm) circle (1.65mm);
 \draw (49.15mm,49.15mm) circle (1.65mm);
 % screws around holes for second connector
 \draw (86.85mm,30.85mm) circle (1.65mm);
 \draw (105.15mm,30.85mm) circle (1.65mm);
 \draw (86.85mm,49.15mm) circle (1.65mm);
 \draw (105.15mm,49.15mm) circle (1.65mm);
 % holes around the box
 \draw (4mm,4mm) circle (1.75mm);
 \draw (132mm,4mm) circle (1.75mm);
 \draw (132mm,76mm) circle (1.75mm);
 \draw (4mm,76mm) circle (1.75mm);
 % text messages
 \node[color=red,text width=4cm,align=center] at (4cm,1.5cm)
 {\LARGE\texttt{Calibration input}};
 \node[color=blue,text width=3cm,align=center] at (96mm,1.5cm)
 {\LARGE\texttt{FBCT output}};
 \node[color=black,text width=120mm,align=center] at (68mm,7cm)
 {\Huge \texttt{\textbf{\fbct}}};
 \node[color=black,text width=120mm,align=center] at (68mm,6.3cm)
 {Resp: \textbf{David Belohrad} 
 (\Email\hspace{1mm}david.beloh...@cern.ch\hspace{2mm}\Mobilefone\hspace{1mm}163455)};
 \end{tikzpicture}

 #+end_src

 #+RESULTS:
 #+BEGIN_LaTeX
 [[file:cps_fbct_box_btp10.pdf]]
 #+END_LaTeX



[O] Reading calendars in org mode: what is the best solution?

2013-12-19 Thread Alan Schmitt
Hello,

I would like to have a read-only version of my calendars in my org
agenda. These calendars (10 of them) currently live in Zimbra and
iCould, and I am accessing them both using the native Calendar
application on OS X and on my (Android) phone.

I've looked at what the options are, and I can find two of them:
- convert ics files into org files 
  (http://orgmode.org/worg/org-tutorials/org-google-sync.html)
- set up a synchronization using caldav
  (https://github.com/dengste/org-caldav)

Note that I don't want to edit the calendars in org mode, I simply want
to see them in my agenda view.

My questions are: do you have something similar set up? And if so, is
there a preferred approach, and gotchas I should be aware of?

Thanks a lot,

Alan



Re: [O] How to get updates about new features in Orgmode

2013-12-19 Thread Bastien
Hi Truong,

Truong Ha truonghat...@outlook.com writes:

 I am wondering whether there is a page in http://orgmode.org/ telling
 new features or updates in Orgmode?

We announce new features of major releases here:
  http://orgmode.org/Changes.html

For more fine-grained information, you'd better follow the
mailing list.

Hope this helps,

-- 
 Bastien



Re: [O] Exporting Agenda

2013-12-19 Thread Bastien
Hi Johann,

Johann Spies johann.sp...@gmail.com writes:

 ps and pdf exports fail totally with no output at all. When trying to
 use ics, ps and pdf exports I get

 Wrong type argument, stringp , nil

Can you tell us how do you export?

Through C-c C-e ?

Also, please provide a minimal test file with a reproducible recipe,
this will help solve the issue.

Thanks,

-- 
 Bastien



[O] ox-bibtex: Allow for missing bibtex style

2013-12-19 Thread Julian Gehring

Hi,

I recently started using ox-bibtex, and was impressed by the nice and 
simple functionality.


Currently, it is required to specify a bibtex style when defining the 
bibliography:


#+BIBLIOGRAPHY: bibfilebasename stylename optional-options

Would it be reasonable to allow for a missing 'stylename'?  Such that if 
'stylename' is missing or 'nil', that:

a) 'stylename' is passed with the '-s' argument to 'bibtex2html' and
b) the line '\bibliographystyle{stylename}' is not added to the latex 
output?  Then, the bibtex style can be overwritten by default settings 
of the latex document.  At the moment, this results in a warning about 
two conflicting styles.


Would be happy to hear your opinion about this suggestion.

Best wishes
Julian





Re: [O] Exporting Agenda

2013-12-19 Thread Johann Spies
Hello Bastien,

Thanks for your attention.

Can you tell us how do you export?



 Through C-c C-e ?

 No.  If I try that, it is not recognised as a valid combination.

I use C-x C-w when in agenda mode.


 Also, please provide a minimal test file with a reproducible recipe,
 this will help solve the issue.


Attached.


-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)
Title: Agenda View



  
  

Week-agenda (W51):
Monday 16 December 2013 W51
Tuesday17 December 2013
Wednesday  18 December 2013
Thursday   19 December 2013
  toets:  Scheduled:  TODO test export of ics
  toets:  In   7 d.:  TODO test export of ics
Friday 20 December 2013
  toets:  Scheduled:  TODO test export of ics
Saturday   21 December 2013
Sunday 22 December 2013
  toets:  Scheduled:  TODO test export of ics

  



toets.org
Description: Binary data


Re: [O] Reading calendars in org mode: what is the best solution?

2013-12-19 Thread Michael Strey
Hi Alan,

alan.schm...@polytechnique.org writes:

[...]

 I would like to have a read-only version of my calendars in my org
 agenda. These calendars (10 of them) currently live in Zimbra and
 iCould, and I am accessing them both using the native Calendar
 application on OS X and on my (Android) phone.

 I've looked at what the options are, and I can find two of them:
 - convert ics files into org files 
   (http://orgmode.org/worg/org-tutorials/org-google-sync.html)

I'm using the scripts from Eric S. Fraga from the above link since
several months and I'm very happy with them.

The only drawback that I have noticed is, that the frequent messages
~Reverting buffer `gcal-termine.org'~ are sometimes in the way in Emacs'
echo area.

Best regards
Michael Strey

-- 
http://www.strey.biz



Re: [O] [WORG] How to ediff folded Org files?

2013-12-19 Thread Michael Brand
Hi all

An update for this thread from April:

On Sun, Apr 7, 2013 at 12:24 AM, Michael Brand
michael.ch.br...@gmail.com wrote:
 #+BEGIN_SRC emacs-lisp
   (add-hook 'ediff-prepare-buffer-hook 'f-ediff-prepare-buffer-hook-setup)
   (defun f-ediff-prepare-buffer-hook-setup ()
 ;; specific modes
 (cond ((eq major-mode 'org-mode)
(f-org-vis-mod-maximum))
   ;; room for more modes
   )
 ;; all modes
 (setq truncate-lines nil))
   (defun f-org-vis-mod-maximum ()
[...]
 #+END_SRC

To get the = in narrowed columns of aligned tables out of the way I
changed f-org-vis-mod-maximum in the meantime:

#+BEGIN_SRC emacs-lisp
  (defun f-org-vis-mod-maximum ()
Org visibility: Modify settings to show maximum.
  Useful for e. g. `ediff-prepare-buffer-hook' in Org buffer.
(interactive)
(cond
 ((eq major-mode 'org-mode)
  (setq truncate-lines nil)
  (visible-mode 1)
  ;; Get the = in narrowed columns of aligned tables out of the way.
  ;; - It is important to also remove the text property invisible for
  ;;   the case that the Visible mode is turned off after the removed =
  ;;   does not indicate invisible content anymore.
  ;; - Negative site effect to put up with: When the Visible mode is
  ;;   turned off again it will show some parts that were invisible before
  (with-silent-modifications
(remove-text-properties
 (point-min) (point-max)
 (list 'invisible 'dummy-prop-or-val  ; e. g. truncated table field
   'display   'dummy-prop-or-val  ; e. g. the = in a table
 (t
  (message ERR: not in Org mode)
  (ding
#+END_SRC

Michael



Re: [O] Links to headings not generated in Tables

2013-12-19 Thread Luke Crook
Hi Nicolas,

What about the following code.  In the following, 1 and 2 are not
appearing in the HTML or the Latex exorts.



* test
  One, [[1]] and two, [[2]].


* blee

| ID| Descr | Descr |
|---+---+---|
| 1 | One   | One   |
| 2 | Two   | Two   |



On Thu, Nov 21, 2013 at 1:04 PM, Nick Dokos ndo...@gmail.com wrote:

 Luke Crook l...@balooga.com writes:

  Nicolas Goaziou n.goaziou at gmail.com writes:
 
 
  Hello,
 
  Luke Crook luke at balooga.com writes:
 
   Hi Nicolas, I'm definitely using 8.2.2, as reported by org-version.
 
  OK. Then could you provide an ECM? I'm unable to reproduce the problem.
 
  Regards,
 
 
 
  Hi Nicolas,
 
  The first two work correctly, the third does not generate a link for me.
 
 
 
  | [[id:6920d682-963f-412b-927b-af7dcfd57c79][Code 13]]  |
  | [[*Code 13]] |
  | [[*Code 13][Code 13]]  |
 
 
  *** Code 13
  :PROPERTIES:
  :ID:   6920d682-963f-412b-927b-af7dcfd57c79
  :END:

 It does for me - here's the table in the HTML output:

 --8---cut here---start-8---
 table border=2 cellspacing=0 cellpadding=6 rules=groups
 frame=hsides


 colgroup
 col  class=left /
 /colgroup
 tbody
 tr
 td class=lefta href=#sec-1Code 13/a/td
 /tr

 tr
 td class=lefta href=#sec-11/a/td
 /tr

 tr
 td class=lefta href=#sec-1Code 13/a/td
 /tr
 /tbody
 /table
 --8---cut here---end---8---

 Org-mode version 8.2.3c (release_8.2.3c-256-g5ea022.dirty @
 /home/nick/elisp/org-mode/lisp/)

 Nick





Re: [O] Links to headings not generated in Tables

2013-12-19 Thread Luke Crook
Here is the html export.  The anchor is generated, but with no text.

a id=1 name=1/a/td

thead
tr
th scope=col class=leftID/th
th scope=col class=leftDescr/th
th scope=col class=leftDescr/th
/tr
/thead
tbody
tr
td class=lefta id=1 name=1/a/td
td class=leftOne/td
td class=leftOne/td
/tr
 tr
td class=lefta id=2 name=2/a/td
td class=leftTwo/td
td class=leftTwo/td
/tr
/tbody
/table



On Thu, Dec 19, 2013 at 11:12 AM, Luke Crook l...@balooga.com wrote:

 Hi Nicolas,

 What about the following code.  In the following, 1 and 2 are not
 appearing in the HTML or the Latex exorts.



 * test
   One, [[1]] and two, [[2]].


 * blee

 | ID| Descr | Descr |
 |---+---+---|
 | 1 | One   | One   |
 | 2 | Two   | Two   |



 On Thu, Nov 21, 2013 at 1:04 PM, Nick Dokos ndo...@gmail.com wrote:

 Luke Crook l...@balooga.com writes:

  Nicolas Goaziou n.goaziou at gmail.com writes:
 
 
  Hello,
 
  Luke Crook luke at balooga.com writes:
 
   Hi Nicolas, I'm definitely using 8.2.2, as reported by org-version.
 
  OK. Then could you provide an ECM? I'm unable to reproduce the problem.
 
  Regards,
 
 
 
  Hi Nicolas,
 
  The first two work correctly, the third does not generate a link for me.
 
 
 
  | [[id:6920d682-963f-412b-927b-af7dcfd57c79][Code 13]]  |
  | [[*Code 13]] |
  | [[*Code 13][Code 13]]  |
 
 
  *** Code 13
  :PROPERTIES:
  :ID:   6920d682-963f-412b-927b-af7dcfd57c79
  :END:

 It does for me - here's the table in the HTML output:

 --8---cut here---start-8---
 table border=2 cellspacing=0 cellpadding=6 rules=groups
 frame=hsides


 colgroup
 col  class=left /
 /colgroup
 tbody
 tr
 td class=lefta href=#sec-1Code 13/a/td
 /tr

 tr
 td class=lefta href=#sec-11/a/td
 /tr

 tr
 td class=lefta href=#sec-1Code 13/a/td
 /tr
 /tbody
 /table
 --8---cut here---end---8---

 Org-mode version 8.2.3c (release_8.2.3c-256-g5ea022.dirty @
 /home/nick/elisp/org-mode/lisp/)

 Nick






Re: [O] #+TEXT: disappeared

2013-12-19 Thread Nicolas Goaziou
Hello,

Manfred Lotz manfred.l...@arcor.de writes:

 Actually I want to have an abstract between title/author and the first
 chapter.

Isn't the following sufficient?

  #+title: My title
  #+author: Me

  #+begin_abstract
  ...
  #+end_abstract

  * First section

Contents


Regards,

-- 
Nicolas Goaziou



Re: [O] Exporting Agenda

2013-12-19 Thread Nicolas Goaziou
Hello,

Johann Spies johann.sp...@gmail.com writes:

 Hello Bastien,

 Thanks for your attention.

 Can you tell us how do you export?



 Through C-c C-e ?

 No.  If I try that, it is not recognised as a valid combination.

 I use C-x C-w when in agenda mode.


 Also, please provide a minimal test file with a reproducible recipe,
 this will help solve the issue.


 Attached.

You may need to tweak `org-icalendar-use-scheduled' (for VEVENT) and
`org-icalendar-include-todo' (for VTODO).


Regards,

-- 
Nicolas Goaziou



Re: [O] Links to headings not generated in Tables

2013-12-19 Thread Nicolas Goaziou
Hello,

Luke Crook l...@balooga.com writes:

 What about the following code.  In the following, 1 and 2 are not
 appearing in the HTML or the Latex exorts.



 * test
   One, [[1]] and two, [[2]].


 * blee

 | ID| Descr | Descr |
 |---+---+---|
 | 1 | One   | One   |
 | 2 | Two   | Two   |

This is the expected behaviour. Targets are always invisible. See
section 4.2 in manual.


Regards,

-- 
Nicolas Goaziou



[O] Capture for beginners. Dissecting the default template.

2013-12-19 Thread Brady Trainor
Basically, this is a brain dump. Please offer any advices you think of. 



In efforts to learn to use capture, I decided to try to understand the 
defaults. I will mention the location defaults, and the default template. 



At this time, all of my org-files are in one folder, so I decided to start 
with a tester file for captures in the same folder, with name: 



org-default-notes-file ./capturetest.org



(for total newbs, the dot slash refers to the current folder). 



I also went with the common suggestion for the key binding of 



(define-key global-map \C-cc 'org-capture)



(added directly to .emacs file). 



I then attempted to understand how the default template worked, and how to 
recreate it in the Customize interface buffer. 



- key: t

- description: Task

- type: entry

- target location: File  Headline

  - File: empty 

  - Headline: Tasks

- Template: here was the tricky part. 



First I had to realize that the * was necessary (skimming for examples in 
the documentation). Then, I struggled to figure out how to get the newline 
in there. I could go to the .emacs file and add \n manually, but how to add 
it in the customize buffer. My current solution is to use M-x newline RET 
(not sure if there is a default key binding for this). 



Thus, I believe the default template can be arrived at via: 



* TODO M-x newline RET %t M-x newline RET %a 



I now feel more ready to start making my own templates, for instance, my 
first templates might be entries with certain headlines, prompt for tags, 
the date added, but for now still heading to the capturetest file. 



That is, for instance, 



- Headline: tech-related

- Template: * %^G\n%t



Brady








Re: [O] org-mode habits graph dissapears

2013-12-19 Thread Josiah Schwab

Javier Ortiz writes:

 Thank you for your response!

Please CC the org-mode list in your responses.  Others can join the
conversation and the results will be archived for use by future users.

 I added
  (defcustom org-habit-show-all-today nil
  If non-nil, will show the consistency graph of all habits on
  today's agenda, even if they are not scheduled.
  :group 'org-habit
  :type 'boolean)

Here I was just quoting from org-habit.el.  This is not something you
would add you your .emacs.

 To my .emacs file, restarted emacs, then =C-a a=, but I don't see the
 consistency graph again.  Should I try something else?

I'm still not exactly sure what behavior you want, but it seems like
you want to customize one or the other of

,
| (defcustom org-habit-show-habits-only-for-today t
|   If non-nil, only show habits on today's agenda, and not for future days.
| Note that even when shown for future days, the graph is always
| relative to the current effective date.
|   :group 'org-habit
|   :type 'boolean)
`

,
| (defcustom org-habit-show-all-today nil
|   If non-nil, will show the consistency graph of all habits on
| today's agenda, even if they are not scheduled.
|   :group 'org-habit
|   :type 'boolean)
`

For example, suppose that I want habits shown today and at their future
scheduled date.  Then with the attached minimal startup file (adjust
paths as necessary and start emacs with emacs -Q -l minimal-org.el)
and orgmode 8.2.4, I see consistency graphs as one expects.

Josiah


minimal-org.el
Description: application/emacs-lisp


Re: [O] [RFC] About `org-export-with-\(fixed-width\|tables\)'

2013-12-19 Thread Florian Beck
Nicolas Goaziou n.goaz...@gmail.com writes:

 I don't think option 2 is really useful, but I don't mind either way.

Actually, I would find it useful (because I sometimes export my notes as
an ebook and tables get garbled on the way).

Tables are kind of tricky to get exported correctly and it seems quite
reasonble to optimise them for a certain export backend and ignore them
otherwise. One might also have lots of tables that don't export
correctly (typically, because they are too wide). 

-- 
Florian Beck



Re: [O] Links to headings not generated in Tables

2013-12-19 Thread Luke Crook
Ok.  I feel quite quite silly now.

Thanks
/Luke





On Thu, Dec 19, 2013 at 12:48 PM, Nicolas Goaziou n.goaz...@gmail.comwrote:

 Hello,

 Luke Crook l...@balooga.com writes:

  What about the following code.  In the following, 1 and 2 are not
  appearing in the HTML or the Latex exorts.
 
 
 
  * test
One, [[1]] and two, [[2]].
 
 
  * blee
 
  | ID| Descr | Descr |
  |---+---+---|
  | 1 | One   | One   |
  | 2 | Two   | Two   |

 This is the expected behaviour. Targets are always invisible. See
 section 4.2 in manual.


 Regards,

 --
 Nicolas Goaziou



Re: [O] org2blog problems.

2013-12-19 Thread Erik Hetzner
At Wed, 18 Dec 2013 18:03:19 +,
Sharon Kimble wrote:
 
 I have been attempting to use emacs org2blog but am now consistently
 getting this error report - 
 Contacting host: www.sharons.org.uk:80
 xml-rpc-xml-to-response: XML-RPC fault `Incorrect username or password.'
 
 I'm using '.netrc' and this is -
 machine host100
 myblog A taste of linux
 login boudiccas
 password rhubarbandcustard

Possibly this bug?

http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-09/msg01226.html

best, Erik

-- 
Sent from my free software system http://fsf.org/.



Re: [O] tricky odt export needs

2013-12-19 Thread Jambunathan K

Christian Moe m...@christianmoe.com writes:

 You can do cross-references with ordinary links. Have a look at the
 manual section 4.2, Internal links. However, what you get out of the
 box is textual references to e.g. section headings, not page
 references. You can change that for each reference individually by
 right-clicking on them in LibreOffice. There should be a way to get
 page references by default, but off the cuff, I'm not sure how.

I am interested in rolling out support for xref by pagenumbers.  I would
like to know what the standard or recommended practice is like.

So, when one says I want pagenumbers for xref, what xref-es they have
in mind.  Do they mean ONE-or-SOME-or-ALL of a xref to outline headings,
figure, table, source listings, formula etc.

Personally I wouldn't recommend use of filters to end users.  Filters
are useful for programmers not for the layman.