Re: [Orgmode] Latex export - footnotes and emphasis

2009-03-30 Thread Carsten Dominik


On Mar 30, 2009, at 8:12 PM, Matthew Lundin wrote:


Hi Carsten,

I think I figured out the problem. I reset
org-emphasis-regexp-components to the new default (I had customized  
it)

and everything now works fine.


Ah, yes, that explains it.

- Carsten



Thanks,
Matt

Carsten Dominik  writes:


Hi Matt,

well, if I export that exact same document, then I get

---
\title{Test}
\author{Carsten Dominik}
\date{30 March 2009}

\begin{document}

\maketitle

\setcounter{tocdepth}{3}
\tableofcontents
\vspace*{1cm}

This is a footnote.\footnote{\emph{Test.} }



\end{document}


- 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 - footnotes and emphasis

2009-03-30 Thread Matthew Lundin
Hi Carsten,

I think I figured out the problem. I reset
org-emphasis-regexp-components to the new default (I had customized it)
and everything now works fine.

Thanks,
Matt

Carsten Dominik  writes:

> Hi Matt,
>
> well, if I export that exact same document, then I get
>
> ---
> \title{Test}
> \author{Carsten Dominik}
> \date{30 March 2009}
>
> \begin{document}
>
> \maketitle
>
> \setcounter{tocdepth}{3}
> \tableofcontents
> \vspace*{1cm}
>
> This is a footnote.\footnote{\emph{Test.} }
>
>
>
> \end{document}
> 
>
> - 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 - footnotes and emphasis

2009-03-30 Thread Carsten Dominik

Hi Matt,

well, if I export that exact same document, then I get

---
\title{Test}
\author{Carsten Dominik}
\date{30 March 2009}

\begin{document}

\maketitle

\setcounter{tocdepth}{3}
\tableofcontents
\vspace*{1cm}

This is a footnote.\footnote{\emph{Test.} }



\end{document}


- Carsten


On Mar 30, 2009, at 4:56 PM, Matthew Lundin wrote:



Hi Carsten,

Carsten Dominik  writes:


Fixed, thanks.

- Carsten



I installed the most recent org from the git repo and footnotes that
begin with italics markup are still not converted to \emph in LaTeX.
(See example below.)

Thanks,
Matt


On Mar 28, 2009, at 7:29 PM, Matthew Lundin wrote:


Hi Carsten,

When I export a footnote that begins with emphasis/italics markup,  
the

markup is not converted to \emph in the LaTeX output.

E.g., the following source...

--8<---cut here---start->8---
#+title: Test

This is a footnote.[fn:footnote]

[fn:footnote] /Test./
--8<---cut here---end--->8---

Is exported as (some of preamble omitted):

,
| \title{Test}
| \author{Matthew Lundin}
| \date{March 28, 2009}
|
| \begin{document}
|
| \maketitle
|
| \setcounter{tocdepth}{3}
| \tableofcontents
| \vspace*{1cm}
|
|
| This is a footnote.\footnote{/Test./ }
|
|
|
| \end{document}
`

Any advice would be greatly appreciated.

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


Re: [Orgmode] Latex export - footnotes and emphasis

2009-03-30 Thread Matthew Lundin

Hi Carsten,

Carsten Dominik  writes:

> Fixed, thanks.
>
> - Carsten
>

I installed the most recent org from the git repo and footnotes that
begin with italics markup are still not converted to \emph in LaTeX.
(See example below.)

Thanks, 
Matt

> On Mar 28, 2009, at 7:29 PM, Matthew Lundin wrote:
>
>> Hi Carsten,
>>
>> When I export a footnote that begins with emphasis/italics markup, the
>> markup is not converted to \emph in the LaTeX output.
>>
>> E.g., the following source...
>>
>> --8<---cut here---start->8---
>> #+title: Test
>>
>> This is a footnote.[fn:footnote]
>>
>> [fn:footnote] /Test./
>> --8<---cut here---end--->8---
>>
>> Is exported as (some of preamble omitted):
>>
>> ,
>> | \title{Test}
>> | \author{Matthew Lundin}
>> | \date{March 28, 2009}
>> |
>> | \begin{document}
>> |
>> | \maketitle
>> |
>> | \setcounter{tocdepth}{3}
>> | \tableofcontents
>> | \vspace*{1cm}
>> |
>> |
>> | This is a footnote.\footnote{/Test./ }
>> |
>> |
>> |
>> | \end{document}
>> `
>>
>> Any advice would be greatly appreciated.
>>
>> Thanks,
>> 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


Re: [Orgmode] Latex export - footnotes and emphasis

2009-03-30 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Mar 28, 2009, at 7:29 PM, Matthew Lundin wrote:


Hi Carsten,

When I export a footnote that begins with emphasis/italics markup, the
markup is not converted to \emph in the LaTeX output.

E.g., the following source...

--8<---cut here---start->8---
#+title: Test

This is a footnote.[fn:footnote]

[fn:footnote] /Test./
--8<---cut here---end--->8---

Is exported as (some of preamble omitted):

,
| \title{Test}
| \author{Matthew Lundin}
| \date{March 28, 2009}
|
| \begin{document}
|
| \maketitle
|
| \setcounter{tocdepth}{3}
| \tableofcontents
| \vspace*{1cm}
|
|
| This is a footnote.\footnote{/Test./ }
|
|
|
| \end{document}
`

Any advice would be greatly appreciated.

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


Re: [Orgmode] Latex export - footnotes and emphasis

2009-03-30 Thread Carsten Dominik


On Mar 30, 2009, at 11:27 AM, Scot Becker wrote:


I can confirm this.

Another related issue is that italics and bold do not mix in latex  
export.  You can't do something like this:


/An italicized sentence with a *bold* bit./  or *vice /versa/*.


Nested emphasis is indeed not possible.

However, as a LaTeX user, I think you can do

/An italicized sentence with a \textbf{bold} bit./



Also, and this may be unavoidable without adding significant  
complexity to the export engine.


Indeed.


  But you can't, e.g.
/carry your emphasis on until after the punctuation is over./
(It's been a while since I tested this.  I'll check it out again  
today).



This does work, I think.

For LaTeX export in particular, it would be nice to have finer  
control over just where the emphasis goes.  For periods it's not  
generally an issue :-), but some of the taller punctuation get into  
fistfights with their text if they aren't allowed to be italicized  
too.


Emphasis is one of the nightmares, and I will only work
on this at gun point :-)

- Carsten



Scot

On Sat, Mar 28, 2009 at 7:29 PM, Matthew Lundin   
wrote:

Hi Carsten,

When I export a footnote that begins with emphasis/italics markup, the
markup is not converted to \emph in the LaTeX output.

E.g., the following source...

--8<---cut here---start->8---
#+title: Test

This is a footnote.[fn:footnote]

[fn:footnote] /Test./
--8<---cut here---end--->8---

Is exported as (some of preamble omitted):

,
| \title{Test}
| \author{Matthew Lundin}
| \date{March 28, 2009}
|
| \begin{document}
|
| \maketitle
|
| \setcounter{tocdepth}{3}
| \tableofcontents
| \vspace*{1cm}
|
|
| This is a footnote.\footnote{/Test./ }
|
|
|
| \end{document}
`

Any advice would be greatly appreciated.

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




___
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 - footnotes and emphasis

2009-03-30 Thread Scot Becker
I can confirm this.

Another related issue is that italics and bold do not mix in latex export.
You can't do something like this:

/An italicized sentence with a *bold* bit./  or *vice /versa/*.

Also, and this may be unavoidable without adding significant complexity to
the export engine.  But you can't, e.g.
/carry your emphasis on until after the punctuation is over./   (It's been a
while since I tested this.  I'll check it out again today).
For LaTeX export in particular, it would be nice to have finer control over
just where the emphasis goes.  For periods it's not generally an issue :-),
but some of the taller punctuation get into fistfights with their text if
they aren't allowed to be italicized too.

Scot

On Sat, Mar 28, 2009 at 7:29 PM, Matthew Lundin  wrote:

> Hi Carsten,
>
> When I export a footnote that begins with emphasis/italics markup, the
> markup is not converted to \emph in the LaTeX output.
>
> E.g., the following source...
>
> --8<---cut here---start->8---
> #+title: Test
>
> This is a footnote.[fn:footnote]
>
> [fn:footnote] /Test./
> --8<---cut here---end--->8---
>
> Is exported as (some of preamble omitted):
>
> ,
> | \title{Test}
> | \author{Matthew Lundin}
> | \date{March 28, 2009}
> |
> | \begin{document}
> |
> | \maketitle
> |
> | \setcounter{tocdepth}{3}
> | \tableofcontents
> | \vspace*{1cm}
> |
> |
> | This is a footnote.\footnote{/Test./ }
> |
> |
> |
> | \end{document}
> `
>
> Any advice would be greatly appreciated.
>
> Thanks,
> 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