From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EPVTJPtd716MawAA0tVLHw (envelope-from ) for ; Sun, 21 Jun 2020 13:17:47 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id bmoKIPtd716YdwAAbx9fmQ (envelope-from ) for ; Sun, 21 Jun 2020 13:17:47 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 022BD940665 for ; Sun, 21 Jun 2020 13:17:46 +0000 (UTC) Received: from localhost ([::1]:33382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmzqy-000340-1H for larch@yhetil.org; Sun, 21 Jun 2020 09:17:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmzqP-00033q-ET for emacs-orgmode@gnu.org; Sun, 21 Jun 2020 09:17:09 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:39963) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jmzqN-0006dj-I5 for emacs-orgmode@gnu.org; Sun, 21 Jun 2020 09:17:09 -0400 Received: by mail-wm1-x32d.google.com with SMTP id r15so13252739wmh.5 for ; Sun, 21 Jun 2020 06:17:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=/N93erg/ZwB/V/k/oHF5frly24PMYasdZIyZEtymOE0=; b=NQ+zo28hD3UtaB5qWj/AnP3Z0+DEZkyx3isykGbPZMflx6rH2yGABZYScS3u2LjtqZ 9E5iWmodjHqgtZlDR1W/SO9FtMd7ZGiTan3OnU0yzd7ESk8ugaqdChvW2HX+VnDPCmtZ 8cvWFtRyPlHq6oqqCr4vNnoAcPoMMz6ULAjR/3KOPe1i2KyxC/LMwRd9yJ0AidAgGpf8 Fe+oeVsMjR2NwstOPFJ/VwDJXH+wbltvTO45XY4smiuWipzfaiIh42/8FIcLo1jHS/gA 8p/l3WWOLgxSM1KFBW8jx+nw9v0MOIGUJPIgey7zAJHmEZLe1sU9/BzyB6PJ5V6PVbHO GN/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=/N93erg/ZwB/V/k/oHF5frly24PMYasdZIyZEtymOE0=; b=txbS7LnZfeZYbJehGCrnyQWHcLnAEXJzTmfrxnk1yoxdTG8pbyBM5w2IHxxcRSHBxX zS2fE+rd3Uj5PqUslKXUbPS9nKjaKj0evBm+urh/HFLMRR2WnlDAx1kqVNBgtEHiVXTW xBcBDoIQSkdrUry7aGFZr5JVjJxdOEHO4llicuGlDId4u+V06NVNbhXbUad/lRnKzCfd Cs1Gx0ZOoJPgH3Wd8ZMv6GU7cDAdW/K4IpM1KHlVzfwirakRm0wOO2GpxTeSOB/NutaA rsUspl5XlKWyxsqHo/lhODTJNQoRxltIiUJzlR8mITPeo9RID6bcgf8fCJ9CnDYaNYD/ rpXQ== X-Gm-Message-State: AOAM533sGI/CppUBi6tMDuj5Fw2UArdJzHbAg2uN3/QbqWk9wL2thtt5 b3E2XgfkAoCTeCuznopmkww8hU9f X-Google-Smtp-Source: ABdhPJyYtcEcvnVQCIhxlM/BdhZMqrq7X8gxIEtlPCfjitkRKw1Xn2eiHiDlRvL+dCeLaLY5RdqwnQ== X-Received: by 2002:a1c:9942:: with SMTP id b63mr13219850wme.34.1592745425142; Sun, 21 Jun 2020 06:17:05 -0700 (PDT) Received: from freegnu (24.183.22.109.rev.sfr.net. [109.22.183.24]) by smtp.gmail.com with ESMTPSA id e12sm13944563wro.52.2020.06.21.06.17.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jun 2020 06:17:04 -0700 (PDT) From: Jeremie Juste To: emacs-orgmode@gnu.org Subject: exporting latex table to html as png Date: Sun, 21 Jun 2020 15:17:03 +0200 Message-ID: <87eeq85zjk.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=jeremiejuste@gmail.com; helo=mail-wm1-x32d.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=NQ+zo28h; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: pwoITfVYnWt7 Hello, I would like to export the following table as a png in an html page. But it seams that the latex table requires multiple compilations. I can achieve this when I export to latex by customizing the org-latex-pdf-process as follows (setq org-latex-pdf-process (quote ("texi2dvi --pdf --build=local --verbose --batch %f" "bibtex %b" "texi2dvi --pdf --verbose --batch %f" "texi2dvi --pdf --verbose --batch %f"))) But it seems that when the table is compiled only once when I export to html. As a result the table notes end up being badly formatted. Do you have a way to solve this problem? Best regards, Jeremie * latex preambule #+LATEX_HEADER:\usepackage[flushleft]{threeparttablex} #+LATEX_HEADER: \usepackage{dcolumn} #+LATEX_HEADER:\usepackage{siunitx} #+LATEX_HEADER:\usepackage{longtable,tabularx,ltablex} * \begin{ThreePartTable} \sisetup{table-format=-2.3, table-space-text-post=***, table-number-alignment=center} \keepXColumns \begin{TableNotes}\footnotesize \item[\hspace{-\fontdimen2\font}]\emph{Note:} This table reprensents the results of the models 1 2 3, 4, on page 12. Standard errors are shown in parenthesis. $^{***}p<0.01$, $^{**}p<0.05$, $^*p<0.1$ \end{TableNotes} \begin{tabularx}{\textwidth}{l *{6}{c}} \toprule &Pooled & Ind & Ind+Time & Mundlak &Within\\ \midrule Intercept & 18.60$^{***}$ & 22.25$^{***}$ & 24.08$^{***}$ & -5.55$^{**}$ & 53.03$^{***}$ \\ & (0.91) & (1.09) & (0.60) & (2.40) & (1.98) \\ score & 6.34$^{***}$ & 5.97$^{***}$ & 5.11$^{***}$ & 5.11$^{***}$ & 5.11$^{***}$ \\ & (0.29) & (0.27) & (0.13) & (0.23) & (0.64) \\ $\overline{score_i}$ & & & & 3.72$^{***}$ & \\ & & & & (0.59) & \\ $\overline{score_t}$ & & & & 5.54$^{***}$ & \\ & & & & (0.58) & \\ \midrule N.obs & 100 & 100 & 100 & 100 & 100 \\ $R^{2}$ & 0.83 & 0.88 & 0.98 & 0.92 & 0.40 \\ $Adj R^2$ & 0.83 & 0.87 & 0.97 & 0.92 & 0.39 \\ LogL & -235.71 & -218.37 & -133.63 & -196.29 & -299.50 \\ \bottomrule \insertTableNotes \end{tabularx} \end{ThreePartTable}