emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug - longtables fail to export
@ 2017-04-13 19:10 Charles Millar
  2017-04-13 20:24 ` Charles Millar
  0 siblings, 1 reply; 2+ messages in thread
From: Charles Millar @ 2017-04-13 19:10 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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

This past December the following exported with no problem (I have not 
exported a table of any type since then)

* TestTableExport :ignoreheading:
:PROPERTIES:
:EXPORT_FILE_NAME: /mnt/Data/ActiveFiles/testthetable
:END:


#+LATEX_COMPILER: pdflatex
#+LATEX_CLASS: koma-article
#+LATEX_CLASS_OPTIONS: 
[letterpaper.twoside=false,fontsize=11pt,DVI=15,parskip=half,parindent=1.2cm,headings=small]
#+LATEX_HEADER: \usepackage{verbatim}
#+LATEX_HEADER: \usepackage[T1]{fontenc}
#+LATEX_HEADER: \usepackage[math]{anttor}
#+LATEX_HEADER: \usepackage[utf8]{inputenc}
#+LATEX_HEADER: \usepackage{charter}
#+LATEX_HEADER: \usepackage{calc}
#+LATEX_HEADER: \usepackage{setspace}
#+LATEX_HEADER: \usepackage{layout}
#+LATEX_HEADER: \usepackage{array}
#+LATEX_HEADER: \usepackage{graphicx}
#+LATEX_HEADER: \usepackage{tabulary}
#+LATEX_HEADER: \usepackage{longtable}
#+LATEX_HEADER: \usepackage{numprint}
#+LATEX_HEADER: \npstyleenglish
#+LATEX_HEADER: \npthousandthpartsep{}
# #+LATEX_HEADER: \usepackage{siunitx}
# #+LATEX_HEADER: 
\sisetup{group-separator={,},group-minimum-digits={3},output-decimal-marker={.},table-number-alignment=right}
#+LATEX_HEADER: 
\usepackage[at]{easylist}{\ListProperties(Hang1=False,Indent1=1.2cm)}
#+LATEX_HEADER: \usepackage{csquotes}
# #+LATEX_HEADER: 
\usepackage[letterpaper,left=1.00in,right=1.00in,top=1.00in,bottom=1.00in]{geometry}
#+LATEX_HEADER: \pagenumbering{arabic}
#+LATEX_HEADER: \usepackage{lastpage}
#+LATEX_HEADER: \usepackage{scrlayer-scrpage}
#+LATEX_HEADER: \pagestyle{scrheadings}
#+LATEX_HEADER: \setkomafont{pagefoot}{\normalfont\rmfamily}
#+LATEX_HEADER: \cfoot[\pagemark]{\thepage}
# latex headers for this file only
#+LATEX_HEADER: \ifoot{Rita A. Sator Estate}
#+MACRO: cm2space @@latex:\ \ @@
#+MACRO: cmbcenter @@latex:\begin{center}@@
#+MACRO: cmecenter @@latex:\end{center}@@
#+MACRO: cmhfill @@latex:\hspace\fill@@



#+ATTR_LATEX: :mode table :environment longtable :align 
p{20pt}p{200pt}p{60pt)p{60pt}
| 1. | Verizon inventory value upon sale      |           | |
|    | Date                                   |           | |
|    | received 2016-12-14                    |           | 3142.77 |
|    | reinvested dividend 2015-02-01         |  1.341086 |   51.15 |
|    | reinvested dividend 2015-05-01         |  2.793883 |  113.59 |
|    | reinvested dividend 2016-02-03         |  1.532931 |   51.24 |
|    | Total                                  |           | |
|    |                                        |           | |
| 2. | Vodafone PLC inventory value upon sale |           | |
|    | Date                                   |           | |
|    | received 2016-12-14                    | 94.910515 | 3142.77 |
|    | reinvested dividend 2015-02-05         |  1.341086 |   51.15 |
|    | reinvested dividend 2015-08-06         |  2.793883 |  113.59 |
|    | reinvested dividend 2016-02-03         |  1.532931 |   51.24 |
|    | Total                                  | 99.678415 | 3358.75 |
|    |                                        |           | |

#+ATTR_LATEX: :mode table :environment longtable :align p{20pt}p{350pt}
| 3. | lost of stuff for this note           |
| 4. | more information for full disclosure  |
|    |                                       |
\newpage

my init has the following

(add-to-list 'org-latex-classes
                  '("koma-article"
"\\documentclass{scrartcl}
\\newcommand{\\foo}{bar}
[NO-DEFAULT-PACKAGES]
[NO-PACKAGES]
[EXTRA]"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}")))

Today the four column table does not export; the two column table (items 
labeled 3 and 4) does export; . Please see the attached report.

Org mode version 9.0.5 (release_9.0.5-444-g998576.dirty @ 
/usr/local/share/emacs/site-lisp/org-mode/lisp/)
GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5) of 
2015-03-07 on trouble, modified by Debian

If I remove the last two columns in the four column table and also 
remove the last aligns, i.e. p{60pt}, the first table then exports as 
two columns.

THEN, for the first table I re-enter the two p{60pt} and also insert the 
last two columns, with numbers, it exports as expected.



[-- Attachment #2: testthetablereport --]
[-- Type: text/plain, Size: 5792 bytes --]

This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2015/dev/Debian) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(.//Tesgtliongtable.tex
LaTeX2e <2014/05/01>
Babel <3.9l> and hyphenation patterns for 79 languages loaded.
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrartcl.cls
Document Class: scrartcl 2013/12/19 v3.12 KOMA-Script document class (article)
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrkbase.sty
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrbase.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrlfile.sty
Package scrlfile, 2013/12/19 v3.12 KOMA-Script package (loading files)
                  Copyright (C) Markus Kohm

))) (/usr/share/texlive/texmf-dist/tex/latex/koma-script/tocbasic.sty)
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrsize11pt.clo)
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/typearea.sty
Package typearea, 2013/12/19 v3.12 KOMA-Script package (type area)
                  Copyright (C) Frank Neukam, 1992-1994
                  Copyright (C) Markus Kohm, 1994-

)) (/usr/share/texlive/texmf-dist/tex/latex/tools/verbatim.sty)
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.def))
(/usr/share/texlive/texmf-dist/tex/latex/antt/anttor.sty)
(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/utf8.def
(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.dfu)
(/usr/share/texlive/texmf-dist/tex/latex/base/ot1enc.dfu)
(/usr/share/texlive/texmf-dist/tex/latex/base/omsenc.dfu)))
(/usr/share/texlive/texmf-dist/tex/latex/psnfss/charter.sty)
(/usr/share/texlive/texmf-dist/tex/latex/tools/calc.sty)
(/usr/share/texlive/texmf-dist/tex/latex/setspace/setspace.sty)
(/usr/share/texlive/texmf-dist/tex/latex/tools/layout.sty)
(/usr/share/texlive/texmf-dist/tex/latex/tools/array.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))))
(/usr/share/texlive/texmf-dist/tex/latex/tabulary/tabulary.sty)
(/usr/share/texlive/texmf-dist/tex/latex/tools/longtable.sty)
(/usr/share/texlive/texmf-dist/tex/latex/numprint/numprint.sty
No configuration file `numprint.cfg' found.)
(/usr/share/texlive/texmf-dist/tex/latex/easylist/easylist.sty)
(/usr/share/texlive/texmf-dist/tex/latex/csquotes/csquotes.sty
(/usr/share/texlive/texmf-dist/tex/latex/etoolbox/etoolbox.sty
(/usr/share/texlive/texmf-dist/tex/latex/etex-pkg/etex.sty))
(/usr/share/texlive/texmf-dist/tex/latex/csquotes/csquotes.def)
(/usr/share/texlive/texmf-dist/tex/latex/csquotes/csquotes.cfg))
(/usr/share/texlive/texmf-dist/tex/latex/lastpage/lastpage.sty)
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrlayer-scrpage.sty
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrlayer.sty))

Package scrkbase Warning: This class does not use font element `pagefoot'!
(scrkbase)                Maybe you should load package `scrpage2', before
(scrkbase)                using this element on input line 26.


LaTeX Warning: Unused global option(s):
    [letterpaper.twoside=false,DVI=15,parindent=1.2cm].

(.//Tesgtliongtable.aux)
(/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1bch.fd)
(/usr/share/texlive/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty))
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty))
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty)))
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
Runaway argument?
{p{20pt}p{200pt}p{60pt)p{60pt}} 1. & Verizon inventory value upon sal\ETC.
! Paragraph ended before \scr@LT@array was complete.
<to be read again> 
                   \par 
l.52 
     
(/usr/share/texlive/texmf-dist/tex/latex/antt/ot1anttm.fd)
(/usr/share/texlive/texmf-dist/tex/latex/antt/omlantt.fd)
(/usr/share/texlive/texmf-dist/tex/latex/antt/omsantt.fd)
(/usr/share/texlive/texmf-dist/tex/latex/antt/omxantt.fd) [1{/var/lib/texmf/fon
ts/map/pdftex/updmap/pdftex.map}] 
AED: lastpage setting LastPage

! LaTeX Error: \begin{longtable} on input line 34 ended by \end{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.59 \end{document}
                   
(.//Tesgtliongtable.aux) )
(\end occurred inside a group at level 2)

### semi simple group (level 2) entered at line 34 (\begingroup)
### semi simple group (level 1) entered at line 34 (\begingroup)
### bottom level
(see the transcript file for additional information){/usr/share/texlive/texmf-d
ist/fonts/enc/dvips/base/8r.enc}</usr/share/texlive/texmf-dist/fonts/type1/bits
trea/charter/bchr8a.pfb>
Output written on .//Tesgtliongtable.pdf (1 page, 12900 bytes).
Transcript written on .//Tesgtliongtable.log.

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

* Re: bug - longtables fail to export
  2017-04-13 19:10 bug - longtables fail to export Charles Millar
@ 2017-04-13 20:24 ` Charles Millar
  0 siblings, 0 replies; 2+ messages in thread
From: Charles Millar @ 2017-04-13 20:24 UTC (permalink / raw)
  To: emacs-orgmode

Forget the noise; it appears to be a gremlin attack - a ) not }. I don't 
recall even opening the file since it was last exported.


On 04/13/2017 03:10 PM, Charles Millar wrote:
> This past December the following exported with no problem (I have not 
> exported a table of any type since then)
>
> * TestTableExport :ignoreheading:
> :PROPERTIES:
> :EXPORT_FILE_NAME: /mnt/Data/ActiveFiles/testthetable
> :END:
>
>
> #+LATEX_COMPILER: pdflatex
> #+LATEX_CLASS: koma-article
> #+LATEX_CLASS_OPTIONS: 
> [letterpaper.twoside=false,fontsize=11pt,DVI=15,parskip=half,parindent=1.2cm,headings=small]
> #+LATEX_HEADER: \usepackage{verbatim}
> #+LATEX_HEADER: \usepackage[T1]{fontenc}
> #+LATEX_HEADER: \usepackage[math]{anttor}
> #+LATEX_HEADER: \usepackage[utf8]{inputenc}
> #+LATEX_HEADER: \usepackage{charter}
> #+LATEX_HEADER: \usepackage{calc}
> #+LATEX_HEADER: \usepackage{setspace}
> #+LATEX_HEADER: \usepackage{layout}
> #+LATEX_HEADER: \usepackage{array}
> #+LATEX_HEADER: \usepackage{graphicx}
> #+LATEX_HEADER: \usepackage{tabulary}
> #+LATEX_HEADER: \usepackage{longtable}
> #+LATEX_HEADER: \usepackage{numprint}
> #+LATEX_HEADER: \npstyleenglish
> #+LATEX_HEADER: \npthousandthpartsep{}
> # #+LATEX_HEADER: \usepackage{siunitx}
> # #+LATEX_HEADER: 
> \sisetup{group-separator={,},group-minimum-digits={3},output-decimal-marker={.},table-number-alignment=right}
> #+LATEX_HEADER: 
> \usepackage[at]{easylist}{\ListProperties(Hang1=False,Indent1=1.2cm)}
> #+LATEX_HEADER: \usepackage{csquotes}
> # #+LATEX_HEADER: 
> \usepackage[letterpaper,left=1.00in,right=1.00in,top=1.00in,bottom=1.00in]{geometry}
> #+LATEX_HEADER: \pagenumbering{arabic}
> #+LATEX_HEADER: \usepackage{lastpage}
> #+LATEX_HEADER: \usepackage{scrlayer-scrpage}
> #+LATEX_HEADER: \pagestyle{scrheadings}
> #+LATEX_HEADER: \setkomafont{pagefoot}{\normalfont\rmfamily}
> #+LATEX_HEADER: \cfoot[\pagemark]{\thepage}
> # latex headers for this file only
> #+LATEX_HEADER: \ifoot{Rita A. Sator Estate}
> #+MACRO: cm2space @@latex:\ \ @@
> #+MACRO: cmbcenter @@latex:\begin{center}@@
> #+MACRO: cmecenter @@latex:\end{center}@@
> #+MACRO: cmhfill @@latex:\hspace\fill@@
>
>
>
> #+ATTR_LATEX: :mode table :environment longtable :align 
> p{20pt}p{200pt}p{60pt)p{60pt}
> | 1. | Verizon inventory value upon sale      |           | |
> |    | Date                                   |           | |
> |    | received 2016-12-14                    |           | 3142.77 |
> |    | reinvested dividend 2015-02-01         |  1.341086 | 51.15 |
> |    | reinvested dividend 2015-05-01         |  2.793883 | 113.59 |
> |    | reinvested dividend 2016-02-03         |  1.532931 | 51.24 |
> |    | Total                                  |           | |
> |    |                                        |           | |
> | 2. | Vodafone PLC inventory value upon sale |           | |
> |    | Date                                   |           | |
> |    | received 2016-12-14                    | 94.910515 | 3142.77 |
> |    | reinvested dividend 2015-02-05         |  1.341086 | 51.15 |
> |    | reinvested dividend 2015-08-06         |  2.793883 | 113.59 |
> |    | reinvested dividend 2016-02-03         |  1.532931 | 51.24 |
> |    | Total                                  | 99.678415 | 3358.75 |
> |    |                                        |           | |
>
> #+ATTR_LATEX: :mode table :environment longtable :align p{20pt}p{350pt}
> | 3. | lost of stuff for this note           |
> | 4. | more information for full disclosure  |
> |    |                                       |
> \newpage
>
> my init has the following
>
> (add-to-list 'org-latex-classes
>                  '("koma-article"
> "\\documentclass{scrartcl}
> \\newcommand{\\foo}{bar}
> [NO-DEFAULT-PACKAGES]
> [NO-PACKAGES]
> [EXTRA]"
> ("\\section{%s}" . "\\section*{%s}")
> ("\\subsection{%s}" . "\\subsection*{%s}")
> ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
> ("\\paragraph{%s}" . "\\paragraph*{%s}")
> ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
>
> Today the four column table does not export; the two column table 
> (items labeled 3 and 4) does export; . Please see the attached report.
>
> Org mode version 9.0.5 (release_9.0.5-444-g998576.dirty @ 
> /usr/local/share/emacs/site-lisp/org-mode/lisp/)
> GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5) of 
> 2015-03-07 on trouble, modified by Debian
>
> If I remove the last two columns in the four column table and also 
> remove the last aligns, i.e. p{60pt}, the first table then exports as 
> two columns.
>
> THEN, for the first table I re-enter the two p{60pt} and also insert 
> the last two columns, with numbers, it exports as expected.
>
>

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

end of thread, other threads:[~2017-04-13 20:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-13 19:10 bug - longtables fail to export Charles Millar
2017-04-13 20:24 ` Charles Millar

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).