Re: [Orgmode] LaTeX export - ignoring "universal" markup for *bold*, /italic/, etc.

2008-09-24 Thread Carsten Dominik

Hi,

I cannot reproduce this problems.

- Carsten

On Sep 23, 2008, at 5:02 PM, Sullivan, Gregory (US SSA) wrote:

I’ve updated to the latest git, from a much earlier org mode  
version, and it seems that the “generic” markup, such as *bold* and / 
italic/ is ignored when exporting to LaTeX.

Is this intended?
Also, the “#+BEGIN_EXAMPLE” and “#+END_EXAMPLE” lines are emitted as  
is, which messes up LaTeX.  They should either be omitted or the  
“#”s should be replaced by LaTeX’s comment character, “%”.


Thanks.
--Greg
--
Gregory T. Sullivan, Ph.D.
BAE Systems Advanced Information Technologies
6 New England Executive Park, Burlington, MA 01803
781-262-4553 (office),  978-430-3461 (cell)
[EMAIL PROTECTED]

___
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


[Orgmode] Overview of agenda files

2008-09-24 Thread Vladi Solutka
Hi!

First: Thanks for orgmode! Didn't know that it would be possible to
love my emacs even more :-))

After I'd watched Dominiks Google Talk about org-mode (thanks for
that, very interesting), I started to organize my stuff in a more
"information centric" way. It looks like this is a very good approach
especially when handling small, but long running projects.

All I currently miss is the possibility to have a top overview of my
projects, listing the count of the different keywords (since each
project has its own file, this would be in fact an overview of my
agenda files). This would give me a quick overview of the status of
each project and would be a perfect starting point when
checking/digging into my projects, especially if the counts and
filenames would be links ...

Example:

|---+--+--+---|
| File  | TODO | WAIT | LATER |
|---+--+--+---|
| File1 |5 |2 |10 |
| File2 |2 |2 |   |
| File3 |   12 |0 | 0 |
|---+--+--+---|


Did anyone something like that before? Or is this maybe already
possible with orgmode?

Thanks!
--- \\/ladi



___
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] Make install-info not really installing into info

2008-09-24 Thread Peter Kjær Monsson
Hi all,

First off, thanks for an awesome emacs mode. I've had the mode which
standard Emacs 22 provided, but I was looking for some improved date
handling (which 6.07b has, woohoo!) so I downloaded and installed it. The
installation seems to work great except that install-info doesn't really
inject the info file into the dir file of my non-standard directory of
infofiles[1]. 

Now this is not a patch since I'd have to sign a lot of papers - which would
take ages - so the following lines are something I've seen other emacs modes
have makefiles that included a lines similar to this which solved the
problem. Maybe you could do something similar for an other release. All
names are pure coincidence.

# Name of the program to install info files
INSTALL_INFO=install-info

install-info: # ... lot's of other stuff here ...
$(INSTALL_INFO) --info-file=$(INFOFILES) --info-dir=$(infodir)

Best Regards
Peter Kjær Monsson

[1] I use a nonstandard directory for info files in order to create a
portable, version controlled .emacs.d fork that can be dropped in anywhere
and doesn't give me permission problems.



___
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] Make install-info not really installing into info

2008-09-24 Thread Carsten Dominik

Thanks Peter,

I am accepting your non-patch.  The change is already in GIT.

- Carsten

On Sep 23, 2008, at 8:18 PM, Peter Kjær Monsson wrote:


Hi all,

First off, thanks for an awesome emacs mode. I've had the mode which
standard Emacs 22 provided, but I was looking for some improved date
handling (which 6.07b has, woohoo!) so I downloaded and installed  
it. The
installation seems to work great except that install-info doesn't  
really

inject the info file into the dir file of my non-standard directory of
infofiles[1].

Now this is not a patch since I'd have to sign a lot of papers -  
which would
take ages - so the following lines are something I've seen other  
emacs modes

have makefiles that included a lines similar to this which solved the
problem. Maybe you could do something similar for an other release.  
All

names are pure coincidence.

# Name of the program to install info files
INSTALL_INFO=install-info

install-info: # ... lot's of other stuff here ...
$(INSTALL_INFO) --info-file=$(INFOFILES) --info-dir=$(infodir)

Best Regards
Peter Kjær Monsson

[1] I use a nonstandard directory for info files in order to create a
portable, version controlled .emacs.d fork that can be dropped in  
anywhere

and doesn't give me permission problems.



___
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


[Orgmode] decimal fractions when summing up large numbers

2008-09-24 Thread Rainer Thiel
I have a problem I am confident there is a solution to.  I even
suspect it may be explained in the manual, but can't for the life of
me find it:

Summing up small numbers in tables isn't a problem even when they have
digits after the decimal point.  For example, org-table-sum applied on
the table

| 1.7 |
| 1.5 |
| 1.3 |

correctly gives 30001.5.  On the other hand, applied on the table

| 10.7 |
| 10.5 |
| 10.3 |

org-table-sum gives 32, the correctly rounded value of 31.5,
which would be the exact value.

How can I make org-table-sum deliver the exact value?

If this is explained in the manual, please point me to the relevant section.

Many thanks in advance

Rainer
-- 
Prof. Dr. Rainer Thiel
Institut für Altertumswissenschaften
07737 Jena, Germany (EU)
[EMAIL PROTECTED]


___
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] decimal fractions when summing up large numbers

2008-09-24 Thread Carsten Dominik

Hi Rainer,

turns out, org-table-sum is an old function I have not looked at for a  
long time.  It used (format "%g" res) to format the final result for  
display - bad idea indeed, because that causes the unwanted rounding.


I have removed this, the change has just been pushed to the git repo.

Thanks for the report.

- Carsten

On Sep 24, 2008, at 5:15 PM, Rainer Thiel wrote:


I have a problem I am confident there is a solution to.  I even
suspect it may be explained in the manual, but can't for the life of
me find it:

Summing up small numbers in tables isn't a problem even when they have
digits after the decimal point.  For example, org-table-sum applied on
the table

| 1.7 |
| 1.5 |
| 1.3 |

correctly gives 30001.5.  On the other hand, applied on the table

| 10.7 |
| 10.5 |
| 10.3 |

org-table-sum gives 32, the correctly rounded value of 31.5,
which would be the exact value.

How can I make org-table-sum deliver the exact value?

If this is explained in the manual, please point me to the relevant  
section.


Many thanks in advance

Rainer
--
Prof. Dr. Rainer Thiel
Institut für Altertumswissenschaften
07737 Jena, Germany (EU)
[EMAIL PROTECTED]


___
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


[Orgmode] Re: decimal fractions when summing up large numbers

2008-09-24 Thread Bernt Hansen
Carsten Dominik <[EMAIL PROTECTED]> writes:

> turns out, org-table-sum is an old function I have not looked at for a
> long time.  It used (format "%g" res) to format the final result for
> display - bad idea indeed, because that causes the unwanted rounding.
>
> I have removed this, the change has just been pushed to the git repo.
>

:)

Carsten is too fast.  I was going to ship a patch that just changed %g
to %s in the format call (since that seemed to work for me) but when I
pulled the new code from git master it was already fixed.

Great job Carsten!

Rainer: Oh and thanks for bringing this up - I didn't know about C-c +
in tables until a few minutes ago. :)

-Bernt


___
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: how to change the set of agenda org files between custom agenda commands

2008-09-24 Thread Rainer Stengele

Dan Griswold wrote:

Rainer Stengele <[EMAIL PROTECTED]> writes:


I am struggling to switch the set of used agenda org files between
different custom agenda commands.

I tried something like

(setq org-agenda-custom-commands
  '(
("k" . "Kundenbezogene / Ketegoriebezogene TODOs ...")
("ka" tags-todo "CATEGORY=\"ADMIN\"")
("kP" tags-todo "CATEGORY=\"PRIVAT\""
 ((org-agenda-files (quote ("~/org/PRIVAT/PRIVAT.org")


Playing with customize I came up with this possibility:

(setq org-agenda-custom-commands
  '(
("k" . "Kundenbezogene / Ketegoriebezogene TODOs ...")
("ka" tags-todo "CATEGORY=\"ADMIN\"")
("kP" tags-todo "CATEGORY=\"PRIVAT\""
 ((org-agenda-files
   '("~/org/PRIVAT/PRIVAT.org"))

Will that do it?

Dan



Dan, thank you. I somehow does and doesn't.
After using the command I get the "private" entries.
After using another command analogous to this it seems I cannot reset 
the org-agenda-files variable. Looks like it only adds files to it?

I played around a lot but could not get it to function as wanted.

Anyway, the syntax is quite complex.
I wonder if some more examples for changing agenda files when executing 
custom commands would be helpful.
Anyone else who wants to see Agenden at home from different sets of 
agenda files?


Rainer


___
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] Help with agenda-custom commands

2008-09-24 Thread Paul Holcomb

 I'm pretty new to elisp and I'm having difficulty figuring out how
 to implement two things in org-agenda-custom-commands:

 *) Is there a simple way to construct an agenda view that:
  -shows all past scheduled events for one TODO keyword only
  -skips for all others

 The only way I could figure out it could work is to write a large
 org-agenda-skip function that explicitly looks at subtrees and
 duplicates the org-scheduled-past-days check code.

 Unless I'm mistaken a block view won't work because the value of
 org-scheduled-past-days is local to the agenda command and not each
 block inside of it.


 *) Using a defconst symbol or function that evaluates to a stringp
 in place of an actual string in for the match field.  

 ex: 
  ("A" ""  tags-todo 'org-pah-todo-exclude nil nil)


   (type-of org-pah-todo-exclude)  
==> stringp

  I also tried using concat and format for that argument.  The error
  is always: 

  Debugger entered--Lisp error: (wrong-type-argument stringp (quote 
org-pah-todo-exclude))
string-match("/+" (quote org-pah-todo-exclude))
org-make-tags-matcher((quote org-pah-todo-exclude))
org-tags-view((4) (quote org-pah-todo-exclude))

  It seems like the evaluation order is at fault, but I couldn't get further.

 Any suggestions?
 
 Thanks,

-- 
Paul Holcomb   *pholcomb\@  cpoint  net*
GPG key fingerprint  2B62 05AE EE74 845A 705F  D716 28C4 FE1C 088F CFAC


___
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] OSD alerts for appointment reminders (+ erc hook to use OSD)

2008-09-24 Thread Richard Riley

I thought some of you linux users might like this - use gnome-osd-client
to put an on screen reminder of your looming appointments. I include a
screenshot link below. I'm sure the code can be improved as I'm not much
of an elisp programmer. I have also included an erc hook to use OSD to
display messages in your subscribed irc channels directed at you. Hope
you like it. I dont know if the gnome-osd stuff will work on kde, but
try it and see.

http://www.imagebucket.in/images/layopataa1r203lmuwp3.png


org stuff:

,
| ; Update appt each time agenda opened.
| (add-hook 'org-finalize-agenda-hook 'org-agenda-to-appt)
| 
| (setq appt-display-format 'window)
| 
| (require 'my-osd)
| 
| (defun org-osd-display (min-to-app new-time msg)
|   (osd-display msg msg -1 "center" "center" "Verdana 20")
| )
| 
| (setq appt-disp-window-function (function org-osd-display))
| 
| ;; see my-osd for plugins
| 
| (require 'diary-lib)
| (add-hook 'diary-display-hook 'fancy-diary-display)
| 
| ;; Run once, activate and schedule refresh
| (run-at-time nil 3600 'org-agenda-to-appt)
| (appt-activate t)
`

osd stuff:

,
| (defun osd-display (id msg &optional delay vattrib hattrib font)
| 
|   "Display a message with an id of ID for delay seconds with message msg"
| 
|   (unless vattrib (setq vattrib "top"))
|   (unless hattrib (setq hattrib "right"))
|   (unless delay (setq delay 5000))
|   (unless font (setq font "Serif Bold Italic 32"))
| 
|   (save-window-excursion
| (shell-command
|  (format
|   "gnome-osd-client -f \"%s\""
|   id
|   font
|   delay
|   vattrib
|   hattrib
|   msg)
|  nil nil)
| ))
| 
| ;(osd-display "i2" "and OSD..." 500)
| ;(osd-display "id" "Welcome to Emacs" 1000 "top" "center" "Verdana 20")
| 
`

Finally the erc hook stuff:

,
| (defun erc-notify-osd (matched-type nick msg)
|   (when (string= matched-type "current-nick")
| (message msg)
| (string-match ".*:\\(.*\\)$" msg)
| (setq msg (match-string 1 msg))
| (osd-display (concat "erc-msg : " (erc-extract-nick nick)) (concat 
(erc-extract-nick nick) " : " msg) 1 "bottom" "center" "Verdana 23")
|  ))
| 
| (add-hook 'erc-text-matched-hook 'erc-notify-osd)
`





___
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: how to change the set of agenda org files between custom agenda commands

2008-09-24 Thread Dan Griswold
Rainer Stengele <[EMAIL PROTECTED]> writes:

> Dan, thank you. I somehow does and doesn't.
> After using the command I get the "private" entries.
> After using another command analogous to this it seems I cannot reset
> the org-agenda-files variable. Looks like it only adds files to it?
> I played around a lot but could not get it to function as wanted.
>
> Anyway, the syntax is quite complex.
> I wonder if some more examples for changing agenda files when
> executing custom commands would be helpful.
> Anyone else who wants to see Agenden at home from different sets of
> agenda files?
>
> Rainer

Rainer,

I came across the variable org-finalize-agenda-hook, which is "run
just before displaying an agenda buffer."

So, maybe something like this in your configuration will work:

(defun rs-reset-agenda-files ()
  "Set org-agenda-files to my default values"
  (interactive)
  (setq org-agenda-files ; the following are examples, of course
(quote
 ("~/org/PUBLIK/work1.org"
  "~/org/PUBLIK/work2.org"
  "~/org/PUBLIK/work3.org"

(add-hook 'org-finalize-agenda-hook 'rs-reset-agenda-files)


What I think might then happen is that, after you run agenda custom
command kP, the variable org-agenda-files will be reset to the default
value.

Maybe?

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


[Orgmode] Re: Latex exporting

2008-09-24 Thread Frank Dekens
Russell Adams  AdamsInfoServ.Com> writes:

> 
> Those are only honored when the file is opened, or you can hit 
> 
> 'M-x normal-mode' 
> 
> to reload them.
> 
> Don't forget that the same applies to the template options header org
> can put at the top of the file. Its honored at open, or if you update
> a line you can C-c C-c on it to load that line.
> 
> This is why I use a Makefile that invokes a separate copy of email to
> export / pdflatex my output. I never have to worry about if my
> variables are current.
> 
> Enjoy!
> 

Ok, I got the Latex export to work. In the mean time I have also learned
to COMMENT and :ARCHIVE: the by now long header area, so I keep it nicely
hidden and not bothering me.

When I first read your post, I didn't understand the second paragraph,
(I believe you mean emacs instead of email), but now that I have
forgotten a step in the process so many times (usually the C-c C-e l
part of coarse), I understand why you use a Makefile.

All that to say: Can you please post a copy of that makefile, because I
have no idea how to invoke all those commands that way.

Thanks,
Frank D.




___
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] Re: Latex exporting

2008-09-24 Thread Russell Adams
On Wed, Sep 24, 2008 at 12:52:46AM +, Frank Dekens wrote:
> 
> All that to say: Can you please post a copy of that makefile, because I
> have no idea how to invoke all those commands that way.

Poof! And there was a Makefile, and it was good.

Place it in the directory with the org file you want to export, and
run make. It grabs *.org.

Enjoy!

--
Russell Adams[EMAIL PROTECTED]

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

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3
.PHONY: all clean

OBJS := $(patsubst %.org, %.pdf, $(wildcard *.org))

CRAP := $(patsubst %.org, %.pdf, $(wildcard *.org))
CRAP += $(patsubst %.org, %.aux, $(wildcard *.org))
CRAP += $(patsubst %.org, %.log, $(wildcard *.org))
CRAP += $(patsubst %.org, %.out, $(wildcard *.org))
CRAP += $(patsubst %.org, %.toc, $(wildcard *.org))

all: $(OBJS)

clean:
rm -f $(CRAP)

%.tex: %.org
emacs --eval '(setq enable-local-variables :all)' \
$< \
-f org-export-as-latex \
-f save-buffers-kill-emacs

%.pdf: %.tex
pdflatex $<
pdflatex $<
___
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: OSD alerts for appointment reminders (+ erc hook to use OSD)

2008-09-24 Thread Paul R
On Thu, 25 Sep 2008 02:43:56 +0200, Richard Riley <[EMAIL PROTECTED]> said:

Richard> I dont know if the gnome-osd stuff will work on kde, but try
Richard> it and see.

osd_cat outputs to X OSD, with no desktop dependency at all.

-- 
  Paul


___
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