Re: [Orgmode] footnote questions

2009-01-24 Thread Carsten Dominik


On Jan 24, 2009, at 6:38 AM, Samuel Wales wrote:


Minor questions:

Is there a way to have footnotes that have more than one paragraph?
For me, they are not recognized as footnotes.


Yes, Footnotes in Org are single paragraph.  Maybe this could be
changed, if enough people claim they need this.  I never have the
need for this, and new lines can be made with "\\" at the end of
a line.


Also, is there a way to make footnote references work when they start
in column 0?  Reformatting a paragraph sometimes puts them there for
me.


The solution for this is to make footnote references stick to
the word before them.  This also gives much better results in
HTML and LaTeX export.  I would have liked to even enforce this
convention, but that would have been incompatible with
the old footnote.el behavior.

- Carsten





Latest org release with (setf org-footnote-section nil).

Thanks.

--
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




___
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] Problem with org-batch-agenda

2009-01-24 Thread Carsten Dominik


On Jan 23, 2009, at 1:28 AM, Mark Elston wrote:


I am trying to export information from my org files and am
getting an error every time I run the batch file (Windows XP)

I am starting with a stripped down .emacs file which just sets up
my load path then does the following:

;
;;  ORG MODE
(require 'org-install)

(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))

(setq org-log-done 'time)
(setq org-agenda-include-diary t)
(setq org-directory "~/org/")
(setq org-agenda-custom-commands
 '(("S" "Schedule for the week plus TODO's"
((agenda "")
 (todo "TODO")

My batch file looks like this:

c:\emacs-22.3\bin\emacs.exe -batch -l ~/_emacs_org -eval '(org-batch- 
agenda "S")'


This works for me, but it is possible that quoting in a windows
batch file works differently?

The error message looks to me as if there is a parsing error for the - 
eval form.


- Carsten




When I run this from the command line I get:

Loading c:/Home/emacs-22/precompile.el (source)...
Loading c:/Home/emacs-22/all_org.el (source)...
Loading c:/Home/emacs-22/melston-note-paths.el (source)...
Done loading ~/emacs/all_org
Loading c:/Home/emacs-22/custom.el (source)...
Loading gnus...
Done loading init file
End of file during parsing

I saw this mentioned in the list at gmane but never saw
any resolution for it.  Any ideas?

Mark


___
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-24 Thread Scot Becker
I also would make good use of multi-paragraph footnotes.  Since I my final
work is exported to LaTeX, I could insert a LaTeX footnote when needed if
support for multi-paragraph footnotes in org proves too difficult to add.

Scot


On Sat, Jan 24, 2009 at 11:24 AM, Carsten Dominik wrote:

>
> On Jan 24, 2009, at 6:38 AM, Samuel Wales wrote:
>
>  Minor questions:
>>
>> Is there a way to have footnotes that have more than one paragraph?
>> For me, they are not recognized as footnotes.
>>
>
> Yes, Footnotes in Org are single paragraph.  Maybe this could be
> changed, if enough people claim they need this.  I never have the
> need for this, and new lines can be made with "\\" at the end of
> a line.
>
>  Also, is there a way to make footnote references work when they start
>> in column 0?  Reformatting a paragraph sometimes puts them there for
>> me.
>>
>
> The solution for this is to make footnote references stick to
> the word before them.  This also gives much better results in
> HTML and LaTeX export.  I would have liked to even enforce this
> convention, but that would have been incompatible with
> the old footnote.el behavior.
>
> - Carsten
>
>
>
>
>>
>> Latest org release with (setf org-footnote-section nil).
>>
>> Thanks.
>>
>> --
>> 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
>>
>
>
>
> ___
> 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] html export bug: extra space in verbatim region

2009-01-24 Thread Jason Dunsmore
Hello,

I may have found a bug in the html export function.  When I export an
org file that contains a "colon-space" verbatim region of text, extra
spaces show up in the html.  To reproduce, create an org file with the
text:

: Some example from a text file.

...visit the file in emacs, type M-x org-export-as-html, and visit the
html file in a web browser.  Note the extra space in front of "Some".
I verified that this happens with org-mode 6.18c.

It doesn't happen if the space is removed from the org file, but then
highlighting doesn't work.

Thanks,
Jason


___
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] html export bug: extra space in verbatim region

2009-01-24 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Jan 25, 2009, at 12:57 AM, Jason Dunsmore wrote:


Hello,

I may have found a bug in the html export function.  When I export an
org file that contains a "colon-space" verbatim region of text, extra
spaces show up in the html.  To reproduce, create an org file with the
text:

: Some example from a text file.

...visit the file in emacs, type M-x org-export-as-html, and visit the
html file in a web browser.  Note the extra space in front of "Some".
I verified that this happens with org-mode 6.18c.

It doesn't happen if the space is removed from the org file, but then
highlighting doesn't work.

Thanks,
Jason


___
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: Org-Mode in Windows

2009-01-24 Thread Carsten Dominik

Hi,

please send your message to emacs-orgmode@gnu.org (I am
CC-ing the mailing list).
There you will find people who work on Windows, I do not.

- Carsten

On Jan 25, 2009, at 3:48 AM, Manager Leader wrote:


Dear Mr. Dominik,

Thank you for your work in Org-Mode, I started researching about it  
a month ago and I have started using it 10 days ago (used to work in  
outlook but it just can't cope with my life now). And so far am  
happy with it except for some things that's not working as expected.


I am using Windows XP and have downloaded the latest release version  
for emacs (22.3.1) and org-mode (6.18c). But when I type M-x org- 
version 5.23a.
* Org-Mode does not start by itself when emacs is started - I always  
have to type "ALT-X org-mode" (in your book convention: M-x) or put  
on each file "MY PROJECTS-*- mode: org; -*-"
* Agenda view does not come out with the shortcut C-c a - I always  
have to use the mouse and org->agenda command -> t
* I want my default org file to open when I start emacs or org-mode  
but don't know how to do this. I always have to browse to the  
correct directory and open the file.

* Other things but I think should be resolved if those above can work.

I consider myself competent with computers and normally can easily  
make things work with reading documentation and searching through  
newsgroups, web. But this is taking a bit too long.


Some info and Things I have done to try to resolve it:
* I placed emacs in directory c:/emacs, downloaded 6.18c orgmode  
file to c:/emacs/org

* I am logged in with admin rights on Windows
* I have added the path to emacs in environment variables. C:/emacs/ 
bin
* I have watched your video at google 3 times, gone through the  
manual particularly installation and activation parts, searched the  
newsgroups and google searched whatever I can...
* I can't find any file named emacs or *.emacs so I created ".emacs"  
file and placed it in c:/emacs - I attach my emacs file.
* Make command from the installation manual does not work (even  
inside emacs Tools-> Make) - I attach my makefile which I have  
edited based on the installation manual.


But, I still can't get things to work properly.  I hope that you can  
help.


Thank you for a great software!

Regards,


Bailey

# Makefile - for the org-mode distribution
#
# Maintainer: Carsten Dominik 
# Version: VERSIONTAG
#
# To install org-mode, edit the Makefile, type `make', then `make  
install'.

# To create the PDF and HTML documentation files, type `make doc'.

##--
##  YOU MUST EDIT THE FOLLOWING LINES
##--

# Name of your emacs binary
EMACS=emacs

# Where local software is found
prefix=C:/emacs

# Where local lisp files go.
lispdir = $(prefix)/site-lisp

# Where info files go.
infodir = $(prefix)/info

##--
## YOU MAY NEED TO EDIT THESE
##--

# Using emacs in batch mode.
# BATCH=$(EMACS) -batch -q
# BATCH=$(EMACS) -batch -q -eval "(add-to-list (quote load-path) \". 
\")"


BATCH=$(EMACS) -batch -q -eval \
"(progn (add-to-list (quote load-path) (expand-file-name \"./lisp/ 
\")) \

   (add-to-list (quote load-path) \"$(lispdir)\"))"

# Specify the byte-compiler for compiling org-mode files
ELC= $(BATCH) -f batch-byte-compile

# How to make a pdf file from a texinfo file
TEXI2PDF = texi2pdf

# How to create directories
MKDIR = mkdir -p

# How to create the info files from the texinfo file
MAKEINFO = makeinfo

# How to create the HTML file
TEXI2HTML = makeinfo --html --number-sections

# How to copy the lisp files and elc files to their distination.
CP = cp -p

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

##--
##  BELOW THIS LINE ON YOUR OWN RISK!
##--

# The following variables need to be defined by the maintainer
LISPF  =org.el  \
org-agenda.el   \
org-attach.el   \
org-archive.el  \
org-bbdb.el \
org-bibtex.el   \
org-clock.el\
org-colview.el  \
org-colview-xemacs.el   \
org-compat.el   \
org-exp.el  \
org-export-latex.el \
org-faces.el\
org-footnote.el \
org-gnus.el \
org-id.el   \
org-info.el \
org-jsinfo.el   \
org-irc.el  \
org-list.

Re: [Orgmode] footnote questions

2009-01-24 Thread Carsten Dominik


On Jan 25, 2009, at 12:55 AM, Scot Becker wrote:

I also would make good use of multi-paragraph footnotes.  Since I my  
final work is exported to LaTeX, I could insert a LaTeX footnote  
when needed if support for multi-paragraph footnotes in org proves  
too difficult to add.


For LaTeX export, you can simply write \par to create
a new paragraph inside a footnote.

- Carsten




Scot


On Sat, Jan 24, 2009 at 11:24 AM, Carsten Dominik > wrote:


On Jan 24, 2009, at 6:38 AM, Samuel Wales wrote:

Minor questions:

Is there a way to have footnotes that have more than one paragraph?
For me, they are not recognized as footnotes.

Yes, Footnotes in Org are single paragraph.  Maybe this could be
changed, if enough people claim they need this.  I never have the
need for this, and new lines can be made with "\\" at the end of
a line.


Also, is there a way to make footnote references work when they start
in column 0?  Reformatting a paragraph sometimes puts them there for
me.

The solution for this is to make footnote references stick to
the word before them.  This also gives much better results in
HTML and LaTeX export.  I would have liked to even enforce this
convention, but that would have been incompatible with
the old footnote.el behavior.

- Carsten





Latest org release with (setf org-footnote-section nil).

Thanks.

--
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



___
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


___
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-24 Thread Carsten Dominik


On Jan 24, 2009, at 6:38 AM, Samuel Wales wrote:


Minor questions:

Is there a way to have footnotes that have more than one paragraph?
For me, they are not recognized as footnotes.


How would I format a multi-paragraph footnote in HTML?

Right now we have:

(div id="footnotes">
Footnotes: 


1
Footnote text here





I guess if someone had CSS to style footnote paragraphs specially,
inserting  somewhere inside the footnote text would
not do the right thing.

Sebastian, do you have an idea here?

- Carsten





Also, is there a way to make footnote references work when they start
in column 0?  Reformatting a paragraph sometimes puts them there for
me.

Latest org release with (setf org-footnote-section nil).

Thanks.

--
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




___
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