[Orgmode] latex export problem

2010-09-30 Thread Jörg Hagmann

 Dear list,

I have an org file named "test.org" structured as follows (minimal example):

--minimal example
* Head
  text

* Second head
  :PROPERTIES:
  :EXPORT_OPTIONS: H:5 num:nil toc:t \n:nil @:t ::t |:t ^:{} -:t f:t 
*:t skip:nil d:nil tags:nil

  :EXPORT_TITLE: My Title
  :EXPORT_FILE_NAME: scripts/filename
  :END:


#+begin_src latex
\input gentium-ge
#+end_src

** section
   text
--end of minimal example---

I export the second head to a filename.tex file in a subdirectory (and 
convert it later to ConTeXt code, but that shouldn't matter here). I 
swear that this worked -- I have everything pertaining to my lectures in 
this file.
However, it stopped working recently (without updating org-mode). All I 
get when I export "Second Head" to latex is:

"No such file: /Users/me/test.org"
The cause is the #+begin_src ... #+end_src block

Did I inadvertently change some parameter? Or is it a bug (less likely)?

Thanks for your suggestions, Jörg

___
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


Re: [Orgmode] latex export problem

2010-10-01 Thread Jörg Hagmann

 Hi Christian,

On 9/30/10 7:02 PM, Christian Moe wrote:
The exact error message is "No such file: /Users/me/test.org::" with 
two colons at the end, right? 

You are right, I forgot the colons.
I reported the same problem on 23 September ("Bug: subtree export 
fails with src block"), but others were not able to reproduce it.
I can understand that. In my case it worked for at least a month. I have 
no idea why it stopped doing so.
As I wrote at the time, it looks like the problem comes to a head in 
this part of org-babel-exp-src-blocks


:   (link (org-make-link-string
:  (concat
:   org-current-export-file
:   "::"
:   (nth 4 (ignore-errors (org-heading-components))

and that org-heading-components fails to return the heading text. I'm 
not lisp-canny enough to see why. Maybe something to do with the 
active region?
I don't know enough lisp either. But it would be nice if it could be 
corrected; the (working) alternative is to have all the lines in the 
source block preceded by "#+LATEX: " which is less convenient.



On 9/30/10 4:55 PM, Jörg Hagmann wrote:

Dear list,

I have an org file named "test.org" structured as follows (minimal
example):

--minimal example
* Head
text

* Second head
:PROPERTIES:
:EXPORT_OPTIONS: H:5 num:nil toc:t \n:nil @:t ::t |:t ^:{} -:t f:t *:t
skip:nil d:nil tags:nil
:EXPORT_TITLE: My Title
:EXPORT_FILE_NAME: scripts/filename
:END:


#+begin_src latex
\input gentium-ge
#+end_src

** section
text
--end of minimal example---

I export the second head to a filename.tex file in a subdirectory (and
convert it later to ConTeXt code, but that shouldn't matter here). I
swear that this worked -- I have everything pertaining to my lectures
in this file.
However, it stopped working recently (without updating org-mode). All
I get when I export "Second Head" to latex is:
"No such file: /Users/me/test.org"
The cause is the #+begin_src ... #+end_src block

Did I inadvertently change some parameter? Or is it a bug (less likely)?

Thanks for your suggestions, Jörg


___
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] LaTeX export: problem with emphasis

2009-08-25 Thread Valentin Wüstholz
Hi,

it seems to me like revision 0ba7d3d2f961a224d077e6806b804cde4c4a7726
broke the LaTeX export of emphasises (e.g. =foo=).

Is anybody else having the same problem?

Cheers

Valentin


___
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 problem in HEAD

2010-02-28 Thread Erik Butz
Hi all,

I am getting an error when exporting to latex in the latest version in
the repository if checkboxes are included in the document.
the error is:
! LaTeX Error: Command \Box not provided in base LaTeX2e.

which can then be cured by including
\usepackage{latexsym}

in the tex document. Is this a common problem or only related to my
personal setup?

Cheers,

Erik


___
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


Re: [Orgmode] LaTeX export: problem with emphasis

2009-08-25 Thread Nick Dokos
=?UTF-8?Q?Valentin_W=C3=BCstholz?=  wrote:

> Hi,
> 
> it seems to me like revision 0ba7d3d2f961a224d077e6806b804cde4c4a7726
> broke the LaTeX export of emphasises (e.g. =foo=).
> 
> Is anybody else having the same problem?
> 

Yes - my standard emphasis example

,
| 
| * Emphasis and monospace
| 
|   - *bold*
| 
|   - /italic/
| 
|   - _underlined_
| 
|   - =code=
| 
|   - ~verbatim~
| 
|   - +strike-through+
| 
`

exhibits the problem - LaTeX excerpt:

\item \textbf{bold}
\item \emph{italic}
\item \underline{underlined}
\item =code=
\item \~{}verbatim\~{}
\item \st{strike-through}

With the indicated commit reverted, the corresponding LaTeX excerpt looks
like this:

\item \textbf{bold}
\item \emph{italic}
\item \underline{underlined}
\item \texttt{code}
\item \texttt{verbatim}
\item \st{strike-through}

HTH,
Nick


___
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] LaTeX export: problem with emphasis

2009-08-27 Thread Carsten Dominik

I have reverted this commit, thanks.

- Carsten

On Aug 26, 2009, at 3:38 AM, Nick Dokos wrote:


=?UTF-8?Q?Valentin_W=C3=BCstholz?=  wrote:


Hi,

it seems to me like revision 0ba7d3d2f961a224d077e6806b804cde4c4a7726
broke the LaTeX export of emphasises (e.g. =foo=).

Is anybody else having the same problem?



Yes - my standard emphasis example

,
|
| * Emphasis and monospace
|
|   - *bold*
|
|   - /italic/
|
|   - _underlined_
|
|   - =code=
|
|   - ~verbatim~
|
|   - +strike-through+
|
`

exhibits the problem - LaTeX excerpt:

\item \textbf{bold}
\item \emph{italic}
\item \underline{underlined}
\item =code=
\item \~{}verbatim\~{}
\item \st{strike-through}

With the indicated commit reverted, the corresponding LaTeX excerpt  
looks

like this:

\item \textbf{bold}
\item \emph{italic}
\item \underline{underlined}
\item \texttt{code}
\item \texttt{verbatim}
\item \st{strike-through}

HTH,
Nick


___
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] LaTeX export: problem with emphasis

2009-08-27 Thread Valentin Wüstholz
Great! Thanks!

Valentin


2009/8/27 Carsten Dominik :
> I have reverted this commit, 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


Re: [Orgmode] latex export problem in HEAD

2010-03-04 Thread Carsten Dominik

Hi Erik,

I have added \usepackage{latexsym} to the default packages that Org- 
mode will load.


Thanks.

- Carsten

On Feb 28, 2010, at 5:10 PM, Erik Butz wrote:


Hi all,

I am getting an error when exporting to latex in the latest version in
the repository if checkboxes are included in the document.
the error is:
! LaTeX Error: Command \Box not provided in base LaTeX2e.

which can then be cured by including
\usepackage{latexsym}

in the tex document. Is this a common problem or only related to my
personal setup?

Cheers,

Erik


___
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


- Carsten





___
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] LaTeX Export problem: cannot open load file: org-latex

2009-04-18 Thread Holger Hellebro
Hi

I'm using Org-mode version 6.25f on Ubuntu 8.10 with GNU Emacs 22.2.1. Emacs
came with an older version of org-mode but I used the Makefile to install
the newer version and most things seem to be working.

But when I try to export to LaTeX (C-c C-e l or L) I get the following error
message in the minibuffer: "Cannot open load file: org-latex". Indeed, I
don't have any file named "org-latex" or "org-latex.el" on my system as it
was not part of the org distribution. I'm an absolute elisp newbie but a
grep shows that org-install.el references a file "org-latex.el".

I've tried removing (require 'org-install) from .emacs but then another
error message is shown: "Wrong type argument: commandp, org-export-as-latex"
when I try the export.

Any help is greatly appreciated.

Best regards,
Holger
___
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] LaTeX Export problem: cannot open load file: org-latex

2009-04-18 Thread Matthew Lundin
Hi Holger,

Holger Hellebro  writes:

> Hi
>
> I'm using Org-mode version 6.25f on Ubuntu 8.10 with GNU Emacs 22.2.1.
> Emacs came with an older version of org-mode but I used the Makefile to
> install the newer version and most things seem to be working.
>
> But when I try to export to LaTeX (C-c C-e l or L) I get the following
> error message in the minibuffer: "Cannot open load file: org-latex".
> Indeed, I don't have any file named "org-latex" or "org-latex.el" on my
> system as it was not part of the org distribution. I'm an absolute
> elisp newbie but a grep shows that org-install.el references a file
> "org-latex.el".

With org-mode version 6.25f, the file org-export-latex.el was renamed to
org-latex.el. Off the top of my head, I can think of a couple of things
you might check:

1. If you look in the lisp subdirectory of the org distribution you
   downloaded, can you confirm that org-latex.el was byte-compiled as a
   result of the make process?

2. Check the directory where you installed the new org files (e.g.,
   /usr/share/emacs/site-lisp or somewhere else) to see if org-latex is
   was copied to that directory.

I'm sure others will be along with more concrete advice sometime soon.

Hope this helps,

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


Re: [Orgmode] LaTeX Export problem: cannot open load file: org-latex

2009-04-18 Thread Holger Hellebro
Hi Matt,

Thanks, you answered the question. When I renamed the file
"org-export-latex.el" to "org-latex.el", modified the Makefile accordingly,
rebuilt and reinstalled, it worked.

I think there's a problem with the stable distribution (org-6.25f.tar.gz) in
that it contains the unrenamed file "org-export-latex.el". Someone may want
to look into this.

Anyway, many thanks for helping me out.

Best regards,
Holger


On Sat, Apr 18, 2009 at 2:45 PM, Matthew Lundin  wrote:

> Hi Holger,
>
> Holger Hellebro  writes:
>
> > Hi
> >
> > I'm using Org-mode version 6.25f on Ubuntu 8.10 with GNU Emacs 22.2.1.
> > Emacs came with an older version of org-mode but I used the Makefile to
> > install the newer version and most things seem to be working.
> >
> > But when I try to export to LaTeX (C-c C-e l or L) I get the following
> > error message in the minibuffer: "Cannot open load file: org-latex".
> > Indeed, I don't have any file named "org-latex" or "org-latex.el" on my
> > system as it was not part of the org distribution. I'm an absolute
> > elisp newbie but a grep shows that org-install.el references a file
> > "org-latex.el".
>
> With org-mode version 6.25f, the file org-export-latex.el was renamed to
> org-latex.el. Off the top of my head, I can think of a couple of things
> you might check:
>
> 1. If you look in the lisp subdirectory of the org distribution you
>   downloaded, can you confirm that org-latex.el was byte-compiled as a
>   result of the make process?
>
> 2. Check the directory where you installed the new org files (e.g.,
>   /usr/share/emacs/site-lisp or somewhere else) to see if org-latex is
>   was copied to that directory.
>
> I'm sure others will be along with more concrete advice sometime soon.
>
> Hope this helps,
>
> 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


Re: [Orgmode] LaTeX Export problem: cannot open load file: org-latex

2009-04-18 Thread Carsten Dominik


On Apr 18, 2009, at 3:02 PM, Holger Hellebro wrote:


Hi Matt,

Thanks, you answered the question. When I renamed the file "org- 
export-latex.el" to "org-latex.el", modified the Makefile  
accordingly, rebuilt and reinstalled, it worked.


I think there's a problem with the stable distribution  
(org-6.25f.tar.gz) in that it contains the unrenamed file "org- 
export-latex.el". Someone may want to look into this.


I have made several mistakes with this late mini-releases.  I will  
make the 6.26 release soon, until then, please use 5.25c or the  
snapshot.


- Carsten




Anyway, many thanks for helping me out.

Best regards,
Holger


On Sat, Apr 18, 2009 at 2:45 PM, Matthew Lundin   
wrote:

Hi Holger,

Holger Hellebro  writes:

> Hi
>
> I'm using Org-mode version 6.25f on Ubuntu 8.10 with GNU Emacs  
22.2.1.
> Emacs came with an older version of org-mode but I used the  
Makefile to

> install the newer version and most things seem to be working.
>
> But when I try to export to LaTeX (C-c C-e l or L) I get the  
following

> error message in the minibuffer: "Cannot open load file: org-latex".
> Indeed, I don't have any file named "org-latex" or "org-latex.el"  
on my

> system as it was not part of the org distribution. I'm an absolute
> elisp newbie but a grep shows that org-install.el references a file
> "org-latex.el".

With org-mode version 6.25f, the file org-export-latex.el was  
renamed to
org-latex.el. Off the top of my head, I can think of a couple of  
things

you might check:

1. If you look in the lisp subdirectory of the org distribution you
  downloaded, can you confirm that org-latex.el was byte-compiled as a
  result of the make process?

2. Check the directory where you installed the new org files (e.g.,
  /usr/share/emacs/site-lisp or somewhere else) to see if org-latex is
  was copied to that directory.

I'm sure others will be along with more concrete advice sometime soon.

Hope this helps,

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




___
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