From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CAAwHWiJR2L/bgEAgWs5BA (envelope-from ) for ; Sat, 02 Apr 2022 01:23:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +AfqFWiJR2LYiAAAG6o9tA (envelope-from ) for ; Sat, 02 Apr 2022 01:23:20 +0200 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 A52153E397 for ; Sat, 2 Apr 2022 01:23:19 +0200 (CEST) Received: from localhost ([::1]:44262 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1naQbu-00062m-3Y for larch@yhetil.org; Fri, 01 Apr 2022 19:23:18 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1naQbG-00062Y-LX for emacs-orgmode@gnu.org; Fri, 01 Apr 2022 19:22:38 -0400 Received: from [2a00:1450:4864:20::131] (port=41710 helo=mail-lf1-x131.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1naQbF-0002Kb-6K for emacs-orgmode@gnu.org; Fri, 01 Apr 2022 19:22:38 -0400 Received: by mail-lf1-x131.google.com with SMTP id p15so7518187lfk.8 for ; Fri, 01 Apr 2022 16:22:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=atAGFWW5YxsFtPJUNBsXv0fiQ80LBCHfEokfsMjsVSo=; b=eO1Oep7Yj2+WCJwyfdtCHWsP1r1p/Vdou/DwyDE3DPGZRz0KcIzlZxF2XjanvA/rWH AgmMft6809JJloL92KX576sCOE5T2TxWGhD3DoJR/fqs5RgLhzWDLynt2ABMZ/sexZ9U i7oKxS9YhWcG10PPU8OlOOnLyvusWVKyQngjioB/eeOfbzXUYjySFAt6HzV80/pOtYc0 m2cEyMm9ppXnpjp46DxZuHYE9w8JaLeCzxUwPZ2UPdkYaCFWylSieAEeJNC2CkDB5B5F SPKJV0yKF4h+H6il2msV+kbmR6oB5UN4B/g1X/tlS9j2yk8LE0s4oK7c+1hk85j9rOI+ 0q/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=atAGFWW5YxsFtPJUNBsXv0fiQ80LBCHfEokfsMjsVSo=; b=u3+rJKP34+ghnNF+Ko+qsbAcfeSMzDjsDPIlvVVb0TlzbHxmJGcTiQMa5Om3FNA2R/ 0fuh6TfaavXOuY06kJOobg9LGJ3oXAjjLpeNPYFXO0H/Ay17u7e4pVhHFjTPqSidFRHQ lnthTXWl6iQCiHTPjXZeKHESfbA7r1qBmSWEyJCvfLUKota+zpf/KBczsW4W6ePv2mZC OWPo1kfVP6LfCSX1QHrl4NDS6r19Tg++RiOzhpn+7HQ/geS46tNeOyADqldbRx/rai+Q 5RxHHFmUsYOKoVSmVxM/8Gn7sM8l3kEke3Wx6I93bgGhhxsE+VPLR+0/um4ajXWg8Xfa jSaw== X-Gm-Message-State: AOAM5310FR9FK5ZBI3HbF0NSX9AcHIZtdbTJjJGdi8vki4aNAIVBGRJ9 bRI6BNSIAuGBc1dD5VIckfgLoiKql2CJdAzd1KJRNjj/Ijg= X-Google-Smtp-Source: ABdhPJwF1HHuwAqHtpGdREkSFqcbJUUMOPM0mnWqHhknGWy8Enw8I0f7wMy8XDRPs32CBxyCz0b/kqLl1JHg2GWO7j0= X-Received: by 2002:a05:6512:114f:b0:44a:ebae:5efa with SMTP id m15-20020a056512114f00b0044aebae5efamr309017lfg.422.1648855354105; Fri, 01 Apr 2022 16:22:34 -0700 (PDT) MIME-Version: 1.0 From: Steve Downey Date: Fri, 1 Apr 2022 19:22:23 -0400 Message-ID: Subject: TOC and latex memoir class To: org mode Content-Type: multipart/alternative; boundary="000000000000aae50305dba00dc7" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::131 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::131; envelope-from=sdowney@gmail.com; helo=mail-lf1-x131.google.com X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 5.0 requ) BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648855399; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=atAGFWW5YxsFtPJUNBsXv0fiQ80LBCHfEokfsMjsVSo=; b=B6Iq36d//O6HRvQun2+IJMnw8BDpddItkkAKBtKNLIvik84QJ6qD8N2/WyF1L33rfzTk61 eYoBjYDSMIukCH/z4G1K0PF6cteTzs6hTSmhsrzjPnnn8p+i1HFTPsbgYQYN0Dg7w5ZIzW Boq/CblzwxripdNMw+Vfgg51KI9xwGEfzMTsX6OzOl/tnkUYAbmBXFN0NC3UZakuq/+nE+ Cc85LtNcmv16QOPvFrTTLEkCNr9XDb30/EfhTzEvN/IX1Snpm0cDbXcfiBHot4H6eeuSWm Q4zqFnEcgVOMkz8KmOGCeFBef5Eh5oXFqdTuE269ZYdSC4CGU1xOIuVax6BhOA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648855399; a=rsa-sha256; cv=none; b=o7bXA92nhaW9zs6bNSINMxOvR1/6wsmID57InNPF87VfgTPvPIvnFStc6vmPeEjRJRKDyo GSInxuvDR8JueS+AFi7dk/Ft+c1tVEJhhZdXlowgPnrQUkpyTTAjQSSOpgQUt/d0VxK9/m aWfY+cv77vUmumvFzNFOGugcbr/fluGmTNkSx0h6LhWzNLUdyhh12lZ1v9BbLjyr8J99Db oKWJsi3lMM+VSY5f7lK0bPSB4ChmvQsbJW+Y48Qi1GJoG0+5mKaOmuuWou2/rqgAw3nh1E v0SVRO2axyD0xtICeyt5kyzzYXVkdKzgKQ1M5WjHq1ORfS/pDt6FhpiBymgvFg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=eO1Oep7Y; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.07 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=eO1Oep7Y; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A52153E397 X-Spam-Score: -4.07 X-Migadu-Scanner: scn1.migadu.com X-TUID: oLo6OEeXtwQR --000000000000aae50305dba00dc7 Content-Type: text/plain; charset="UTF-8" In order to place the table of contents without a section name "Contents" the memoir class uses \tableofcontents* rather than \tableofcontents. However, `org-latex-toc-command` is documented as: "LaTeX command to set the table of contents, list of figures, etc. This command only applies to the table of contents generated with the toc:nil option, not to those generated with #+TOC keyword." Which is confusing in two ways, first that toc:nil doesn't generate a table of contents, and that it doesn't seem to provide any way of getting the string to be used? As a workaround, I could use the latex command directly, but that means not having it available in, for example, an html export. Is there a workaround I'm missing? --000000000000aae50305dba00dc7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
In order to place the table of contents without=C2=A0a sec= tion name "Contents" the memoir class uses \tableofcontents* rath= er than \tableofcontents.
However, `org-latex-toc-command` is documented= as:
=C2=A0 "LaTeX command to set the table of contents, list of fi= gures, etc.
This command only applies to the table of contents generated= with
the toc:nil option, not to those generated with #+TOC keyword.&quo= t;
Which is confusing in two ways, first that toc:nil doesn't genera= te a table of contents, and that it doesn't seem to provide any way of = getting the string to be used?=C2=A0

As a workaround, I could use th= e latex command directly, but that means not having it available in, for ex= ample, an html export.=C2=A0

Is there a workaround I'm missing?= =C2=A0
--000000000000aae50305dba00dc7--