all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Bug: LaTeX export of plain lists inside description lists [6.34trans]
@ 2010-03-28 12:23 Günter Kolousek
  2010-03-29  9:40 ` Christian Egli
  2010-03-29 10:22 ` Carsten Dominik
  0 siblings, 2 replies; 4+ messages in thread
From: Günter Kolousek @ 2010-03-28 12:23 UTC (permalink / raw)
  To: emacs-orgmode


Using the following orgmode text:

* Test

   - XXX ::

     /testing/

     + one plain list item
     + just another one

     here follows a plain paragraph

     + and another new plain list
     + second item

     next new paragraph

the LaTeX exporter produces:

\section{Test}
\label{sec-1}


\begin{itemize}
\item[XXX]

     \emph{testing}

\begin{itemize}
\item one plain list item
\item just another one
\end{itemize}

\item[XXX]and another new plain list
\item[XXX]second item

     next new paragraph
\end{itemize}

The HTML export works fine!

Sorry, for not providing a patch
Günter




Emacs  : GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.18.0)
  of 2009-09-27 on palmer, modified by Debian
Package: Org-mode version 6.34trans

current state:
==============
(setq
  org-log-done 'time
  org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
  org-special-ctrl-a/e t
  org-level-color-stars-only t
  org-load-hook '((lambda nil (textmate-mode) (toggle-truncate-lines 1)
                   (define-key org-mode-map (kbd "C-<prior>")
                    (quote elscreen-previous))
                   (define-key org-mode-map (kbd "C-<next>")
                    (quote elscreen-next))
                   (define-key org-mode-map [C-tab] (quote ido-switch-buffer))
                   (define-key org-mode-map (kbd "M-+") (quote org-complete))
                   (define-key org-mode-map (kbd "M-n")
                    (quote outline-next-visible-heading))
                   (define-key org-mode-map (kbd "M-p")
                    (quote outline-previous-visible-heading))
                   (define-key org-mode-map (kbd "C-+")
                    (quote org-force-cycle-archived))
                   )
                  )
  org-hide-leading-stars t
  org-completion-use-ido t
  org-metaup-hook '(org-babel-load-in-session-maybe)
  org-after-todo-state-change-hook '(org-clock-out-if-current
                                     wicked/org-clock-out-if-waiting
                                     wicked/org-clock-in-if-starting)
  org-babel-interpreters '("emacs-lisp" "python" "sh")
  org-odd-levels-only t
  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-babel-hide-result-toggle-maybe
                       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 '(("article"
 
"\\documentclass[11pt]{article}\n\\usepackage[AUTO]{inputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage{graphicx}\n\\usepackage{longtable}\n\\usepackage{float}\n\\usepackage{wrapfig}\n\\usepackage{soul}\n\\usepackage{latexsym}\n\\usepackage{amssymb}\n\\usepackage{hyperref}"
                              ("\\section{%s}" . "\\section*{%s}")
                              ("\\subsection{%s}" . "\\subsection*{%s}")
                              ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
                              ("\\paragraph{%s}" . "\\paragraph*{%s}")
                              ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
                             ("report"
 
"\\documentclass[11pt]{report}\n\\usepackage[AUTO]{inputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage{graphicx}\n\\usepackage{longtable}\n\\usepackage{float}\n\\usepackage{wrapfig}\n\\usepackage{soul}\n\\usepackage{latexsym}\n\\usepackage{amssymb}\n\\usepackage{hyperref}"
                              ("\\part{%s}" . "\\part*{%s}")
                              ("\\chapter{%s}" . "\\chapter*{%s}")
                              ("\\section{%s}" . "\\section*{%s}")
                              ("\\subsection{%s}" . "\\subsection*{%s}")
                              ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
                             ("book"
 
"\\documentclass[11pt]{book}\n\\usepackage[AUTO]{inputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage{graphicx}\n\\usepackage{longtable}\n\\usepackage{float}\n\\usepackage{wrapfig}\n\\usepackage{soul}\n\\usepackage{latexsym}\n\\usepackage{amssymb}\n\\usepackage{hyperref}"
                              ("\\part{%s}" . "\\part*{%s}")
                              ("\\chapter{%s}" . "\\chapter*{%s}")
                              ("\\section{%s}" . "\\section*{%s}")
                              ("\\subsection{%s}" . "\\subsection*{%s}")
                              ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
                             ("beamer"
 
"\\documentclass{beamer}\n\\usepackage[AUTO]{inputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage{graphicx}\n\\usepackage{longtable}\n\\usepackage{float}\n\\usepackage{wrapfig}\n\\usepackage{soul}\n\\usepackage{latexsym}\n\\usepackage{amssymb}\n\\usepackage{hyperref}" 
org-beamer-sectioning)
                             ("scrartcl"
 
"\\documentclass[12pt]{scrartcl}\n\\usepackage[AUTO]{inputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage{graphicx}\n\\usepackage{longtable}\n\\usepackage{float}\n\\usepackage{wrapfig}\n\\usepackage{soul}\n\\usepackage{latexsym}\n\\usepackage{amssymb}\n\\usepackage{hyperref}"
                              ("\\section{%s}" . "\\section*{%s}")
                              ("\\subsection{%s}" . "\\subsection*{%s}")
                              ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
                             )
  org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers)
  org-mode-hook '((lambda nil
                   (org-add-hook (quote change-major-mode-hook)
                    (quote org-babel-show-result-all) (quote append)
                    (quote local))
                   )
                  org-babel-result-hide-spec org-babel-hide-all-hashes
                  #[nil "\300\301\302\303\304$\207"
                    [org-add-hook change-major-mode-hook org-show-block-all
                     append local]
                    5]
                  )
  org-ctrl-c-ctrl-c-hook '(org-babel-lob-execute-maybe org-babel-hash-at-point
                           org-babel-execute-src-block-maybe)
  org-confirm-elisp-link-function 'yes-or-no-p
  org-export-interblocks '((lob org-babel-exp-lob-one-liners)
                           (src org-babel-exp-inline-src-blocks))
  org-occur-hook '(org-first-headline-recenter)
  org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code)
  org-time-stamp-custom-formats '("<%Y-%m-%d>" . "<%Y-%m-%d  %H:%M>")
  org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc
                                org-beamer-auto-fragile-frames
                                org-beamer-place-default-actions-for-lists)
  org-metadown-hook '(org-babel-pop-to-session-maybe)
  org-export-blocks '((src org-babel-exp-src-blocks nil)
                      (comment org-export-blocks-format-comment t)
                      (ditaa org-export-blocks-format-ditaa nil)
                      (dot org-export-blocks-format-dot nil))
  )

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bug: LaTeX export of plain lists inside description lists [6.34trans]
  2010-03-28 12:23 Bug: LaTeX export of plain lists inside description lists [6.34trans] Günter Kolousek
@ 2010-03-29  9:40 ` Christian Egli
  2010-03-29 10:22 ` Carsten Dominik
  1 sibling, 0 replies; 4+ messages in thread
From: Christian Egli @ 2010-03-29  9:40 UTC (permalink / raw)
  To: emacs-orgmode

Günter Kolousek <ko@htlwrn.ac.at> writes:

>     + one plain list item
>     + just another one
>
>     here follows a plain paragraph
>
>     + and another new plain list
>     + second item

AFAIK this is a know bug in the LaTeX exporter which is hard to fix.
Search the archives for a more detailed explanation.

HTH
Christian

-- 
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Zürich, Switzerland

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bug: LaTeX export of plain lists inside description lists [6.34trans]
  2010-03-28 12:23 Bug: LaTeX export of plain lists inside description lists [6.34trans] Günter Kolousek
  2010-03-29  9:40 ` Christian Egli
@ 2010-03-29 10:22 ` Carsten Dominik
  2010-03-29 11:49   ` Bastien
  1 sibling, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2010-03-29 10:22 UTC (permalink / raw)
  To: Günter Kolousek, Bastien; +Cc: emacs org-mode mailing list

Hi Günter,

this is a known limitation of the LaTeX exporter.  You cannot
have text between two items of a plain list.

Bastien, when you ever have a day of programming time - this
would be a great one to address.

- Carsten

On Mar 28, 2010, at 2:23 PM, Günter Kolousek wrote:

>
> Using the following orgmode text:
>
> * Test
>
>  - XXX ::
>
>    /testing/
>
>    + one plain list item
>    + just another one
>
>    here follows a plain paragraph
>
>    + and another new plain list
>    + second item
>
>    next new paragraph
>
> the LaTeX exporter produces:
>
> \section{Test}
> \label{sec-1}
>
>
> \begin{itemize}
> \item[XXX]
>
>    \emph{testing}
>
> \begin{itemize}
> \item one plain list item
> \item just another one
> \end{itemize}
>
> \item[XXX]and another new plain list
> \item[XXX]second item
>
>    next new paragraph
> \end{itemize}
>
> The HTML export works fine!
>
> Sorry, for not providing a patch
> Günter
>
>
>
>
> Emacs  : GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.18.0)
> of 2009-09-27 on palmer, modified by Debian
> Package: Org-mode version 6.34trans
>
> current state:
> ==============
> (setq
> org-log-done 'time
> org-export-latex-after-initial-vars-hook '(org-beamer-after-initial- 
> vars)
> org-special-ctrl-a/e t
> org-level-color-stars-only t
> org-load-hook '((lambda nil (textmate-mode) (toggle-truncate-lines 1)
>                  (define-key org-mode-map (kbd "C-<prior>")
>                   (quote elscreen-previous))
>                  (define-key org-mode-map (kbd "C-<next>")
>                   (quote elscreen-next))
>                  (define-key org-mode-map [C-tab] (quote ido-switch- 
> buffer))
>                  (define-key org-mode-map (kbd "M-+") (quote org- 
> complete))
>                  (define-key org-mode-map (kbd "M-n")
>                   (quote outline-next-visible-heading))
>                  (define-key org-mode-map (kbd "M-p")
>                   (quote outline-previous-visible-heading))
>                  (define-key org-mode-map (kbd "C-+")
>                   (quote org-force-cycle-archived))
>                  )
>                 )
> org-hide-leading-stars t
> org-completion-use-ido t
> org-metaup-hook '(org-babel-load-in-session-maybe)
> org-after-todo-state-change-hook '(org-clock-out-if-current
>                                    wicked/org-clock-out-if-waiting
>                                    wicked/org-clock-in-if-starting)
> org-babel-interpreters '("emacs-lisp" "python" "sh")
> org-odd-levels-only t
> 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-babel-hide-result-toggle-maybe
>                      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 '(("article"
> "\\documentclass[11pt]{article}\n\\usepackage[AUTO]{inputenc}\n\ 
> \usepackage[T1]{fontenc}\n\\usepackage{graphicx}\n\ 
> \usepackage{longtable}\n\\usepackage{float}\n\\usepackage{wrapfig}\n\ 
> \usepackage{soul}\n\\usepackage{latexsym}\n\\usepackage{amssymb}\n\ 
> \usepackage{hyperref}"
>                             ("\\section{%s}" . "\\section*{%s}")
>                             ("\\subsection{%s}" . "\\subsection*{%s}")
>                             ("\\subsubsection{%s}" . "\ 
> \subsubsection*{%s}")
>                             ("\\paragraph{%s}" . "\\paragraph*{%s}")
>                             ("\\subparagraph{%s}" . "\ 
> \subparagraph*{%s}"))
>                            ("report"
> "\\documentclass[11pt]{report}\n\\usepackage[AUTO]{inputenc}\n\ 
> \usepackage[T1]{fontenc}\n\\usepackage{graphicx}\n\ 
> \usepackage{longtable}\n\\usepackage{float}\n\\usepackage{wrapfig}\n\ 
> \usepackage{soul}\n\\usepackage{latexsym}\n\\usepackage{amssymb}\n\ 
> \usepackage{hyperref}"
>                             ("\\part{%s}" . "\\part*{%s}")
>                             ("\\chapter{%s}" . "\\chapter*{%s}")
>                             ("\\section{%s}" . "\\section*{%s}")
>                             ("\\subsection{%s}" . "\\subsection*{%s}")
>                             ("\\subsubsection{%s}" . "\ 
> \subsubsection*{%s}"))
>                            ("book"
> "\\documentclass[11pt]{book}\n\\usepackage[AUTO]{inputenc}\n\ 
> \usepackage[T1]{fontenc}\n\\usepackage{graphicx}\n\ 
> \usepackage{longtable}\n\\usepackage{float}\n\\usepackage{wrapfig}\n\ 
> \usepackage{soul}\n\\usepackage{latexsym}\n\\usepackage{amssymb}\n\ 
> \usepackage{hyperref}"
>                             ("\\part{%s}" . "\\part*{%s}")
>                             ("\\chapter{%s}" . "\\chapter*{%s}")
>                             ("\\section{%s}" . "\\section*{%s}")
>                             ("\\subsection{%s}" . "\\subsection*{%s}")
>                             ("\\subsubsection{%s}" . "\ 
> \subsubsection*{%s}"))
>                            ("beamer"
> "\\documentclass{beamer}\n\\usepackage[AUTO]{inputenc}\n\ 
> \usepackage[T1]{fontenc}\n\\usepackage{graphicx}\n\ 
> \usepackage{longtable}\n\\usepackage{float}\n\\usepackage{wrapfig}\n\ 
> \usepackage{soul}\n\\usepackage{latexsym}\n\\usepackage{amssymb}\n\ 
> \usepackage{hyperref}" org-beamer-sectioning)
>                            ("scrartcl"
> "\\documentclass[12pt]{scrartcl}\n\\usepackage[AUTO]{inputenc}\n\ 
> \usepackage[T1]{fontenc}\n\\usepackage{graphicx}\n\ 
> \usepackage{longtable}\n\\usepackage{float}\n\\usepackage{wrapfig}\n\ 
> \usepackage{soul}\n\\usepackage{latexsym}\n\\usepackage{amssymb}\n\ 
> \usepackage{hyperref}"
>                             ("\\section{%s}" . "\\section*{%s}")
>                             ("\\subsection{%s}" . "\\subsection*{%s}")
>                             ("\\subsubsection{%s}" . "\ 
> \subsubsection*{%s}"))
>                            )
> org-export-preprocess-before-normalizing-links-hook '(org-remove- 
> file-link-modifiers)
> org-mode-hook '((lambda nil
>                  (org-add-hook (quote change-major-mode-hook)
>                   (quote org-babel-show-result-all) (quote append)
>                   (quote local))
>                  )
>                 org-babel-result-hide-spec org-babel-hide-all-hashes
>                 #[nil "\300\301\302\303\304$\207"
>                   [org-add-hook change-major-mode-hook org-show- 
> block-all
>                    append local]
>                   5]
>                 )
> org-ctrl-c-ctrl-c-hook '(org-babel-lob-execute-maybe org-babel-hash- 
> at-point
>                          org-babel-execute-src-block-maybe)
> org-confirm-elisp-link-function 'yes-or-no-p
> org-export-interblocks '((lob org-babel-exp-lob-one-liners)
>                          (src org-babel-exp-inline-src-blocks))
> org-occur-hook '(org-first-headline-recenter)
> org-export-preprocess-before-selecting-backend-code-hook '(org- 
> beamer-select-beamer-code)
> org-time-stamp-custom-formats '("<%Y-%m-%d>" . "<%Y-%m-%d  %H:%M>")
> org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix- 
> toc
>                               org-beamer-auto-fragile-frames
>                               org-beamer-place-default-actions-for- 
> lists)
> org-metadown-hook '(org-babel-pop-to-session-maybe)
> org-export-blocks '((src org-babel-exp-src-blocks nil)
>                     (comment org-export-blocks-format-comment t)
>                     (ditaa org-export-blocks-format-ditaa nil)
>                     (dot org-export-blocks-format-dot nil))
> )
>
>
> _______________________________________________
> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bug: LaTeX export of plain lists inside description lists [6.34trans]
  2010-03-29 10:22 ` Carsten Dominik
@ 2010-03-29 11:49   ` Bastien
  0 siblings, 0 replies; 4+ messages in thread
From: Bastien @ 2010-03-29 11:49 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: mailing list

Carsten Dominik <carsten.dominik@gmail.com> writes:

> Bastien, when you ever have a day of programming time - this
> would be a great one to address.

Okay, I put this on top of the list.

Sadly enough, I don't think I'll have a day of programming this 
month, hopefully within the next two months.

Happy to help with Worg and maintainance in the meantime!

Best to all,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-03-29 11:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-28 12:23 Bug: LaTeX export of plain lists inside description lists [6.34trans] Günter Kolousek
2010-03-29  9:40 ` Christian Egli
2010-03-29 10:22 ` Carsten Dominik
2010-03-29 11:49   ` Bastien

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.