emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Charles Millar <millarc@verizon.net>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: bug - longtables fail to export
Date: Thu, 13 Apr 2017 15:10:20 -0400	[thread overview]
Message-ID: <2b777510-60a0-14ee-4790-6e35a1ca5299@verizon.net> (raw)

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

             reply	other threads:[~2017-04-13 19:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-13 19:10 Charles Millar [this message]
2017-04-13 20:24 ` bug - longtables fail to export Charles Millar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2b777510-60a0-14ee-4790-6e35a1ca5299@verizon.net \
    --to=millarc@verizon.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).