[Orgmode] Usage of #+STYLE:

2009-01-31 Thread David St-Hilaire
Hello!

I tried to add the follwing line to one of my org file:

#+STYLE: link rel=stylesheet type=text/css href=style.css /

but, when I export it to html, there is no link .../ line in the
resulting html... Is there something that I am doing wrong?

Thank you!

David



signature.asc
Description: OpenPGP digital signature
___
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: POLL: the 40 variables project

2009-01-31 Thread Martin Stemplinger
Hallo Carsten Dominik,

am 29.01.2009 schriebst Du in gmane.emacs.orgmode:

 So here is my question to all of you.  Could you, in reply to this
 message, list all the Org-related variables that you have customized,
 along with the values you used?

In customize:
 '(org-agenda-files (quote (~/Org/GTDAssesment-Daheim.org ~/Org/gtd.org)))
 '(org-agenda-include-all-todo nil)
 '(org-agenda-include-diary t)
 '(org-export-author-info nil)
 '(org-export-html-style style type=\text/css\
  html {
font-family: Verdana, Times, serif;
font-size: 12pt;
  }
  .title { text-align: center; }
  .todo  { color: red; }
  .done { color: green; }
  .timestamp { color: grey }
  .timestamp-kwd { color: CadetBlue }
  .tag { display:none }
  .target { background-color: lavender; }
  pre {
border: 1pt solid #AEBDCC;
background-color: #F3F5F7;
padding: 5pt;
font-family: courier, monospace;
  }
  table { border-collapse: collapse; }
  td, th {
vertical-align: top;
!--border: 1pt solid #ADB9CC;--
  }
/style)
 '(org-export-html-with-timestamp t)
 '(org-export-latex-classes (quote ((article 
\\documentclass[12pt,a4paper]{article}
\\usepackage[latin1]{inputenc}
\\usepackage[T1]{fontenc}
\\usepackage{t1enc,hyperref} (\\section{%s} . \\section*{%s}) 
(\\subsection{%s} . \\subsection*{%s}) (\\subsubsection{%s} . 
\\subsubsection*{%s}) (\\paragraph{%s} . \\paragraph*{%s}) 
(\\subparagraph{%s} . \\subparagraph*{%s})) (report 
\\documentclass[12pt,a4paper]{report}
\\usepackage[latin1]{inputenc}
\\usepackage[T1]{fontenc}
\\usepackage{hyperref,t1enc} (\\part{%s} . \\part*{%s}) (\\chapter{%s} . 
\\chapter*{%s}) (\\section{%s} . \\section*{%s}) (\\subsection{%s} . 
\\subsection*{%s}) (\\subsubsection{%s} . \\subsubsection*{%s})) (book 
\\documentclass[11pt,a4paper]{book}
\\usepackage[utf8]{inputenc}
\\usepackage[T1]{fontenc}
\\usepackage{hyperref} (\\part{%s} . \\part*{%s}) (\\chapter{%s} . 
\\chapter*{%s}) (\\section{%s} . \\section*{%s}) (\\subsection{%s} . 
\\subsection*{%s}) (\\subsubsection{%s} . \\subsubsection*{%s})
 '(org-export-latex-date-format %d. %B %Y)
 '(org-export-latex-remove-from-headlines (quote (:todo nil :priority t :tags 
t)))
 '(org-fast-tag-selection-single-key t)
 '(org-hide-leading-stars t)
 '(org-modules (quote (org-bbdb org-info org-jsinfo)))
 '(org-odd-levels-only t)
 '(org-stuck-projects (quote (+PROJEKT (ANRUFE BESORGEN BÜRO COMPUTER 
DAHEIM LESEN MITNEHMEN WARTET) nil )))
(add-to-list 'auto-mode-alist '(\\.org$ . org-mode))
(define-key global-map \C-cl 'org-store-link)
(define-key global-map \C-ca 'org-agenda)
(setq org-log-done t
  org-agenda-start-on-weekday nil
  org-fast-todo-selection t
  org-remember-templates
  '((?j * %U %?\n\n  %i\n  %a ~/Org/JOURNAL.org)
(?i * %^{Title}\n  %i\n  %a ~/Org/gtd.org New Ideas))
  org-agenda-custom-commands
  '((h Agenda and tasks
 ((agenda)
  (todo ANRUFE)
  (todo BESORGEN)
  (todo BÜRO)
  (todo COMPUTER)
  (todo DAHEIM)
  (todo ILSE)
  (todo LESEN)
  (todo MITNEHMEN)
  (todo GTD)
(defun gtd ()
   (interactive)
   (find-file ~/Org/gtd.org))

 (defun org-my-archive-done-tasks ()
 (interactive)
 (save-excursion
 (goto-char (point-min))
 (while (re-search-forward
 (concat \\*  (regexp-opt org-done-keywords)  ) nil t)
 (goto-char (line-beginning-position))
 (org-archive-subtree
 If you want to do more, I'd also love to see comments on

 - why you set the variable like this
 - if you feel that the default value of that variable
   should be different
 - Any other comments you might what to give.

 Of course, if there is a volunteer who would like to organize
 this info into a Worg page, I would even be more happy ...

 Thanks!

 - Carsten


 ___
 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


-- 
Gruß
Martin


___
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


Re: [Orgmode] Agenda dispatcher changes files

2009-01-31 Thread Carsten Dominik

Hi Dan,

something like this can happen when text properties change in the file.
Many such cases are dealt with correctly, but apparently you have found
a case where this is not done correctly.

If you want to help, the way to do it is to construct a minimal
example, a testfile with minimal Org customization that can reliably
reproduce this problem.  I am sure  that I can then easily find the
bug and resolve it.

- Carsten

On Jan 31, 2009, at 2:11 PM, Dan Griswold wrote:


Hello all,

I don't know where to begin diagnosing this, so please forgive me for
not having more information.

As of 6.20c at least (perhaps further back), whenever I call up an
agenda (daily, global todo, and certain todo keyword searches), some
of the agenda files are marked as having been changed. They don't
appear _really_ to have been changed (according to diff), but the
double asterisks in the mode line show that Emacs believes the files
have changed.

This has been a little annoying when I wish to close Emacs. (I know, I
know: why would I ever want to close Emacs?!)

Some variable settings that may be relevant:

org-agenda-include-diary t
org-agenda-show-all-dates  nil
org-agenda-skip-scheduled-if-done t
org-agenda-start-on-weekday nil
org-agenda-todo-ignore-scheduled t
org-agenda-custom-commands
 '(
(c tags-todo +...@computer)
(f tags-todo +...@phone)
(o tags-todo +...@office)
(p todo PROJECT)
(j tags +Jana)
(t todo TODO)
(w todo WAITING))
org-agenda-sorting-strategy
   (quote
((agenda time-up tag-up priority-down)
 (todo category-keep priority-down)
 (tags category-keep priority-down)
 (search category-keep)))


So: A bug or a feature? Is there more information I can provide?

Thanks,

Dan

--
--
Dan Griswold
Rochester, NY
--



___
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




___
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


Re: [Orgmode] Usage of #+STYLE:

2009-01-31 Thread Carsten Dominik

When I do this, the line is included.

I need a minimal example to find out more.

- Carsten

On Jan 30, 2009, at 7:47 PM, David St-Hilaire wrote:


Hello!

I tried to add the follwing line to one of my org file:

#+STYLE: link rel=stylesheet type=text/css href=style.css /

but, when I export it to html, there is no link .../ line in the
resulting html... Is there something that I am doing wrong?

Thank you!

David

___
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




___
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


Re: [Orgmode] footnote questions

2009-01-31 Thread Carsten Dominik


On Jan 31, 2009, at 6:37 AM, Samuel Wales wrote:


Hi Carsten,

\\ would work OK for me, but perhaps there is a solution even without
it.  Useful because \\ does not fill correctly, in my filladapt setup,
at least.


Hi Samuel,

maybe you missed this in a different message:  The best is to
use \par, this will also work when filling puts it into the middle  
of a line.



I am likely to use footnotes in one of 2 ways: the document is the
body of a single entry, in which case I want footnotes at the end of
that, or the document is the whole org file.

I tried the former, and it of course does not insert Footnotes:.
However, if it did, perhaps it would be easier to code having more
than one paragraph.

This is, for me, not a big issue at all.  Just a suggestion that  
might work.


By the way, I found that sorting footnotes had the effect of not
sorting them fully (at least when there is one foothnote that was
deleted; have not narrowed down) and also moving footnotes in other
parts of the org file.  When I am using footnotes in one part of an
org file, I would want other parts not to be affected.

So perhaps a variable can control this behavior.  Perhaps by
unoverloading org-footnote-section?


Can you create an example to illustrate the problem?

- Carsten



___
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


Re: [Orgmode] icalendar importing

2009-01-31 Thread Carsten Dominik


On Jan 30, 2009, at 8:18 PM, Dale Smith wrote:


Howdy list,

My company recently moved to an exchange server (ugh!) and so now i've
been getting icalendar meeting requests.  I have
icalendar-import-buffer in my gnus-article-prepare-hook, and that
works well enough to add things to my diary.  Diary entries show up im
my appointemts, so that's good, but I'd like to add them to an org
file instead.  Is there anything similar to icalendar-import-buffer
but creates a task in org format insteat of diary format?




I believe there is icalendar to diary and back, this is part
of Emacs and documented in the Emacs manual, node Importing Diary

There is no direct import into Org-mode, but Org-mode
can include a diary file.

- Carsten


Thanks!
 -Dale
--
Dale P. Smith
da...@vxitech.com
216-447-4059 x2018
216-447-8951 FAX

(Company mandated disclaimer follows...)

This email is covered by the Electronic Communications Privacy Act, 18
U.S.C. 2510-2521.

This information is confidential and is intended only for the use of
the individual or entity named above. If the reader of this message is
not the intended recipient, you are hereby notified that any
dissemination, distribution, or copying of this communication is
strictly prohibited.

If you have received this communication in error, please notify the
sender by reply transmission and delete the message without copying or
disclosing it.

Thank you.



___
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




___
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


Re: [Orgmode] Wishlist: drop a4paper option from the default LaTeX class

2009-01-31 Thread Carsten Dominik

Are there other opinons on this request?

- Carsten

On Jan 29, 2009, at 8:53 PM, Hsiu-Khuern Tang wrote:

The default class article in the variable org-export-latex-classes  
(which

Emacs can't find anymore -- I have just filed a report) is

   \documentclass[11pt,a4paper]{article}

I suggest dropping the a4paper option and letting the local TeX  
customization

determine the default papersize.

--
Best,
Hsiu-Khuern.


___
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




___
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


Re: [Orgmode] Wishlist: drop a4paper option from the default LaTeX class

2009-01-31 Thread William Henney
On Sat, Jan 31, 2009 at 10:42 AM, Carsten Dominik
domi...@science.uva.nl wrote:
 Are there other opinons on this request?


+1

This is a localization, and as such should not be hard-wired

Will



-- 

  Dr William Henney, Centro de Radioastronomía y Astrofísica,
  Universidad Nacional Autónoma de México, Campus Morelia


___
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


Re: [Orgmode] org-agenda-to-appt adds DONE tasks

2009-01-31 Thread Daniel Clemente
Carsten Dominik domi...@science.uva.nl writes:

 (defun my-org-appts ()
(let ((org-agenda-skip-deadline-if-done t)
  (org-agenda-skip-scheduled-if-done t))
   (org-agenda-to-appt)))


  Of course; thanks.



___
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


Re: [Orgmode] Wishlist: drop a4paper option from the default LaTeX class

2009-01-31 Thread Matthew Lundin

William Henney when...@gmail.com writes:

 On Sat, Jan 31, 2009 at 10:42 AM, Carsten Dominik
 domi...@science.uva.nl wrote:
 Are there other opinons on this request?


 +1

 This is a localization, and as such should not be hard-wired

I would agree that this should not be hard-wired. I have to manually
remove a4paper to work with American printers.

Best,
Matt


___
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: Advice sought on managing decision alternatives.

2009-01-31 Thread Tom Breton (Tehom)
 Hi Tom,

 this looks awesome.

 Right now I am stabilizing everything to make my final release
 for Emacs 23.1, so it may be a week or two before I get to
 integrate this.

Understood.

 Also, I am interested in the testing environment, and what
 you made here may end up to be enough to establish a testing
 framework for Org-mode.

 If it turns out to be like this, maybe you can make a tutorial
 on test creation and put that up on Worg?  I would be willing
 to put the code needed for the testing environment into the
 contrib directory.

Certainly.  One thing, once my testing package rtest is in a stable state,
I plan to release it on its own, possibly as a sourceforge project.  But I
have no objection to you also putting in the org contrib directory.

Tom Breton (Tehom)




___
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


Re: [Orgmode] Wishlist: drop a4paper option from the default LaTeX class

2009-01-31 Thread Russell Adams
That default just requires some customization. I already use my own
header/footer code, so I've nixed it.

It would make better sense to let the export header specify the
papersize though with the default header / footer.

Thanks.

On Sat, Jan 31, 2009 at 12:28:42PM -0600, Matthew Lundin wrote:
 
 William Henney when...@gmail.com writes:
 
  On Sat, Jan 31, 2009 at 10:42 AM, Carsten Dominik
  domi...@science.uva.nl wrote:
  Are there other opinons on this request?
 
 
  +1
 
  This is a localization, and as such should not be hard-wired
 
 I would agree that this should not be hard-wired. I have to manually
 remove a4paper to work with American printers.
 
 Best,
 Matt
 
 
 ___
 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
 


--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


___
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


Re: [Orgmode] Wishlist: drop a4paper option from the default LaTeX class

2009-01-31 Thread Alan E. Davis
I also have to manually remove the a4 option.  It's not hard to do, but I
cannot directly export to pdf because of this.

On Sun, Feb 1, 2009 at 5:18 AM, Russell Adams rlad...@adamsinfoserv.comwrote:

 That default just requires some customization. I already use my own
 header/footer code, so I've nixed it.


I would surely like to see how you've done this.  Speculating, perhaps I
could go through the latex export code and find out.  It might be
interesting to have two or more kinds of header.  I've worked out a cheesy
memo export using remember templates.

As an alternative, it would be interesting to drop into a buffer in (auctex)
LaTeX mode with the content, as the current alternatives leave some further
work to do.

Alan


-- 
Alan

A man's reach should exceed his grasp.
  -- Robert Browning
___
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


Re: [Orgmode] Agenda dispatcher changes files

2009-01-31 Thread Carsten Dominik

Hi Dan,

I can not yet reproduce this, so I need your full customization - or
even better a minimal customization, where you have started Emacs with

emacs -q -l minimal.emacs

Thanks for your help!

- Carsten

On Jan 31, 2009, at 7:09 PM, Dan Griswold wrote:


Carsten Dominik domi...@science.uva.nl writes:


Hi Dan,

If you want to help, the way to do it is to construct a minimal
example, a testfile with minimal Org customization that can reliably
reproduce this problem.  I am sure  that I can then easily find the
bug and resolve it.

- Carsten


Thank you, Carsten. Taking your suggestion, I may have narrowed down
the problem.

I started out using a minimal org file with these contents:

* Big item
** MAYBE Subitem
** TODO Another subitem
* Another one
** INPROCESS do something
  SCHEDULED: 2008-01-30 Wed +1w
** TODO do something else
  SCHEDULED: 2009-01-31 Sat

Executing C-c a a would NOT mark the file as changed.

However, once I added this:

#+TAGS: @COMPUTER(c) @PHONE(f)

and gave the tag @COMPUTER: to the do something line, then C-c a a
would mark the file as changed.

Please let me know if you need more testing, or values for other
variables.

Cheers,

Dan




___
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


Re: [Orgmode] Wishlist: drop a4paper option from the default LaTeX class

2009-01-31 Thread Carsten Dominik

I have removed the a4paper from the default classes.

Thanks.

- Carsten

On Jan 29, 2009, at 8:53 PM, Hsiu-Khuern Tang wrote:

The default class article in the variable org-export-latex-classes  
(which

Emacs can't find anymore -- I have just filed a report) is

   \documentclass[11pt,a4paper]{article}

I suggest dropping the a4paper option and letting the local TeX  
customization

determine the default papersize.

--
Best,
Hsiu-Khuern.


___
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




___
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


Re: [Orgmode] POLL: the 40 variables project

2009-01-31 Thread Samuel Wales
That toggling of category in agenda is very nice.


___
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


Re: [Orgmode] footnote questions

2009-01-31 Thread Samuel Wales
On Sat, Jan 31, 2009 at 09:38, Carsten Dominik domi...@science.uva.nl wrote:
 Can you create an example to illustrate the problem?

This test case illustrates some issues with footnotes (apparent bugs,
things to watch out for when making future changes, and desirable
features that Carsten might or might not want to implement).  To test,
place on hmm and c-u c-c c-c s.

  1) loses text, deleting it altogether (document 2).
  2) tiny inconsistency: when org-return-follows-link is
 true, RET on definition takes you to ref, but places
 point so that RET again does not get you back.
 (possibly intended behavior.)
  3) does not ignore comments when linting (org inserts
 error).
  4) sort order is wrong if you do take comments into
 account.
  5) moves comments (document 2)
  6) does not keep separate documents separate
 (org-footnote-section is nil because we want them
 separate)
 - moves definitions from one part of outline tree to
   another (note move from document 3).  this is the most
   disconcerting, and feels to me like a bug.  perhaps
   the intent was for all org files to be considered to
   be documents.
 - this variable should perhaps be un-overloaded to allow
   a footnotes section per node.
 - perhaps then the paragraph problem can be easily
   solved as a side-effect
  7) does not renumber numbered references for the author's
 sake (fn:6 before fn:3 in source)
  8) does not renumber for ascii output (fn:1 was deleted but
 is not replaced in ascii output)
  9) does not replace \par with a blank line in ascii output
  10) does not let the author separate paragraphs in defs and
  refill without the paragraphs being merged for the
  author (i.e. blank lines would be nice)
  11) requires attachment to word to avoid refilling causing
  it to seem like a definition (fn:5) -- this one is
  possibly fixed!  Mentioning just in case it is not.

Hope I didn't introduce any rtfm bugs here.  Also hope gmail didn't
introduce transport bugs.  These are not major issues for me
personally.

Hope it helps.

Thanks.


* top
*** another completely separate document -- 3
[1] hi, i am in document 3
\par
this is another paragraph, but you can't
refill it because the author will see it merged.  i'm told
the exported text will be ok.  but it is not.
\\
another way suggested earlier, same result.  exported text
is ok.

dear mr. brown:

oh, here's a footnote def without a ref that i wanted to
keep around:
*** a document -- 1
dear mr. smith:

fn:1 has been deleted

#[fn:2]this is a comment of a previous footnote definition.
#(author deleted ref)

sadfkjn k jthis n klsjan skdljfn akljsdn fklajnsdfklajns
[fn:5]

this[fn:6] is a test[fn:3] of footnote sorting.  recursive
definitions seem to work, so not testing them here.


[fn:3] hmm

[fn:6] after a bunch of deletions, i got here

[fn:5] is something that might be filled to be on the first
column if not attached to a word
*** a completely separate document -- 2
dear mr. jones:

#[3] text.

with manual footnotes[1].

this does, sometimes, happen[2]

[1] not out of order
\par
#[1] text.  here is a comment on this
#footnote.  this gets deleted when sorting.  that feels like
#a bug, even if it isn't.

#here is a comment, placed by an unsuspecting user who
#doesn't know the rules[5].  it gets moved upon sorting.
#arguably, the user should be more careful.  (though
#blank-separated paragraphs would be better if possible.)

#and an even more intransigent user[6].  it gets moved also.
[2] more

-- 
For personal and corporate gain, myalgic encephalomyelitis denialists
are knowingly causing massive suffering and 25-years-early death by
grossly corrupting science.
http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


___
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