Hi Nicolas,
I need additional information with respect to this patch:
diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index 4c4d540..75ee548 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -2423,7 +2423,7 @@ INDENT was the original indentation of the
block."
(concat (car org-export-latex-verbatim-
wrap)
rtn (cdr org-export-latex-
verbatim-wrap)))
'(org-protected t))
- "#+END_LaTeX\n"))
+ "#+END_LaTeX"))
((eq backend 'ascii)
;; This is not HTML or LaTeX, so just make it an example.
(setq rtn (org-export-number-lines rtn 'ascii 0 0 num cont
rpllbl fmt))
I have fixed this part, in a different way though.
diff --git a/lisp/org-latex.el b/lisp/org-latex.el
index ce697a3..18c2183 100644
--- a/lisp/org-latex.el
+++ b/lisp/org-latex.el
@@ -877,7 +877,7 @@ If NUM, export sections as numerical sections."
(delete-region (point-at-bol 0) (point))
(insert (format "\\begin{%s}\n"
(symbol-name org-export-latex-low-levels))))
- (insert (format "\n\\item %s\\\\\n%s\n"
+ (insert (format "\\item %s\n%s"
heading
(if label (format "\\label{%s}" label) "")))
(insert (org-export-latex-content content))
Why would you like to remove the "\\" as well? When itemize lists are
used to format headlines, I think there should be a line break after
the end of the original headline. Otherwise the text below the
headline will flow into the headline. Or am I missing something here?
@@ -997,7 +997,7 @@ OPT-PLIST is the options plist for current
buffer."
(org-export-apply-macros-in-string org-export-latex-append-
header)
;; insert the title
(format
- "\n\n\\title{%s}\n"
+ "\n\\title{%s}\n"
;; convert the title
(org-export-latex-content
title '(lists tables fixed-width keywords)))
What is the problem with additional empty lines before \\title
command. Does that really change anything in the output?
Thanks.
- Carsten
On Dec 5, 2009, at 12:58 PM, Nicolas Girard wrote:
2009/12/1 Nicolas Girard <nicolas.gir...@nerim.net>:
Hi,
title says it all.
Hi,
attached is a second patch which suppresses some other extra newlines
in the LaTeX export. Let me know if you need any explanation.
--
Nicolas
<noextralines.patch>_______________________________________________
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