Re: [Orgmode] Bug: \log and friends are not recognized as math [6.34b]

2010-02-02 Thread Carsten Dominik

Hi Nick,

am I right that you are now through with this, so that I can start my  
work based on your last iteration?


- Carsten

On Feb 2, 2010, at 12:37 AM, Nick Dokos wrote:


I went through the rest - same conventions apply.


1. If something is undefined in LaTeX, this is notated by  
commenting the item out

  in the appended LaTeX file, e.g.

%\nbsp

2. If something requires math mode, this is notated by marking the  
item like this:

  \ensuremath{\foo} in the appended LaTeX file, e.g.

\ensuremath{\vert}

3. If an item is defined and does not require math mode, it is left  
unadorned in

  the appended LaTeX file, e.g.

  \copy




In addition, there are some symbols that are defined in packages.  
Where

I knew about that, I indicated the package in a comment. There are a
couple of things (\divide, \and and \or) that are defined, but they  
are

not useful as symbols - where applicable, I have indicated that in a
comment as well. And there is a bug in org-exp.el that caused  
\heartsuit

to be omitted and \diamondsuit to be duplicated:

...
   (hearts) (diamondsuit.hearts;)
...

HTH,
Nick

---
\documentclass{article}

\begin{document}
% \nbsp
% \iexcl
% \cent
% \pound
% \curren
% \yen
% \brvbar

\ensuremath{\vert}
% \sect
% \uml
\copy
% \ordf
% \laquo
\not
% \shy
% \reg
% \macr
\ensuremath{\deg}
\ensuremath{\pm}
%\plusmn
\ensuremath{\sup }%2
\ensuremath{\sup }%3

\ensuremath{\acute x}
% \micro
% \para
% \middot
\ensuremath{\odot}
\ensuremath{\star}
%\cedil
\ensuremath{\sup1}
% \ordm
% \raquo
\ensuremath{\frac 1 4}
\ensuremath{\frac 1 2}
\ensuremath{\frac 3 4}
% \iquest
% \Agrave
% \Aacute
% \Acirc
% \Atilde
% \Auml
% \Aring
\AA
% \AElig
% \Ccedil
% \Egrave
% \Eacute
% \Ecirc
% \Euml
% \Igrave
% \Iacute
% \Icirc
% \Iuml
% \ETH
% \Ntilde
% \Ograve
% \Oacute
% \Ocirc
% \Otilde
% \Ouml
\ensuremath{\times}
% \Oslash
% \Ugrave
% \Uacute
% \Ucirc
% \Uuml
% \Yacute
% \THORN
% \szlig
% \agrave
% \aacute
% \acirc
% \atilde
% \auml
% \aring
% \aelig
% \ccedil
% \checkmark
% \egrave
% \eacute
% \ecirc
% \euml
% \igrave
% \iacute
% \icirc
% \iuml
% \eth
% \ntilde
% \ograve
% \oacute
% \ocirc
% \otilde
% \ouml
{\count240=240
 \divide\count240 by 2% not useful as a symbol
}
% \oslash
% \ugrave
% \uacute
% \ucirc
% \uuml
% \yacute
% \thorn
% \yuml
% \fnof
% \Alpha
% \Beta
\ensuremath{\Gamma}
\ensuremath{\Delta}
% \Epsilon
% \Zeta
% \Eta
\ensuremath{\Theta}
% \Iota
% \Kappa
\ensuremath{\Lambda}
% \Mu
% \Nu
\ensuremath{\Xi}
%\Omicron
\ensuremath{\Pi}
%\Rho
\ensuremath{\Sigma}
%\Tau
\ensuremath{\Upsilon}
\ensuremath{\Phi}
%\Chi
\ensuremath{\Psi}
\ensuremath{\Omega}
\ensuremath{\alpha}
\ensuremath{\beta}
\ensuremath{\gamma}
\ensuremath{\delta}
\ensuremath{\epsilon}
\ensuremath{\varepsilon}
\ensuremath{\zeta}
\ensuremath{\eta}
\ensuremath{\theta}
\ensuremath{\iota}
\ensuremath{\kappa}
\ensuremath{\lambda}
\ensuremath{\mu}
\ensuremath{\nu}
\ensuremath{\xi}
%\omicron
\ensuremath{\pi}
\ensuremath{\rho}
%\sigmaf
\ensuremath{\varsigma}
\ensuremath{\sigma}
\ensuremath{\tau}
\ensuremath{\upsilon}
\ensuremath{\phi}
\ensuremath{\chi}
\ensuremath{\psi}
\ensuremath{\omega}
%\thetasym
\ensuremath{\vartheta}
%\upsih
% \piv
% \bull
\ensuremath{\bullet}
%\hellip
\dots
\ensuremath{\prime}
%\Prime
% \oline
% \frasl
% \weierp
% \image
% \real
% \trade
% \alefsym
% \larr
\ensuremath{\leftarrow}
\ensuremath{\gets}
%\uarr
\ensuremath{\uparrow}
%\rarr
\ensuremath{\to}
\ensuremath{\rightarrow}
%\darr
\ensuremath{\downarrow}
%\harr
\ensuremath{\leftrightarrow}
%\crarr
\ensuremath{\hookleftarrow}
%\lArr
\ensuremath{\Leftarrow}
%\uArr
\ensuremath{\Uparrow}
%\rArr
\ensuremath{\Rightarrow}
%\dArr
\ensuremath{\Downarrow}
%\hArr
\ensuremath{\Leftrightarrow}
\ensuremath{\forall}
\part{foo}
\ensuremath{\partial}
%\exist
\ensuremath{\exists}
\empty
\ensuremath{\emptyset}
\ensuremath{\nabla}
%\isin
\ensuremath{\in}
\ensuremath{\notin}
\ensuremath{\ni}
\ensuremath{\prod}
\ensuremath{\sum}
%\minus
%\lowast
\ensuremath{\ast}
% \radic
% \prop
% \proptp
% \infin
\ensuremath{\infty}
%\ang

\ensuremath{\angle}
% \and  - not useful as a symbol
\ensuremath{\wedge}
% \or   - not useful as a symbol
\ensuremath{\vee}
\ensuremath{\cap}
\ensuremath{\cup}
\ensuremath{\int}
% \there4
\ensuremath{\sim}
\ensuremath{\cong}
\ensuremath{\simeq}
\ensuremath{\asymp}
\ensuremath{\approx}
\ensuremath{\ne}
\ensuremath{\neq}
\ensuremath{\equiv}
\ensuremath{\le}
\ensuremath{\ge}
%\sub
\ensuremath{\subset}
\ensuremath{\sup}
\ensuremath{\supset}
%\nsub
% \sube
% \supe
\ensuremath{\oplus}
\ensuremath{\otimes}
\ensuremath{\perp}
%\sdot
\ensuremath{\cdot}
\ensuremath{\lceil}
\ensuremath{\rceil}
\ensuremath{\lfloor}
\ensuremath{\rfloor}
% \lang
% \rang
% \loz
% \Diamond % latexsym.sty
% \spades
\ensuremath{\spadesuit}
% \clubs
\ensuremath{\clubsuit}
% \hearts
\ensuremath{\heartsuit}% added for this testing
\ensuremath{\diamondsuit}
% \diams
% \diamondsuit  

Re: [Orgmode] Bug: \log and friends are not recognized as math [6.34b]

2010-02-02 Thread Nick Dokos
Carsten Dominik carsten.domi...@gmail.com wrote:

 Hi Nick,
 
 am I right that you are now through with this, so that I can start my
 work based on your last iteration?
 

Carsten,

yes, I think it's done.

Nick


___
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] Bug: \log and friends are not recognized as math [6.34b]

2010-02-01 Thread Nick Dokos
Carsten Dominik carsten.domi...@gmail.com wrote:


 So here is a request for a volunteer.  Go through the list below
 and mark all macros according to three criteria:
 
 1. Does not exist in TeX/LaTeX
 2. Requires math-mode
 3. Does not require math mode.
 4. Is there another category, like this cannot be used in math mode?
 
 That would be a big help and let me fix the issue brought up by Rasmus.
 
 As this is a long list, maybe first post here that you are going
 to do it, so that not several people work on the same task.
 

Here is a partial result (there is a largish portion that I have not tested 
yet):

1. This is notated by commenting out (except for the largish portion)
   are undefined in LaTeX (some may be defined in external packages [1]).

2. This is notated by using \ensuremath{\foo}.

3. This is notated by \foo - neither commented out, nor \ensuramath'ed.

4. I think the answer to this is no.

5. There are some questionable items that cause problems but I have
   not investigated further: \divide, \and and \or are the ones that
   I remember. In addition, things like \sup2, \sup3 and \frac34 etc
   are almost certainly problematic.

This was pretty quick, so I may be able to do the unfinished block (but
don't let that stop you!), but I might not be able to do more in-depth
investigation of the questionable cases.

Thanks,
Nick

[1] BTW, I never announced it because it is very much still a
work-in-progress, and I didn't get as much done as I wanted over the
vacation, but there is a zeroth approximation to the external
dependencies doc on Worg:

http://orgmode.org/worg/org-dependencies.php

But since I haven't been able to do much in the last couple of weeks,
it's probably better to have people look at it, maybe even work at it.

---
\documentclass{article}

\begin{document}
% \nbsp
% \iexcl
% \cent
% \pound
% \curren
% \yen
% \brvbar

\ensuremath{\vert}
% \sect
% \uml
\copy
% \ordf
% \laquo
\not
% \shy
% \reg
% \macr
\ensuremath{\deg}
\ensuremath{\pm}
%\plusmn
\ensuremath{\sup }%2
\ensuremath{\sup }%3

\ensuremath{\acute x}
% \micro
% \para
% \middot
\ensuremath{\odot}
\ensuremath{\star}
%\cedil
\ensuremath{\sup1}
% \ordm
% \raquo
\ensuremath{\frac 1 4}
\ensuremath{\frac 1 2}
\ensuremath{\frac 3 4}
% \iquest
% \Agrave
% \Aacute
% \Acirc
% \Atilde
% \Auml
% \Aring
\AA
% \AElig
% \Ccedil
% \Egrave
% \Eacute
% \Ecirc
% \Euml
% \Igrave
% \Iacute
% \Icirc
% \Iuml
% \ETH
% \Ntilde
% \Ograve
% \Oacute
% \Ocirc
% \Otilde
% \Ouml
\ensuremath{\times}
% \Oslash
% \Ugrave
% \Uacute
% \Ucirc
% \Uuml
% \Yacute
% \THORN
% \szlig
% \agrave
% \aacute
% \acirc
% \atilde
% \auml
% \aring
% \aelig
% \ccedil
% \checkmark
% \egrave
% \eacute
% \ecirc
% \euml
% \igrave
% \iacute
% \icirc
% \iuml
% \eth
% \ntilde
% \ograve
% \oacute
% \ocirc
% \otilde
% \ouml
\divide 

% \oslash
% \ugrave
% \uacute
% \ucirc
% \uuml
% \yacute
% \thorn
% \yuml
% \fnof
% \Alpha
% \Beta
\ensuremath{\Gamma}
\ensuremath{\Delta}
% \Epsilon
% \Zeta
% \Eta
\ensuremath{\Theta}
% \Iota
% \Kappa
\ensuremath{\Lambda}
% \Mu
% \Nu
\ensuremath{\Xi}
%\Omicron
\ensuremath{\Pi}
%\Rho
\ensuremath{\Sigma}
%\Tau
\ensuremath{\Upsilon}
\ensuremath{\Phi}
%\Chi
\ensuremath{\Psi}
\ensuremath{\Omega}
\ensuremath{\alpha}
\ensuremath{\beta}
\ensuremath{\gamma}
\ensuremath{\delta}
\ensuremath{\epsilon}
\ensuremath{\varepsilon}
\ensuremath{\zeta}
\ensuremath{\eta}
\ensuremath{\theta}
\ensuremath{\iota}
\ensuremath{\kappa}
\ensuremath{\lambda}
\ensuremath{\mu}
\ensuremath{\nu}
\ensuremath{\xi}
%\omicron
\ensuremath{\pi}
\ensuremath{\rho}
%\sigmaf
\ensuremath{\varsigma}
\ensuremath{\sigma}
\ensuremath{\tau}
\ensuremath{\upsilon}
\ensuremath{\phi}
\ensuremath{\chi}
\ensuremath{\psi}
\ensuremath{\omega}
%\thetasym
\ensuremath{\vartheta}
%\upsih
% \piv
% \bull
\ensuremath{\bullet}
%\hellip
\dots
\ensuremath{\prime}
%\Prime
% \oline
% \frasl
% \weierp
% \image
% \real
% \trade
% \alefsym
% \larr
\ensuremath{\leftarrow}
\ensuremath{\gets}
%\uarr
\ensuremath{\uparrow}
%\rarr
\ensuremath{\to}
\ensuremath{\rightarrow}
%\darr
\ensuremath{\downarrow}
%\harr
\ensuremath{\leftrightarrow}
%\crarr
\ensuremath{\hookleftarrow}
%\lArr
\ensuremath{\Leftarrow}
%\uArr
\ensuremath{\Uparrow}
%\rArr
\ensuremath{\Rightarrow}
%\dArr
\ensuremath{\Downarrow}
%\hArr
\ensuremath{\Leftrightarrow}
\ensuremath{\forall}
\part{foo}
\ensuremath{\partial}
%\exist
\ensuremath{\exists}
\empty
\ensuremath{\emptyset}
\ensuremath{\nabla}
%\isin
\ensuremath{\in}
\ensuremath{\notin}
\ensuremath{\ni}
\ensuremath{\prod}
\ensuremath{\sum}
%\minus
%\lowast
\ensuremath{\ast}
% \radic
% \prop
% \proptp
% \infin
\ensuremath{\infty}
%\ang

\ensuremath{\angle}
%?? x \and y
\ensuremath{\wedge}
% ?? \or
\ensuremath{\vee}
\ensuremath{\cap}
\ensuremath{\cup}
\ensuremath{\int}
% \there4
\ensuremath{\sim}
\ensuremath{\cong}
\ensuremath{\simeq}
\ensuremath{\asymp}
\ensuremath{\approx}
\ensuremath{\ne}
\ensuremath{\neq}

Re: [Orgmode] Bug: \log and friends are not recognized as math [6.34b]

2010-02-01 Thread Nick Dokos
Nick Dokos nicholas.do...@hp.com wrote:

 Carsten Dominik carsten.domi...@gmail.com wrote:
 
 
  So here is a request for a volunteer.  Go through the list below
  and mark all macros according to three criteria:
  
  1. Does not exist in TeX/LaTeX
  2. Requires math-mode
  3. Does not require math mode.
  4. Is there another category, like this cannot be used in math mode?
  
  That would be a big help and let me fix the issue brought up by Rasmus.
  
  As this is a long list, maybe first post here that you are going
  to do it, so that not several people work on the same task.
  
 

Let me try the explanation again:

1. If something is undefined in LaTeX, this is notated by commenting the item 
out
   in the appended LaTeX file, e.g.

%\nbsp

2. If something requires math mode, this is notated by marking the item like 
this:
   \ensuremath{\foo} in the appended LaTeX file, e.g.

\ensuremath{\vert}

3. If an item is defined and does not require math mode, it is left unadorned in
   the appended LaTeX file, e.g.

   \copy

Hope this is clearer,
Nick

 Here is a partial result (there is a largish portion that I have not tested 
 yet):
 
 1. This is notated by commenting out (except for the largish portion)
are undefined in LaTeX (some may be defined in external packages [1]).
 
 2. This is notated by using \ensuremath{\foo}.
 
 3. This is notated by \foo - neither commented out, nor \ensuramath'ed.
 
 4. I think the answer to this is no.
 
 5. There are some questionable items that cause problems but I have
not investigated further: \divide, \and and \or are the ones that
I remember. In addition, things like \sup2, \sup3 and \frac34 etc
are almost certainly problematic.
 
 This was pretty quick, so I may be able to do the unfinished block (but
 don't let that stop you!), but I might not be able to do more in-depth
 investigation of the questionable cases.
 
 Thanks,
 Nick
 
 [1] BTW, I never announced it because it is very much still a
 work-in-progress, and I didn't get as much done as I wanted over the
 vacation, but there is a zeroth approximation to the external
 dependencies doc on Worg:
 
 http://orgmode.org/worg/org-dependencies.php
 
 But since I haven't been able to do much in the last couple of weeks,
 it's probably better to have people look at it, maybe even work at it.
 
 ---
 \documentclass{article}
 
 \begin{document}
 % \nbsp
 % \iexcl
 % \cent
 % \pound
 % \curren
 % \yen
 % \brvbar
 
 \ensuremath{\vert}
 % \sect
 % \uml
 \copy
 % \ordf
 % \laquo
 \not
 % \shy
 % \reg
 % \macr
 \ensuremath{\deg}
 \ensuremath{\pm}
 %\plusmn
 \ensuremath{\sup }%2
 \ensuremath{\sup }%3
 
 \ensuremath{\acute x}
 % \micro
 % \para
 % \middot
 \ensuremath{\odot}
 \ensuremath{\star}
 %\cedil
 \ensuremath{\sup1}
 % \ordm
 % \raquo
 \ensuremath{\frac 1 4}
 \ensuremath{\frac 1 2}
 \ensuremath{\frac 3 4}
 % \iquest
 % \Agrave
 % \Aacute
 % \Acirc
 % \Atilde
 % \Auml
 % \Aring
 \AA
 % \AElig
 % \Ccedil
 % \Egrave
 % \Eacute
 % \Ecirc
 % \Euml
 % \Igrave
 % \Iacute
 % \Icirc
 % \Iuml
 % \ETH
 % \Ntilde
 % \Ograve
 % \Oacute
 % \Ocirc
 % \Otilde
 % \Ouml
 \ensuremath{\times}
 % \Oslash
 % \Ugrave
 % \Uacute
 % \Ucirc
 % \Uuml
 % \Yacute
 % \THORN
 % \szlig
 % \agrave
 % \aacute
 % \acirc
 % \atilde
 % \auml
 % \aring
 % \aelig
 % \ccedil
 % \checkmark
 % \egrave
 % \eacute
 % \ecirc
 % \euml
 % \igrave
 % \iacute
 % \icirc
 % \iuml
 % \eth
 % \ntilde
 % \ograve
 % \oacute
 % \ocirc
 % \otilde
 % \ouml
 \divide 
 
 % \oslash
 % \ugrave
 % \uacute
 % \ucirc
 % \uuml
 % \yacute
 % \thorn
 % \yuml
 % \fnof
 % \Alpha
 % \Beta
 \ensuremath{\Gamma}
 \ensuremath{\Delta}
 % \Epsilon
 % \Zeta
 % \Eta
 \ensuremath{\Theta}
 % \Iota
 % \Kappa
 \ensuremath{\Lambda}
 % \Mu
 % \Nu
 \ensuremath{\Xi}
 %\Omicron
 \ensuremath{\Pi}
 %\Rho
 \ensuremath{\Sigma}
 %\Tau
 \ensuremath{\Upsilon}
 \ensuremath{\Phi}
 %\Chi
 \ensuremath{\Psi}
 \ensuremath{\Omega}
 \ensuremath{\alpha}
 \ensuremath{\beta}
 \ensuremath{\gamma}
 \ensuremath{\delta}
 \ensuremath{\epsilon}
 \ensuremath{\varepsilon}
 \ensuremath{\zeta}
 \ensuremath{\eta}
 \ensuremath{\theta}
 \ensuremath{\iota}
 \ensuremath{\kappa}
 \ensuremath{\lambda}
 \ensuremath{\mu}
 \ensuremath{\nu}
 \ensuremath{\xi}
 %\omicron
 \ensuremath{\pi}
 \ensuremath{\rho}
 %\sigmaf
 \ensuremath{\varsigma}
 \ensuremath{\sigma}
 \ensuremath{\tau}
 \ensuremath{\upsilon}
 \ensuremath{\phi}
 \ensuremath{\chi}
 \ensuremath{\psi}
 \ensuremath{\omega}
 %\thetasym
 \ensuremath{\vartheta}
 %\upsih
 % \piv
 % \bull
 \ensuremath{\bullet}
 %\hellip
 \dots
 \ensuremath{\prime}
 %\Prime
 % \oline
 % \frasl
 % \weierp
 % \image
 % \real
 % \trade
 % \alefsym
 % \larr
 \ensuremath{\leftarrow}
 \ensuremath{\gets}
 %\uarr
 \ensuremath{\uparrow}
 %\rarr
 \ensuremath{\to}
 \ensuremath{\rightarrow}
 %\darr
 \ensuremath{\downarrow}
 %\harr
 \ensuremath{\leftrightarrow}
 %\crarr
 \ensuremath{\hookleftarrow}
 %\lArr
 

Re: [Orgmode] Bug: \log and friends are not recognized as math [6.34b]

2010-02-01 Thread Nick Dokos
I went through the rest - same conventions apply.


 1. If something is undefined in LaTeX, this is notated by commenting the item 
 out
in the appended LaTeX file, e.g.
 
 %\nbsp
 
 2. If something requires math mode, this is notated by marking the item like 
 this:
\ensuremath{\foo} in the appended LaTeX file, e.g.
 
 \ensuremath{\vert}
 
 3. If an item is defined and does not require math mode, it is left unadorned 
 in
the appended LaTeX file, e.g.
 
\copy
 


In addition, there are some symbols that are defined in packages. Where
I knew about that, I indicated the package in a comment. There are a
couple of things (\divide, \and and \or) that are defined, but they are
not useful as symbols - where applicable, I have indicated that in a
comment as well. And there is a bug in org-exp.el that caused \heartsuit
to be omitted and \diamondsuit to be duplicated:

...
(hearts) (diamondsuit.hearts;)
...

HTH,
Nick

---
\documentclass{article}

\begin{document}
% \nbsp
% \iexcl
% \cent
% \pound
% \curren
% \yen
% \brvbar

\ensuremath{\vert}
% \sect
% \uml
\copy
% \ordf
% \laquo
\not
% \shy
% \reg
% \macr
\ensuremath{\deg}
\ensuremath{\pm}
%\plusmn
\ensuremath{\sup }%2
\ensuremath{\sup }%3

\ensuremath{\acute x}
% \micro
% \para
% \middot
\ensuremath{\odot}
\ensuremath{\star}
%\cedil
\ensuremath{\sup1}
% \ordm
% \raquo
\ensuremath{\frac 1 4}
\ensuremath{\frac 1 2}
\ensuremath{\frac 3 4}
% \iquest
% \Agrave
% \Aacute
% \Acirc
% \Atilde
% \Auml
% \Aring
\AA
% \AElig
% \Ccedil
% \Egrave
% \Eacute
% \Ecirc
% \Euml
% \Igrave
% \Iacute
% \Icirc
% \Iuml
% \ETH
% \Ntilde
% \Ograve
% \Oacute
% \Ocirc
% \Otilde
% \Ouml
\ensuremath{\times}
% \Oslash
% \Ugrave
% \Uacute
% \Ucirc
% \Uuml
% \Yacute
% \THORN
% \szlig
% \agrave
% \aacute
% \acirc
% \atilde
% \auml
% \aring
% \aelig
% \ccedil
% \checkmark
% \egrave
% \eacute
% \ecirc
% \euml
% \igrave
% \iacute
% \icirc
% \iuml
% \eth
% \ntilde
% \ograve
% \oacute
% \ocirc
% \otilde
% \ouml
{\count240=240
  \divide\count240 by 2% not useful as a symbol
}
% \oslash
% \ugrave
% \uacute
% \ucirc
% \uuml
% \yacute
% \thorn
% \yuml
% \fnof
% \Alpha
% \Beta
\ensuremath{\Gamma}
\ensuremath{\Delta}
% \Epsilon
% \Zeta
% \Eta
\ensuremath{\Theta}
% \Iota
% \Kappa
\ensuremath{\Lambda}
% \Mu
% \Nu
\ensuremath{\Xi}
%\Omicron
\ensuremath{\Pi}
%\Rho
\ensuremath{\Sigma}
%\Tau
\ensuremath{\Upsilon}
\ensuremath{\Phi}
%\Chi
\ensuremath{\Psi}
\ensuremath{\Omega}
\ensuremath{\alpha}
\ensuremath{\beta}
\ensuremath{\gamma}
\ensuremath{\delta}
\ensuremath{\epsilon}
\ensuremath{\varepsilon}
\ensuremath{\zeta}
\ensuremath{\eta}
\ensuremath{\theta}
\ensuremath{\iota}
\ensuremath{\kappa}
\ensuremath{\lambda}
\ensuremath{\mu}
\ensuremath{\nu}
\ensuremath{\xi}
%\omicron
\ensuremath{\pi}
\ensuremath{\rho}
%\sigmaf
\ensuremath{\varsigma}
\ensuremath{\sigma}
\ensuremath{\tau}
\ensuremath{\upsilon}
\ensuremath{\phi}
\ensuremath{\chi}
\ensuremath{\psi}
\ensuremath{\omega}
%\thetasym
\ensuremath{\vartheta}
%\upsih
% \piv
% \bull
\ensuremath{\bullet}
%\hellip
\dots
\ensuremath{\prime}
%\Prime
% \oline
% \frasl
% \weierp
% \image
% \real
% \trade
% \alefsym
% \larr
\ensuremath{\leftarrow}
\ensuremath{\gets}
%\uarr
\ensuremath{\uparrow}
%\rarr
\ensuremath{\to}
\ensuremath{\rightarrow}
%\darr
\ensuremath{\downarrow}
%\harr
\ensuremath{\leftrightarrow}
%\crarr
\ensuremath{\hookleftarrow}
%\lArr
\ensuremath{\Leftarrow}
%\uArr
\ensuremath{\Uparrow}
%\rArr
\ensuremath{\Rightarrow}
%\dArr
\ensuremath{\Downarrow}
%\hArr
\ensuremath{\Leftrightarrow}
\ensuremath{\forall}
\part{foo}
\ensuremath{\partial}
%\exist
\ensuremath{\exists}
\empty
\ensuremath{\emptyset}
\ensuremath{\nabla}
%\isin
\ensuremath{\in}
\ensuremath{\notin}
\ensuremath{\ni}
\ensuremath{\prod}
\ensuremath{\sum}
%\minus
%\lowast
\ensuremath{\ast}
% \radic
% \prop
% \proptp
% \infin
\ensuremath{\infty}
%\ang

\ensuremath{\angle}
% \and  - not useful as a symbol
\ensuremath{\wedge}
% \or   - not useful as a symbol
\ensuremath{\vee}
\ensuremath{\cap}
\ensuremath{\cup}
\ensuremath{\int}
% \there4
\ensuremath{\sim}
\ensuremath{\cong}
\ensuremath{\simeq}
\ensuremath{\asymp}
\ensuremath{\approx}
\ensuremath{\ne}
\ensuremath{\neq}
\ensuremath{\equiv}
\ensuremath{\le}
\ensuremath{\ge}
%\sub
\ensuremath{\subset}
\ensuremath{\sup}
\ensuremath{\supset}
%\nsub
% \sube
% \supe
\ensuremath{\oplus}
\ensuremath{\otimes}
\ensuremath{\perp}
%\sdot
\ensuremath{\cdot}
\ensuremath{\lceil}
\ensuremath{\rceil}
\ensuremath{\lfloor}
\ensuremath{\rfloor}
% \lang
% \rang
% \loz
% \Diamond % latexsym.sty
% \spades
\ensuremath{\spadesuit}
% \clubs
\ensuremath{\clubsuit}
% \hearts
\ensuremath{\heartsuit}% added for this testing
\ensuremath{\diamondsuit}
% \diams
% \diamondsuit % duplicate
\ensuremath{\smile}
% \blacksmile
% \sad
% \quot
% \amp
% \lt
% \gt
% \OElig
% \oelig
% \Scaron
% \scaron
% \Yuml
\ensuremath{\circ}

Re: [Orgmode] Bug: \log and friends are not recognized as math [6.34b]

2010-01-31 Thread Carsten Dominik

Hi Rasmus, thanks for this.

Unfortunately, it turns out, all of these are already in org-html- 
entities.
But Org does not have a secure way to detect which of these macros  
require

math mode and which not.

So here is a request for a volunteer.  Go through the list below
and mark all macros according to three criteria:

1. Does not exist in TeX/LaTeX
2. Requires math-mode
3. Does not require math mode.
4. Is there another category, like this cannot be used in math mode?

That would be a big help and let me fix the issue brought up by Rasmus.

As this is a long list, maybe first post here that you are going
to do it, so that not several people work on the same task.

Thanks.

- Carsten

\nbsp
\iexcl
\cent
\pound
\curren
\yen
\brvbar
\vert
\sect
\uml
\copy
\ordf
\laquo
\not
\shy
\reg
\macr
\deg
\pm
\plusmn
\sup2
\sup3
\acute
\micro
\para
\middot
\odot
\star
\cedil
\sup1
\ordm
\raquo
\frac14
\frac12
\frac34
\iquest
\Agrave
\Aacute
\Acirc
\Atilde
\Auml
\Aring
\AA
\AElig
\Ccedil
\Egrave
\Eacute
\Ecirc
\Euml
\Igrave
\Iacute
\Icirc
\Iuml
\ETH
\Ntilde
\Ograve
\Oacute
\Ocirc
\Otilde
\Ouml
\times
\Oslash
\Ugrave
\Uacute
\Ucirc
\Uuml
\Yacute
\THORN
\szlig
\agrave
\aacute
\acirc
\atilde
\auml
\aring
\aelig
\ccedil
\checkmark
\egrave
\eacute
\ecirc
\euml
\igrave
\iacute
\icirc
\iuml
\eth
\ntilde
\ograve
\oacute
\ocirc
\otilde
\ouml
\divide
\oslash
\ugrave
\uacute
\ucirc
\uuml
\yacute
\thorn
\yuml
\fnof
\Alpha
\Beta
\Gamma
\Delta
\Epsilon
\Zeta
\Eta
\Theta
\Iota
\Kappa
\Lambda
\Mu
\Nu
\Xi
\Omicron
\Pi
\Rho
\Sigma
\Tau
\Upsilon
\Phi
\Chi
\Psi
\Omega
\alpha
\beta
\gamma
\delta
\epsilon
\varepsilon
\zeta
\eta
\theta
\iota
\kappa
\lambda
\mu
\nu
\xi
\omicron
\pi
\rho
\sigmaf
\varsigma
\sigma
\tau
\upsilon
\phi
\chi
\psi
\omega
\thetasym
\vartheta
\upsih
\piv
\bull
\bullet
\hellip
\dots
\prime
\Prime
\oline
\frasl
\weierp
\image
\real
\trade
\alefsym
\larr
\leftarrow
\gets
\uarr
\uparrow
\rarr
\to
\rightarrow
\darr
\downarrow
\harr
\leftrightarrow
\crarr
\hookleftarrow
\lArr
\Leftarrow
\uArr
\Uparrow
\rArr
\Rightarrow
\dArr
\Downarrow
\hArr
\Leftrightarrow
\forall
\part
\partial
\exist
\exists
\empty
\emptyset
\nabla
\isin
\in
\notin
\ni
\prod
\sum
\minus
\lowast
\ast
\radic
\prop
\proptp
\infin
\infty
\ang
\angle
\and
\wedge
\or
\vee
\cap
\cup
\int
\there4
\sim
\cong
\simeq
\asymp
\approx
\ne
\neq
\equiv
\le
\ge
\sub
\subset
\sup
\supset
\nsub
\sube
\supe
\oplus
\otimes
\perp
\sdot
\cdot
\lceil
\rceil
\lfloor
\rfloor
\lang
\rang
\loz
\Diamond
\spades
\spadesuit
\clubs
\clubsuit
\hearts
\diamondsuit
\diams
\diamondsuit
\smile
\blacksmile
\sad
\quot
\amp
\lt
\gt
\OElig
\oelig
\Scaron
\scaron
\Yuml
\circ
\tilde
\ensp
\emsp
\thinsp
\zwnj
\zwj
\lrm
\rlm
\ndash
\mdash
\lsquo
\rsquo
\sbquo
\ldquo
\rdquo
\bdquo
\dagger
\Dagger
\permil
\lsaquo
\rsaquo
\euro
\EUR
\EURdig
\EURhv
\EURcr
\EURtm
\arccos
\arcsin
\arctan
\arg
\cos
\cosh
\cot
\coth
\csc
\deg
\det
\dim
\exp
\gcd
\hom
\inf
\ker
\lg
\lim
\liminf
\limsup
\ln
\log
\max
\min
\Pr
\sec
\sin
\sinh
\sup
\tan
\tanh



___
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] Bug: \log and friends are not recognized as math [6.34b]

2010-01-30 Thread Rasmus Pank Roulund

Hi Carsten,


can you make me a list of macros that should be treated in this way?

If you load AUCTeX with math key bindings
i.e.:
  M-x latex-mode RET
  M-x latex-math-mode RET

You will get a list of symbols under Math--Log-like. It is defined in 
latex.el.


Here is a list of log-like functions according to AUCTeX.

(nil arccos Log-like)
(nil arcsin Log-like)
(nil arctan Log-like)
(nil arg Log-like)
(?\C-c cos Log-like)
(nil cosh Log-like)
(nil cot Log-like)
(nil coth Log-like)
(nil csc Log-like)
(nil deg Log-like)
(?\C-d det Log-like)
(nil dim Log-like)
(?\C-e exp Log-like)
(nil gcd Log-like)
(nil hom Log-like)
(?\C-_ inf Log-like)
(nil ker Log-like)
(nil lg Log-like)
(?\C-l lim Log-like)
(nil liminf Log-like)
(nil limsup Log-like)
(nil ln Log-like)
(nil log Log-like)
(nil max Log-like)
(nil min Log-like)
(nil Pr Log-like)
(nil sec Log-like)
(?\C-s sin Log-like)
(nil sinh Log-like)
(?\C-^ sup Log-like)
(?\C-t tan Log-like)
(nil tanh Log-like)

Is that sufficient?


I guess we can simply add these to org-html-entities t=and that might
already solve the issue.

You are probably right :)

Thanks,
Rasmus


___
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] Bug: \log and friends are not recognized as math [6.34b]

2010-01-28 Thread Carsten Dominik

Hi Rasmus,

can you make me a list of macros that should be treated in this way?
I guess we can simply add these to org-html-entities t=and that might  
already solve the issue.


- Carsten

On Jan 17, 2010, at 12:30 PM, Rasmus Pank Roulund wrote:


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?   
See


http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


Hello,
It seems a bit extravagant to include all of the system-info so I  
removed

most of it . . .

Anyhow Org does not recognized \log and friends as math when using  
the latex-exporter.


Try the following minimal example

\log is math. so is \ln

The LaTeX result is:

\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{soul}
\usepackage{amssymb}
\usepackage{hyperref}

% NOTICE THE TITLE.
\title{\log is math. so is \ln}
% It should have been $\log$ and $\ln$
\author{Rasmus}
\date{17 January 2010}

\begin{document}

\maketitle

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

\end{document}

Would it be possible to adopt \log-like functions as math? \cos, \tan,
\sin are also affected.
It is so convenient to write \log-like but I have to fix the exported
latex file manually afterward.

BTW: I created a very complex econometric note in org. Once I had
squeezed the LaTeX-related bugs (math typos) the export was /perfect/!
(except for the \log's). Good work!

--Rasmus


Emacs  : GNU Emacs 23.1.91.1 (i686-pc-linux-gnu, GTK+ Version 2.18.5)
of 2010-01-15 on pank
Package: Org-mode version 6.34b


___
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] Bug: \log and friends are not recognized as math [6.34b]

2010-01-17 Thread Rasmus Pank Roulund

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


Hello,
It seems a bit extravagant to include all of the system-info so I removed
most of it . . .

Anyhow Org does not recognized \log and friends as math when using the 
latex-exporter.


Try the following minimal example

\log is math. so is \ln

The LaTeX result is:

\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{soul}
\usepackage{amssymb}
\usepackage{hyperref}

% NOTICE THE TITLE.
\title{\log is math. so is \ln}
% It should have been $\log$ and $\ln$
\author{Rasmus}
\date{17 January 2010}

\begin{document}

\maketitle

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

\end{document}

Would it be possible to adopt \log-like functions as math? \cos, \tan,
\sin are also affected.
It is so convenient to write \log-like but I have to fix the exported
latex file manually afterward.

BTW: I created a very complex econometric note in org. Once I had
squeezed the LaTeX-related bugs (math typos) the export was /perfect/!
(except for the \log's). Good work!

--Rasmus


Emacs  : GNU Emacs 23.1.91.1 (i686-pc-linux-gnu, GTK+ Version 2.18.5)
 of 2010-01-15 on pank
Package: Org-mode version 6.34b


___
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