Re: [O] html export using html5 elements and bootstrap framework

2015-01-03 Thread RC
Rasmus  gmx.us> writes:

> 
> Hi,
> At the moment you can't add extra classes to lists (patch welcomed).
> However, you can add CUSTOM_HEADERs to your sections and do stuff like
> this:
> 
>#text-my-sec li {display: inline;}
>#text-my-sec li:after {content: ", ";}
>#text-my-sec li:last-child:after {content: "";}

I use a custom css file for specific styling of elements.

> 
> I don't know what bootstrap is though, so I don't know if it helps.
> 
> —Rasmus
> 
(twitter-)Bootstrap provides a nice set of classes for navigation (TOC) 
bars, and control over layout, e.g side-by-side locks figures, etc using a 
grid-based framework. If the default heading and content classes used by 
ox-html could be changed or aliased it should work well with org-mode html 
export.

RC






Re: [O] html export using html5 elements and bootstrap framework

2015-01-03 Thread RC
Rick Frankel  rickster.com> writes:
> On Fri, Jan 02, 2015 at 03:47:36PM +, R C wrote:
> > with lines of the form:
> > #+STYLE:
media="screen"> 
> I don't believe `STYLE' is used by the HTML exporter. See: `HTML_HEAD'
> (`org-html-head') and `HTML_HEAD_EXTRA' (`org-html-head-extra'.)

I did change this based on the v 8 documentation and that fixed many of 
the issues I was having.

> Regardless, I don't think bootstrap will work very well. Doesn't it 
require
> specific classes on the markup? To make it work you will probably need 
to add
> additonal classes to every heading, etc.
> 
> rick
> 
I can use #+ATTR_HTML to include bootstrap specific classes for tables, 
etc but I have been unable to find a way to add a desired class to the 
 for the TOC, or change the default outline-N and outline-text-N 
classes for headings and contents, respectively. It may be possible to 
alias bootstrap classes using a CSS preprocessor. 

RC





Re: [O] mail integration, advice?

2012-04-28 Thread RC
Eric Fraga  ucl.ac.uk> writes:
> 
> I used to use offline-imap + dovecot when I used wl and things worked
> very well indeed.  When I moved to gnus, I used the gnus agent which
> also now works very well (there was a period of instability a year or
> two ago).  The gnus agent fully supports offline use (gnus-unplugged).
> 


Hi,
 Would you mind sharing how you have the new version of gnus set up for email
and integration with org. Most of what I could find online seems to be based on
earlier versions of gnus, and I found it difficult to extract the information I
needed from the comprehensive gnus manual.
Thanks,
RC




[Orgmode] Re: [Babel] Output of multiple variables from octave source

2010-12-30 Thread RC
Hi,
 I found the following workaround for what I was trying to do:

 #+srcname: test.m
 #+begin_src octave
 clear variables
 x=5.2;
 y=3*x;
 [sprintf('x=%.1f\n',x),...
 sprintf('y=%.1f',y)]
 #+end_src
  
 #+results: test.m
 | x=5.2  |
 | y=15.6 |

RC




___
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] Re: Question on spreadsheet formula

2009-09-27 Thread RC
Thank you benny and Andreas for your solutions to my question.

I did notice a couple of things I did not expect and would appreciate if someone
could tell me what I am missing.

In the following table, if I change the value in @2$4, I have to run C-c C-c
twice for the change to be propagated. Turning on formula debugging, the first
time the first formula gets executed starting only from @3$4 until the end of
the table, then the second substitution formula is executed for cell @2#4.  This
happens even if cells @2$2 and @2$3 have values in them. Does the presence of
the substitution formula later in the #+TBLFM line, cause execution of the first
formula to start only from the succeeding row?
|-+--+--+---|
| No. |P |E | B |
|-+--+--+---|
| |  |  |   300 |
|   1 | 5000 | 2000 |  3200 |
|   2 | 7000 | 1000 |  9200 |
|   3 | 5000 | 1000 | 13200 |
#+TBLFM: $...@-1$4+$2-$3::@2$4=300


For the table above, or the following, having a ! in the first column of the
first row (which I thought was a way to label columns) causes the calculation
formulas not to be executed.
|---+-+--+--+---|
| ! | No. |P |E | B |
|---+-+--+--+---|
|   |   1 | 5000 | 2000 |  3000 |
|   |   2 | 7000 | 1000 |  9000 |
|   |   3 | 5000 | 1000 | 13000 |
|   |   4 | 5000 | 2000 | 16000 |
#+TBLFM: $5=vsum(@-i$...@0$3)-vsum(@-i$...@0$4)

Thanks,
RC



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


[Orgmode] Question on spreadsheet formula

2009-09-25 Thread RC
Hi,
On applying the column formula on the table shown below:
  |-+--+--+--|
  | No. |P |E | B|
  |-+--+--+--|
  | |  |  | 0|
  |   1 | 5000 | 2000 |  |
  |   2 | 7000 | 1000 |  |
  |   3 | 5000 | 1000 |  |
#+TBLFM: $...@-1$4+$2-$3

I get:
  |-+--+--+---|
  | No. |P |E | B |
  |-+--+--+---|
  | |  |  | B |
  |   1 | 5000 | 2000 | B + 3000  |
  |   2 | 7000 | 1000 | B + 9000  |
  |   3 | 5000 | 1000 | B + 13000 |
#+TBLFM: $...@-1$4+$2-$3

When what I would like is:
  |-+--+--+---|
  | No. |P |E | B |
  |-+--+--+---|
  | |  |  | 0 |
  |   1 | 5000 | 1000 | 3000  |
  |   2 | 5000 | 1000 | 9000  |
  |   3 | 5000 | 1000 | 13000 |
#+TBLFM: $...@-1$4+$2-$3

Is there a way I can restrict application of the column formula to below the
horizontal line.
Thanks,
RC




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


[Orgmode] Re: Please test org-indent-mode

2009-08-22 Thread RC
Carsten Dominik  gmail.com> writes:

> And I *loved* it, so I would like to have it tested more and then
> advertise it more.
> 
> Thanks
> 
> - Carsten
> 

I tried this on Emacs 23.1. org-mode 6.29trans under Windows Vista and it works
very well for me with automatic re-indentation on changing header levels with no
noticeable lag. Very convenient!
RC





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


[Orgmode] Re: Latex export to documentclass beamer

2009-08-09 Thread RC
Carsten Dominik  gmail.com> writes:

> 
> 
> On Aug 9, 2009, at 3:05 PM, RC wrote:
> 
> > Hi,
> > Following an earlier suggestion on the list:
> > http://thread.gmane.org/gmane.emacs.orgmode/15010/focus=15077
> >
> > I added the following to my .emacs file:
> >
> > (add-to-list 'org-export-latex-classes
> >...

> For this line to be working, the variable must have been defined.
> Either precede the code with
>   (require 'org-latex)
> or wrap it into
> (eval-after-load "org-latex" '(add-to-list))
> - Carsten

Thanks! That worked.

I had a a couple more questions about using latex-export.

1. 
* Slide 5
\uncover<2->
{appear from slide 2 on\\ }
\uncover<3-4>
{appears from 3 to slide 4\\ }
\uncover<4>{appears on slide 4\\ }
\uncover<3->{appears from slide 3 on\\ }

gets output as:

\begin{frame}\frametitle{Slide 5}
\label{sec-5}
\uncover<2->
\{appear from slide 2 on\\ \}
\uncover<3-4>
\{appears from 3 to slide 4\\ \}
\uncover<4>\{appears on slide 4\\ \}
\uncover<3->\{appears from slide 3 on\\ \}
\end{frame}

Is there a way to avoid { and } being output as \{ and \} , respectively.

2. Is there a way to add an attribute to latex lists (itemize, enumerate,
description} so that:

* Slide 1
 - x
 - y
 - z

gets output as:
\begin{itemize}[<+->]
\item x
\item y
\item z
\end{itemize}

Thanks again for the help, and the invaluable org-mode.

RC



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


[Orgmode] Latex export to documentclass beamer

2009-08-09 Thread RC
Hi,
 Following an earlier suggestion on the list:
http://thread.gmane.org/gmane.emacs.orgmode/15010/focus=15077

I added the following to my .emacs file:

(add-to-list 'org-export-latex-classes
 '("beamer"
   "\\documentclass[11pt]{beamer}
\\usepackage[utf8]{inputenc}
\\usepackage[T1]{fontenc}

\\usepackage{amsmath,amssymb,graphicx,bm,multirow,colortbl,vector}
\\usepackage{hyperref}
\\usepackage{verbatim}
\\setbeameroption{show notes}
\\usetheme{Goettingen}
\\useoutertheme{infolines}"
   ("\\begin{frame}\\frametitle{%s}\\begin{itemize}"
"\\end{itemize}\\end{frame}"
"\\begin{frame}\\frametitle{%s}\\begin{itemize}" 
"\\end{itemize}\\end{frame}")
   ("\\item{%s}" . "\\item*{%s}")))

However, this gives me the error:
Debugger entered--Lisp error: (void-variable org-export-latex-classes)

I am using Emacs 23.1 and org-mode 6.29trans in Windows Vista.

Any suggestions to fix the error are appreciated.
RC



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


[Orgmode] Re: Questions about lists and export to latex

2009-08-05 Thread RC
Bernt Hansen  norang.ca> writes:

> > 1) When I hit tab on the last item in a list, everything until the
> >next heading is folded under that item. Is this expected behavior,
> >and is there a way to turn it off?
> 
> (setq org-cycle-include-plain-lists nil) maybe?
Thanks. That works.

>
> Lists are defined by their indentation.  There is no way to mark the end
> of a list explicitly as far as I know.  Just don't indent the content so
> that it is part of the list anymore.

I will make sure to indent appropriately. It is just that I am importing some
files into org-mode and was trying to use the indent-region command.
Thanks again.
RC
 




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


[Orgmode] Questions about lists and export to latex

2009-08-05 Thread RC
Hi,
 I have a couple of questions about lists in org-mode and exporting to latex.
I have attached a example file that illustrates this behavior.
1) When I hit tab on the last item in a list, everything until the next heading
is folded under that item. Is this expected behavior, and is there a way to turn
it off?
2) If I hit TAB after a blank line following a list, the indentation is such
that the new list (List 3 in the file below) exports as a sublist of the
preceding list. Is there a simple way to mark the end of the list?
Thanks for your help in answering thes questions.

RC 

* Heading 1
  List 1
  - Item 1
  - Item 2
  - Item 3

  List 2
  - Item 1
  - Item 2

List 3
- Item 1
- Item 2

* Heading 2
  List 1
  - Item 1
  - Item 2




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


[Orgmode] Error on opening org file

2009-08-01 Thread RC
Hi,
 I am running Emacs 23.1 in Windows Vista. I did a git upgrade on org-mode today
and when I open a org file I get the error shown below and it defaults to
fundamental mode. I had the same problem with Emacs 23.0.92, which was working
fine with org-mode until I did the git update. I would appreciate any
suggestions to fix the problem.
RC
Debugger entered--Lisp error: (setting-constant nil)
  set(nil (keymap "Sun/Moon" (Lunar\ Phases menu-item "Lunar Phases"
calendar-lunar-phases) (Sunrise/sunset\ for\ cursor\ date menu-item
"Sunrise/sunset for cursor date" calendar-sunrise-sunset) (Sunrise/sunset\ for\
cursor\ month menu-item "Sunrise/sunset for cursor month"
calendar-sunrise-sunset-month)))
  (let ((keymap ...)) (set symbol keymap) (fset symbol (\` ...)) (mapcar (lambda
... ...) (if ... ... maps)))
  easy-menu-do-define(nil (keymap #^[nil nil keymap 
#^^[3 0 calendar-set-mark calendar-beginning-of-week calendar-backward-day ...
nil calendar-end-of-week calendar-forward-day nil nil nil nil nil nil nil
calendar-forward-week nil calendar-backward-week nil nil nil nil nil
calendar-scroll-left-three-months nil ... nil nil ... nil nil nil nil
scroll-other-window nil nil nil nil nil nil nil nil nil nil nil nil
negative-argument calendar-goto-today nil ...] #^^[1 0 #^^[2 0 
#^^[3 0 calendar-set-mark calendar-beginning-of-week calendar-backward-day ...
nil calendar-end-of-week calendar-forward-day nil nil nil nil nil nil nil
calendar-forward-week nil calendar-backward-week nil nil nil nil nil
calendar-scroll-left-three-months nil ... nil nil ... nil nil nil nil
scroll-other-window nil nil nil nil nil nil nil nil nil nil nil nil
negative-argument calendar-goto-today nil ...] nil nil nil nil nil nil nil nil
nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil
nil nil nil] nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil] nil
nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil
nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil
nil nil nil nil ...] (menu-bar keymap (search . undefined) (edit . undefined))
(67108896 . calendar-set-mark) (down . calendar-forward-week) (right .
calendar-forward-day) (up . calendar-backward-week) (left .
calendar-backward-day) (next . calendar-scroll-left-three-months) (prior .
calendar-scroll-right-three-months) (remap keymap (write-region .
calendar-not-implemented) (capitalize-region . calendar-not-implemented)
(copy-region-as-kill . calendar-not-implemented) (kill-region .
calendar-not-implemented) (upcase-region . calendar-not-implemented)
(downcase-region . calendar-not-implemented) (mark-page .
calendar-not-implemented) (mark-whole-buffer . calendar-not-implemented)
(mark-defun . calendar-not-implemented) (mark-paragraph .
calendar-not-implemented) (mark-sexp . calendar-not-implemented) (mark-word .
calendar-not-implemented) (narrow-to-region . calendar-not-implemented)
(self-insert-command . undefined))) nil ("Sun/Moon" ["Lunar Phases"
calendar-lunar-phases] ["Sunrise/sunset for cursor date"
calendar-sunrise-sunset] ["Sunrise/sunset for cursor month"
calendar-sunrise-sunset-month]))




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


[Orgmode] Re: Weekly Repeat Appointment scheduling for fixed date range

2008-07-31 Thread RC
RC  yahoo.com> writes:

> 
> Hi,
>  I would like to schedule an appointment that repeats weekly (actually to 
> repeat Tuesday, Thursday, or Monday, Wednesday, Friday) with a fixed ending 
> time and over a fixed range of dates. The following just repeated the 
> appointment for every day in the date interval:
> <2008-08-26 Tue 10:00-11:00 +1w>-<2008-12-09 Tue 10:00-11:00 +1w>
> 
> I wanted to check if one of you had a solution, before I tried writing 
> an emacs diary sexp function.
> 
> Thanks.
> Recif
> 
> ___
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode  gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> 
> 

Hi,
 To follow up on my earlier post. I modified the diary-schedule function at
http://www.emacswiki.org/cgi-bin/wiki/DiaryMode to select more than one 
dayname (e.g. Tuesday and Thursday) and a time-period, over a block of dates. 
I am trying to figure out how to include this function in an org file, similar
to what can be done with built-in diary functions, 
e.g <%%(diary-block 8 25 2008 12 12 2008)>. 
I would welcome any suggestions on how to do this.
Recif





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


[Orgmode] Weekly Repeat Appointment scheduling for fixed date range

2008-07-30 Thread RC
Hi,
 I would like to schedule an appointment that repeats weekly (actually to repeat
Tuesday, Thursday, or Monday, Wednesday, Friday) with a fixed ending time and
over a fixed range of dates. The following just repeated the appointment for
every day in the date interval:
<2008-08-26 Tue 10:00-11:00 +1w>-<2008-12-09 Tue 10:00-11:00 +1w>

I wanted to check if one of you had a solution, before I tried writing an emacs
diary sexp function.

Thanks.
Recif




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


[Orgmode] Problems using longlines-mode with tables in org-mode

2008-07-20 Thread RC
Hi,
 I tried using long-lines mode in org-mode 6.06pre01 in Enacs 22 and 23
(emacs-snapshot) on Ubuntu 8.04 (64 bit), by adding to my .emacs file:
(add-hook 'org-mode-hook 'longlines-mode)

However, I am unable to edit tables in org-mode. Hitting TAB causes multiple
rows to collapse into in a single line...

I don't have fill-mode activated in org-mode as I would like to set soft
line-wrapping that adjusts to window size by:
;(add-hook 'org-mode-hook (lambda ()
 (setq longlines-wrap-follows-window-size t)))

Is it possible to use longlines-mode with tables in org-mode?
Thanks for your assistance.
Recif




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