GNOME Bugzilla – Bug 29506
\input'able LaTeX2e export (with implementation suggestion)
Last modified: 2004-12-22 21:47:04 UTC
Package: gnumeric Version: 0.57 Severity: wishlist I would like to have LaTeX2e export in gnumeric that is easy to include in normal latex files. I include an TeX-based implementation suggestion. Suggestion: have gnumeric use the following template for exporting LaTeX2e. % TeXbook ex 7.7 \def\ifundefined#1{\expandafter\ifx\csname#1\endcsname\relax} \ifundefined{gnumericSheetHeader} \documentclass[11pt]{article} \usepackage{umlaut} \usepackage{color} \oddsidemargin -0.54cm \textwidth 17cm \parskip 1em \def\gnumericEndSpreadsheet{\end{document}} \def\gnumericSheetHeader#1{#1} \def\gnumericBeginSpreadSheet{\begin{document}} \else \def\gnumericEndSpreadsheet{} \def\gnumericBeginSpreadSheet{} \fi \gnumericBeginSpreadSheet \gnumericSheetHeader{Sheet1} % the sheet itself \begin{tabular}{|l|}\hline \textsf{1} \\\hline \end{tabular} \gnumericSheetHeader{Sheet2} % the sheet itself \begin{tabular}{|l|}\hline \textsf{1}\\\hline \end{tabular} \gnumericEndSpreadsheet You can run this through LaTeX directly, but if you define \gnumericSheetHeader, you can also include it in a report, eg. \documentclass{article} \begin{document} \def\gnumericSheetHeader#1{\textbf{#1}} \section*{Financial results} \input Book1 \end{document} -- Han-Wen Nienhuys | hanwen@cs.uu.nl | http://www.cs.uu.nl/~hanwen/ ------- Bug moved to this database by debbugs-export@bugzilla.gnome.org 2001-01-27 12:33 ------- This bug was previously known as bug 29506 at http://bugs.gnome.org/ http://bugs.gnome.org/show_bug.cgi?id=29506 Originally filed under the Gnumeric product and general component. The original reporter (hanwen@cs.uu.nl) of this bug does not have an account here. Reassigning to the exporter, debbugs-export@bugzilla.gnome.org. Reassigning to the default owner of the component, jgoldberg@home.com.
Seems like a good idea, Hopefully the latex plugin maintainer can evaluate it.
Fixed in CVS.