Re: [Orgmode] Org Mode Latex Export Customization of org-export-latex-emphasis-alist

2010-06-29 Thread Gaurav Sharma
Dear Giovanni,

Thanks much for your response. I'm using Org-mode version 6.36. I'm
guessing (based on what I read up) that it will not show up in emacs
until you load org-latex.

I also found a useful thread on this topic at:

http://osdir.com/ml/emacs-orgmode-gnu/2009-11/msg01028.html

which also indicated that @ and ! interfere with some regexp. The
solutions suggested there were to either:

1) Add these through the Org->Customize interface
or
2) Place in .emacs before org is loaded.

Neither of these however seem to help in my case. I also learn't about
org-submit-bug-report, and am including the full bug report below, in
case that suggests something I am missing.

I also thought of using alternate special characters as as emphasis
delimiters but coudn't readily find ones that weren't taken - just as
you also point out.  At the moment, I've given up on trying to resolve
this and am directly using \alert{} where I need it.

Thanks again.

-Gaurav

 Bug report - including configuration _


Emacs  : GNU Emacs 22.3.1 (i386-mingw-nt5.2.3790)
 of 2008-09-06 on SOFT-MJASON
Package: Org-mode version 6.36

current state:
==
(setq
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-export-latex-format-toc-function 'org-export-latex-format-toc-default
 org-export-preprocess-hook '(org-export-blocks-preprocess)
 org-tab-first-hook '(org-hide-block-toggle-maybe)
 org-src-mode-hook '(org-src-mode-configure-edit-buffer)
 org-confirm-shell-link-function 'yes-or-no-p
 org-export-first-hook '(org-beamer-initialize-open-trackers)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-cycle-hook '(org-cycle-hide-archived-subtrees
org-cycle-hide-drawers org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
 org-export-latex-classes '(("beamer"
 
"\\documentclass[t]{beamer}\n\\usepackage[utf8]{inputenc}\n\\usepackage[T1]{fontenc}
\n\\usepackage{pgf}
\n\\usepackage{amsmath}\n\\usepackage{amssymb}\n\\usepackage{graphicx}\n\\usepackage{graphics}\n\\usepackage{listings}\n\\usepackage{hyperref}"
org-beamer-sectioning)
("article" "\\documentclass[11pt]{article}" 
("\\section{%s}" .
"\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}")
 ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" .
"\\subparagraph*{%s}"))
("report" "\\documentclass[11pt]{report}" 
("\\part{%s}" .
"\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}")
 ("\\section{%s}" . "\\section*{%s}") 
("\\subsection{%s}" .
"\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
("book" "\\documentclass[11pt]{book}" ("\\part{%s}" 
.
"\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" .
"\\section*{%s}")
 ("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
("beamer" "\\documentclass{beamer}" 
org-beamer-sectioning))
 org-export-preprocess-before-normalizing-links-hook
'(org-remove-file-link-modifiers)
 org-mode-hook '((lambda nil (setq org-mouse-context-menu-function
(quote org-mouse-context-menu))
  (when (memq (quote context-menu) org-mouse-features) 
(org-defkey
org-mouse-map [mouse-3] nil)
   (org-defkey org-mode-map [mouse-3] (quote 
org-mouse-show-context-menu)))
  (org-defkey org-mode-map [down-mouse-1] (quote 
org-mouse-down-mouse))
  (when (memq (quote context-menu) org-mouse-features) 
(org-defkey
org-mouse-map [C-drag-mouse-1] (quote org-mouse-move-tree))
   (org-defkey org-mouse-map [C-down-mouse-1] (quote
org-mouse-move-tree-start)))
  (when (memq (quote yank-link) org-mouse-features) (org-defkey
org-mode-map [S-mouse-2] (quote org-mouse-yank-link))
   (org-defkey org-mode-map [drag-mouse-3] (quote 
org-mouse-yank-link)))
  (when (memq (quote move-tree) org-mouse-features) (org-defkey
org-mouse-map [drag-mouse-3] (quote org-mouse-move-tree))
   (org-defkey org-mouse-map [down-mouse-3] (quote
org-mouse-move-tree-start)))
  (when (memq (quote activate-stars) org-mouse-features)
   (font-lock-add-keywords nil (\` (((\, outline-regexp) 0 (\` 
(face
org-link mouse-face highlight keymap (\, org-mouse-map))) (quote
prepend t))
  (when (memq (quote activate-bullets) org-mouse-features)
   (font-lock-add-keywords nil
(\` (("^[   ]*\\([-+*]\\|[0-9]+[.)]\\) +" (1 (\` (face 
org-link
keymap (\, org-mouse-map) mouse-face highlight)) (quote prepend)
t)
   )
  (when (memq (quote activate-checkboxes) org-mouse-feat

Re: Re: [Orgmode] Org Mode Latex Export Customization of org-export-latex-emphasis-alist

2010-06-29 Thread Giovanni Ridolfi
Giovanni Ridolfi  writes:

>> (setq org-export-latex-emphasis-alist
>
> I -[Org 6.36 trans]-  don't have this variable. ?-). 
Hey,  you do   have it, 
look in the org-latex.el file!

G

___
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] Org Mode Latex Export Customization of org-export-latex-emphasis-alist

2010-06-29 Thread Giovanni Ridolfi
Gaurav Sharma  writes:

> customize the
> org-export-latex-emphasis-alist by using the following in my .emacs
>
> (setq org-export-latex-emphasis-alist

I -[Org 6.36 trans]- don't have this variable. ?-). 
which org-version do you use? you can see with:

M-x org-version 

>  (quote (("*" "\\textbf{%s}" nil)
> ("/" "\\emph{%s}" nil) ("_" "\\alert{%s}" nil) ("+" "\\st{%s}" nil)
> ("=" "\\verb" t) ("@" "\\alert{%s}" nil) ("!" "\\note{%s}" nil) ("~"
> "\\verb" t
>

> However, the definitions of "@" and "!" do not seem to take effect at
> all. 
Could you please change the characters avoiding "@" "!" ?
(I know there is not much choice of characters that can be used as 
"emphasis delimiters" )

But I think that "@" "!" does interfere with some regexp:
e.g.  "@" is used in the HTML export.

cheers, 
Giovanni

___
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