emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Incorrect LaTex Export
@ 2011-05-26  5:32 Jai Bharat Patel
  2011-05-27 14:59 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Jai Bharat Patel @ 2011-05-26  5:32 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 3979 bytes --]

Hi,

The following fragment(in minimal.org) used to work correctly with
org-mode-7.3 when exporting to pdf (C-c C-e d), but not working with latest
code in the latest snapshot

#+TITLE:
#+AUTHOR:
#+EMAIL:
#+DATE:
#+OPTIONS: toc:nil ^:nil

#+LATEX_HEADER: \usepackage{listings,babel}
#+LATEX_HEADER: \lstset{breaklines=true, basicstyle=\ttfamily,
frame=shadowbox}

#+BEGIN_LaTeX
\begin{lstlisting}
  ----------
  Item List:
  ----------
  - Item 1
  - Item 2
  - Item 3
\end{lstlisting}
#+END_LaTeX


Please find the working and working versions of exported tex and pdf files.

Emacs  : GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)  of 2011-03-21 on
3249CTO
Working : Package: Org-mode version 7.3
Non-Working: Package: Org-mode version 7.5 (release_7.5.304.gbd91.dirty)


current state:
==============
(setq
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
 org-speed-command-hook '(org-speed-command-default-hook
org-babel-speed-command-hook)
 org-babel-load-languages '((emacs-lisp . t) (dot . t) (latex . t) (ditaa .
t) (R . t) (python . t) (ruby . t) (gnuplot . t) (clojure . t) (sh . t))
 org-hide-leading-stars t
 org-clock-into-drawer "CLOCK"
 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)
 org-babel-tangle-lang-exts '(("clojure" . "clj") ("ruby" . "rb") ("python"
. "py") ("latex" . "tex") ("emacs-lisp" . "el"))
 org-agenda-text-search-extra-files '(agenda-archives)
 org-startup-folded nil
 org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup)
 org-deadline-warning-days 7
 org-export-latex-format-toc-function 'org-export-latex-format-toc-default
 org-agenda-skip-scheduled-if-done t
 org-tab-first-hook '(org-hide-block-toggle-maybe
org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe)
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
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-babel-pre-tangle-hook '(save-buffer)
 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-preprocess-before-normalizing-links-hook
'(org-remove-file-link-modifiers)
 org-timeline-show-empty-dates t
 org-mode-hook '((lambda nil (org-add-hook (quote change-major-mode-hook)
(quote org-show-block-all) (quote append) (quote local)))
                 (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)
 org-refile-targets '(("daily.org" :maxlevel . 1) ("someday.org" :level .
2))
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
org-babel-execute-safely-maybe)
 org-return-follows-link t
 org-confirm-elisp-link-function 'yes-or-no-p
 org-log-into-drawer t
 org-agenda-start-on-weekday nil
 org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src
org-babel-exp-inline-src-blocks))
 org-clock-out-hook '(jai/remove-empty-drawer-on-clock-out)
 org-agenda-skip-deadline-if-done t
 org-reverse-note-order t
 org-insert-mode-line-in-empty-file t
 org-occur-hook '(org-first-headline-recenter)
 org-from-is-user-regexp nil
 org-export-preprocess-before-selecting-backend-code-hook
'(org-beamer-select-beamer-code)
 org-export-preprocess-after-include-files-hook
'(org-export-blocks-preprocess)
 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))
 )



Thank you,
Jai

[-- Attachment #1.2: Type: text/html, Size: 5345 bytes --]

[-- Attachment #2: minimal.org --]
[-- Type: application/octet-stream, Size: 341 bytes --]

#+TITLE:
#+AUTHOR:
#+EMAIL: 
#+DATE:
#+OPTIONS: toc:nil ^:nil

#+LATEX_HEADER: \usepackage{listings,babel}
#+LATEX_HEADER: \lstset{breaklines=true, basicstyle=\ttfamily, frame=shadowbox}

#+BEGIN_LaTeX
\begin{lstlisting}
  ----------
  Item List:
  ----------
  - Item 1
  - Item 2
  - Item 3
\end{lstlisting}
#+END_LaTeX

[-- Attachment #3: minimal_notworking_latest.pdf --]
[-- Type: application/pdf, Size: 33513 bytes --]

[-- Attachment #4: minimal_notworking_latest.tex --]
[-- Type: application/x-tex, Size: 775 bytes --]

[-- Attachment #5: minimal_working_7.3.pdf --]
[-- Type: application/pdf, Size: 31737 bytes --]

[-- Attachment #6: minimal_working_7.3.tex --]
[-- Type: application/x-tex, Size: 735 bytes --]

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

* Re: Incorrect LaTex Export
  2011-05-26  5:32 Incorrect LaTex Export Jai Bharat Patel
@ 2011-05-27 14:59 ` Nicolas Goaziou
  2011-05-28  3:37   ` Jai Bharat Patel
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2011-05-27 14:59 UTC (permalink / raw)
  To: Jai Bharat Patel; +Cc: emacs-orgmode

Hello,

Jai Bharat Patel <i@jaib.net> writes:

> The following fragment(in minimal.org) used to work correctly with
> org-mode-7.3 when exporting to pdf (C-c C-e d), but not working with latest
> code in the latest snapshot
>
> #+TITLE:
> #+AUTHOR:
> #+EMAIL:
> #+DATE:
> #+OPTIONS: toc:nil ^:nil
>
> #+LATEX_HEADER: \usepackage{listings,babel}
> #+LATEX_HEADER: \lstset{breaklines=true, basicstyle=\ttfamily,
> frame=shadowbox}
>
> #+BEGIN_LaTeX
> \begin{lstlisting}
>   ----------
>   Item List:
>   ----------
>   - Item 1
>   - Item 2
>   - Item 3
> \end{lstlisting}
> #+END_LaTeX

This should now be fixed in master. Don't hesitate to report back if it
isn't. Thanks for reporting this !

Regards,

-- 
Nicolas Goaziou

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

* Re: Incorrect LaTex Export
  2011-05-27 14:59 ` Nicolas Goaziou
@ 2011-05-28  3:37   ` Jai Bharat Patel
  0 siblings, 0 replies; 3+ messages in thread
From: Jai Bharat Patel @ 2011-05-28  3:37 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 946 bytes --]

Thank you very much, Nicolas. Yes, it is working now.

Best Regards,
Jai

On Fri, May 27, 2011 at 7:59 AM, Nicolas Goaziou <n.goaziou@gmail.com>wrote:

> Hello,
>
> Jai Bharat Patel <i@jaib.net> writes:
>
> > The following fragment(in minimal.org) used to work correctly with
> > org-mode-7.3 when exporting to pdf (C-c C-e d), but not working with
> latest
> > code in the latest snapshot
> >
> > #+TITLE:
> > #+AUTHOR:
> > #+EMAIL:
> > #+DATE:
> > #+OPTIONS: toc:nil ^:nil
> >
> > #+LATEX_HEADER: \usepackage{listings,babel}
> > #+LATEX_HEADER: \lstset{breaklines=true, basicstyle=\ttfamily,
> > frame=shadowbox}
> >
> > #+BEGIN_LaTeX
> > \begin{lstlisting}
> >   ----------
> >   Item List:
> >   ----------
> >   - Item 1
> >   - Item 2
> >   - Item 3
> > \end{lstlisting}
> > #+END_LaTeX
>
> This should now be fixed in master. Don't hesitate to report back if it
> isn't. Thanks for reporting this !
>
> Regards,
>
> --
> Nicolas Goaziou
>

[-- Attachment #2: Type: text/html, Size: 1524 bytes --]

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

end of thread, other threads:[~2011-05-28  3:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-26  5:32 Incorrect LaTex Export Jai Bharat Patel
2011-05-27 14:59 ` Nicolas Goaziou
2011-05-28  3:37   ` Jai Bharat Patel

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).