From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sharon Kimble Subject: Non-appearance of tables in PDF export under \listoftables Date: Mon, 26 Jun 2017 15:16:35 +0100 Message-ID: <87wp7y3kcc.fsf@skimble.plus.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPUos-0005ng-PJ for emacs-orgmode@gnu.org; Mon, 26 Jun 2017 10:16:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dPUop-0001P3-EE for emacs-orgmode@gnu.org; Mon, 26 Jun 2017 10:16:50 -0400 Received: from avasout04.plus.net ([212.159.14.19]:54174) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dPUop-0001O4-38 for emacs-orgmode@gnu.org; Mon, 26 Jun 2017 10:16:47 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: org-mode-email --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I'm having great difficulty in getting my tables to show up in '\listoftables', the 'Table' header shows in my pdf but nothing else related to tables in the preamble after the TOC. Taking this table as an example - =2D-8<---------------cut here---------------start------------->8--- #+LABEL: tab:table1 #+NAME: tab:table1 #+CAPTION: Previous versions of this document #+ATTR_LATEX: :booktabs t :placement [H] | *Title* | *Version* | *Published* | |-------------------------+---------+---------------| | Hormones 2016 | 1.5 | May 2016 | | Hormones 2017 | 1.6 | | =2D-8<---------------cut here---------------end--------------->8--- Which is exported to latex as this - =2D-8<---------------cut here---------------start------------->8--- \section{Previous versions} \label{sec:orgd5daa04} \begin{table}[H] \centering \begin{tabular}{lrl} \toprule \textbf{Title} & \textbf{Version} & \textbf{Published}\\ \midrule Hormones 2016 & 1.5 & May 2016\\ Hormones 2017 & 1.6 & \\ \bottomrule \end{tabular} \caption{\label{tab:org2f5a19c} Previous versions of this document} \end{table} =2D-8<---------------cut here---------------end--------------->8--- I am using my own latex-class called 'my-report' which is like this in my config.org - =2D-8<---------------cut here---------------start------------->8--- (with-eval-after-load 'ox-latex (add-to-list 'org-latex-classes '("my-report" "\\documentclass{report} [NO-DEFAULT-PACKAGES]" ;;[EXTRA]" ;;("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))) ;; (custom-set-variables '(org-export-allow-bind-keywords t)) =2D-8<---------------cut here---------------end--------------->8--- And here is my main preamble - =2D-8<---------------cut here---------------start------------->8--- #+TITLE: Hormones 2017\\ # #+TITLE: Part 1 #+AUTHOR: Sharon Kimble\\ #+AUTHOR: (S.E.N., R.G.N)\\ #+AUTHOR: redacted #+DATE: \today \\ #+DATE: Build - 2017.\thevernum #+STARTUP: fnadjust #+LaTeX_class: my-report #+LATEX_CLASS_OPTIONS: [a4paper,11pt,oneside,openany,british,svgnames,dvips= names] #+latex_header: \usepackage[a4paper,left=3D25mm,right=3D25mm,top=3D25mm,bot= tom=3D30mm,footskip=3D5mm,headsep=3D2mm]{geometry} #+latex_header: \input{/home/boudiccas/research/hormones17/titlepage} # #+LATEX_CLASS_OPTIONS: [british,svgnames,dvipsnames] #+latex_header: \usepackage[backend=3Dbiber,style=3Dauthoryear,doi=3Dtrue,h= yperref=3Dtrue,backref=3Dtrue,backrefstyle=3Dtwo,date=3Dyear,maxcitenames= =3D3]{biblatex} #+LATEX_HEADER: \addbibresource{/home/boudiccas/research/hormones17/hormone= s17.bib} #+latex_header: \input{/home/boudiccas/research/codebase} #+latex_header: \makeindex[title=3DGeneral Index,options=3D-s ./index.ist,c= olumnseprule,intoc] #+latex_header: \makeindex[name=3Dhorm,title=3DIndex of Hormones,options=3D= -s ./index.ist,columnseprule,intoc,columns=3D2] #+latex_header: \makeindex[name=3Dside,title=3DIndex of Hormones Side-Effec= ts,options=3D-s ./index.ist,columnseprule,intoc,columns=3D2] #+latex_header: \makeindex[name=3Dother,title=3DIndex of Other Drugs Side-E= ffects,options=3D-s ./index.ist,columnseprule,intoc,columns=3D2] #+latex_header: \makeindex[name=3Dinter,title=3DIndex of Interactions,optio= ns=3D-s ./index.ist,columnseprule,intoc,columns=3D2] # #+latex_header: \makeindex[name=3Dsti,title=3DIndex of STI's,options=3D-s= ./index.ist,columnseprule,intoc,columns=3D2] #+latex_header: \usepackage{hyperref} #+latex_header: \hypersetup{linktoc=3Dall,colorlinks,linkcolor=3D{red},cite= color=3D{magenta},urlcolor=3D{blue}} # #+latex_header: \hypersetup{linktoc=3Dall,colorlinks,linkcolor=3D{black},= citecolor=3D{black},urlcolor=3D{black}} #+latex_header: \usepackage[toc,nopostdot,style=3Dlistgroup]{glossaries} #+latex_header: \input{hormones17.glos} #+latex_header: \makeglossaries #+latex_header: \glsenablehyper #+latex_header: \renewcommand{\glstextformat}[1]{\underline{\color{red}\em = #1}} #+latex_header: \usepackage{todo} #+latex_header: \usepackage[firstpage]{draftwatermark} #+LaTeX_header: \setcounter{secnumdepth}{0} #+latex_header: \setcounter{tocdepth}{1} #+latex_header: \usepackage{everypage} #+latex_header: \usepackage{booktabs} #+include: /home/boudiccas/research/header.org #+latex_header: \usepackage{textgreek} #+latex_header: \usepackage{pifont} #+latex_header: \usepackage{upgreek} #+latex_header: \usepackage{longtable} #+latex_header: \setlength{\parskip}{5pt} % gap between paragraphs #+latex_header: \setlength{\parsep}{0pt} % space between paragraphs within = an item # #+latex_header: \setlength{\headsep}{5pt} % the vertical length between t= he header and the top of the text area #+latex_header: \setlength{\topskip}{0pt} % between header and text #+latex_header: \setlength{\topmargin}{0pt} % gap above header #+latex_header: \setlength{\topsep}{0pt} % space between first item and pre= ceding paragraph #+latex_header: \setlength{\partopsep}{0pt} % extra space added to \topsep = when environment starts a new paragraph # http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/squeeze.html #+latex_header: \linespread{0.9} # #+OPTIONS: H:6 \n:nil ::t |:t ^:t f:t tex:t #+OPTIONS: H:7 toc:t \n:nil ::t |:t ^:t f:t tex:t # #+LaTeX_header: \setcounter{secnumdepth}{0} # #+OPTIONS: toc:1 # #+LATEX: \tableofcontents # #+LATEX: \listoftables # #+LATEX: \listoffigures #+TOC: tables \dominitoc =2D-8<---------------cut here---------------end--------------->8--- Can anyone please help me to get '\listoftables' working please, I just feel like I'm going round in circles at the moment and not achieving anything, and its so frustrating Thanks Sharon. =2D-=20 A taste of linux =3D http://www.sharons.org.uk TGmeds =3D http://www.tgmeds.org.uk DrugFacts =3D https://www.drugfacts.org.uk=20=20 Debian 9.0, fluxbox 1.3.5-2, emacs 25.1.1, org-mode 9.0.7 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAllRF0QACgkQNoGAGQr4 g1sVnxAAkEN4xv/MAwcar7kuKHMzohG34/caQ/1zxi4M/GXDNxjPyjBIZ5199D7l vmwg9OtIoVx4r632B/RkR6Jruild2govSSCFwv6ZT60AoRSRCfsaN7YvujMAIBrj rktlR8joN0a2JikWQeyvtng4QJi7IrPhpdfQQ6fswD3VYLA+4EEgwXaI0mKS69wO Bg1+VCaCYj3V2X6BoMyDKpZImDsy8B6LeMS+38nVrbj3daTfJEse+axzeN2xZJVS wahOp4WOY/tCBB78IUDiIrA843BZMlO2rUnmmEIA44MdibDE0Kxx8FX3gJi8LMi5 CZvuR8Bx7KJrd3mdUM0urkOI2YwFd5EeeBY4AbjxkbEOYd/BzuJSIlq79p3839tt 5BLCohJrtkx4lxUHDRFbzE5JJEhJc2EiD+aBDEz8IpVZ2+zlRLad3mHwfpJbgTBD UyOJdg7ZjMMqlB7YXjAyRBDoMf+bTQZ96UrCmZsvK34kV9fWq/1zHTjZfRBasY+v agPhbtWu3rQRTR3/fjQ+VPLkmAhaNGf/OhDQYzjXUtecfbGL31r71QskjFoS8rD6 E2CWkt9SCqrueXQYKSiZcaU8hgGKAk9Fs5xKhJo6ai8KsdAW5ZKjpoVLlW8gk4/2 J7V8JXQp263C8GfogziuTzdZKz1ggEROQOO4rnH9wsuTAP4CH8w= =dLQ7 -----END PGP SIGNATURE----- --=-=-=--