From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32619 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ian Fantom Newsgroups: gmane.text.pandoc Subject: Re: Converting headings (.odt -> .tex) Date: Mon, 15 May 2023 20:20:00 +0100 Message-ID: References: <1201761b-53e9-f3bc-a6b5-4eedaf3b5146@fantom.org.uk> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=----OVP296J1W0P8DOPID22H0OVT487X9B Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30885"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: K-9 Mail for Android To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBC66F66HUMPBBZULRKRQMGQEXDVGFEY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon May 15 21:20:10 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f189.google.com ([209.85.208.189]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pydju-0007pd-62 for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 15 May 2023 21:20:10 +0200 Original-Received: by mail-lj1-f189.google.com with SMTP id 38308e7fff4ca-2ac752eeaecsf62852971fa.3 for ; Mon, 15 May 2023 12:20:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1684178409; cv=pass; d=google.com; s=arc-20160816; b=Pxo0dSwCRUnHOXSM/fh9J4p69fIp+evO1nZthQhxxd7nmgqTLwDs9LXbBiQwscWdgg Wvw6QnunfjiozVuXm5CStVefgScKBeEXaQdw3D5ZhDCKs/8do3kt0rTkxUgCGdiKreYh tV+10vdU/1NaKeEzzvEq/CTyJLRSe5wHyUoccs2CU4rseAZLw4SHkXCgsgMdLurAi2wa zMzZlTyzEvdNQIk53wTohNTuSyQH+qMBwRt5iQsAZmEKjVtF4Ll6O4LDkcPANje24H4o tR5wYQKOjQj4HkuJCumWkqIZT4b4iqXSzpU8HPyeqdAMY1gGUrExjxZn72sSzy0LBP6P a+AA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:content-transfer-encoding :mime-version:message-id:references:in-reply-to:user-agent:subject :to:from:date:sender:dkim-signature; bh=vS0xNwkgvfMDYco+44SKyAqrKR5Lzwb+qVRNsR8+W6M=; b=Q19QRuv0ZjXj32GJ7526B1Y852Y7J8cBs5rfBjh4PEfTd4v9LFWwv9YTXdjqB6xnFd p0wMoUpcPTyW869Q05Egi17Go54J0MlYWJfohHaOuSZXgpSNo+gs8VstZXJkXSIWtLLU vRvbv34zbzIB/6zbg3WPqAVMCeETUdkOUQ44PIk+m2s5/n51cx3AKNiWC1cMNzPxDSw0 bt7T7IACd+SipWvuBiieypmVN3fiHiDqo8icxTTE/Onsf6zRfPmmVngfWdGxCaPblAoz JGNH4f7XXKhJQC5GArZg5HIemG11FpzHWHHpoTUyvwjbikqwfxQZBOBVdiLcVsUiw0Bh tupQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@fantom.org.uk header.s=cb32aubc header.b=P78ZX+uN; spf=pass (google.com: domain of ian-0jttZa1E5sTe9xe1eoZjHA@public.gmane.org designates 82.153.230.170 as permitted sender) smtp.mailfrom=ian-0jttZa1E5sTe9xe1eoZjHA@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1684178409; x=1686770409; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender :content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=vS0xNwkgvfMDYco+44SKyAqrKR5Lzwb+qVRNsR8+W6M=; b=KQwDN/w2MYgykCWs7l1pI2PzZn1XL+UDpXPOq3okeCmtabc7dm4vfhPrAO5T95oz3a aYEl+FbW2Ps6m7eCZqorWcuAw9uaSv019g8Xu6GAEL2Oq0Em2JhZRO2h0HoRTGdB6v9w sjup7tQVPiFylu5XvL222iZmbR14dKtiXXqqp94qo4xGELWPlWW/gygO8WpZq4HvolLS PTCAlAewn/mmiIejv3you9T6teVq+N/ohDUHwFtH0Fcp/q8zpWnhlT3Fub7xmb1e938N 8AriQST8ogFJhwl91J45UVGUvo X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684178409; x=1686770409; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender :content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:to:from:date:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=vS0xNwkgvfMDYco+44SKyAqrKR5Lzwb+qVRNsR8+W6M=; b=M9tmh7vcxlGtE3BQeJ7fmbw14/GISwc2WqEAspp+4XRu9UYDgTDvKY7/bwWvJgkX+3 aqFKRcT9vL7wtx/DeaNsMIlfM35Hl9rB3ztYBbPUTnkXyUpgE7rF4wyb75gxsUNUFzLm AEZgXvEKw1i7HT/buO0SkTLhR+DVnAAYxC2kkuI+2kt8VEAz+5tREKJx0CC67uU/8xwx SEPibVR859W5hRLFr58yILyPFytN2IFR7esdI Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDycSSQOnwFm28F9FkSeVoZroQN4H8BReVMwNiUNj3GVSp7doSwG /l7wIid7fmGSn/CLjK6sthc= X-Google-Smtp-Source: ACHHUZ5h+Ijs+ifb1gx8PhgNzCPoE1pI7GLW2UxKl3mE1w+no8gHXE4PZd/Bvyx3R4Zi9Z2K8aD/qg== X-Received: by 2002:a2e:9ac6:0:b0:2ae:ed00:ebb0 with SMTP id p6-20020a2e9ac6000000b002aeed00ebb0mr450120ljj.8.1684178409673; Mon, 15 May 2023 12:20:09 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6512:311c:b0:4f1:4c37:e1cc with SMTP id n28-20020a056512311c00b004f14c37e1ccls929700lfb.0.-pod-prod-07-eu; Mon, 15 May 2023 12:20:04 -0700 (PDT) X-Received: by 2002:ac2:4c32:0:b0:4f2:e145:7170 with SMTP id u18-20020ac24c32000000b004f2e1457170mr2325115lfq.11.1684178404885; Mon, 15 May 2023 12:20:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684178404; cv=none; d=google.com; s=arc-20160816; b=vtUHgCPX1kMpTmmIEtF26Cc+B4NS4BeOVmPTDldU/LBBRfXz0CGOW/GhsgjEOi+GpZ 7OqcgRepSJ1SaaVdlagAkzJgy7/zpEzaWuWW+KIlb73XljIM01/EmBWdQMec7w0Qrrx3 BOAIzq5VHfAPIGRd6eih1Rz0PKaONdIqg2hzeVFxuRT8nEsAJODbdoV6Q0ywlJ9QC/CP NptlaZRepYMR6EPvr9trMyBl8hM36BnxFazmkBuYTJp+1Pm0IUFhWAyC/fBYOzXDsvzL jWfTEuYQQwgZ0pWVq+W+WEMU7gc3CMkdZB3R8B6G8kg/OMe9EGfzPrYtMnUBybud4DPr wBDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:to:from:date:dkim-signature; bh=4G8C30ryT2LTHnHPQQBb7sIaSl5gRW/HNCLsg2lCh4I=; b=tsoM5zJGiYqYd50fWbFps9xMSPS8Dhr9r61FuswpEMLbiTrtG1k4rTZ5rTfNhtMmrg 2T6LGeVIzWr+d4Oxg9X7zooFYQtxg94AW3r9f7BtaLYYEAcftnEpE0EPlYL+2fThfI0m llIMUKLZOn3pamdTvBFhYIYEt6dT+HZvcc8m/fKxMv1iwW4riXq6EwmxCJjByKm7lC2h 8PGlxLqE+0sa6JfU/097vsymPOC4Gz24aClYqdx/lYNRtiPwMf1cOC9CYaIaorIpFuFV zKC0XYN6HMSRHzOCdSE73C7N+VqYfBSMZCabREyz/Lf3TqNGn2HFf94p6yX65zQN0cnw rrpg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@fantom.org.uk header.s=cb32aubc header.b=P78ZX+uN; spf=pass (google.com: domain of ian-0jttZa1E5sTe9xe1eoZjHA@public.gmane.org designates 82.153.230.170 as permitted sender) smtp.mailfrom=ian-0jttZa1E5sTe9xe1eoZjHA@public.gmane.org Original-Received: from galileo.newbury.coolfactor.org (newbury.coolfactor.org. [82.153.230.170]) by gmr-mx.google.com with ESMTPS id q15-20020a19430f000000b004f175e991fasi1879344lfa.13.2023.05.15.12.20.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 May 2023 12:20:03 -0700 (PDT) Received-SPF: pass (google.com: domain of ian-0jttZa1E5sTe9xe1eoZjHA@public.gmane.org designates 82.153.230.170 as permitted sender) client-ip=82.153.230.170; Original-Received: from guest-121.newbury.coolfactor.org ([192.168.42.121] helo=[127.0.0.1]) by galileo.newbury.coolfactor.org with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.95) (envelope-from ) id 1pydjb-0000lI-Kj for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; Mon, 15 May 2023 20:19:57 +0100 In-Reply-To: X-Original-Sender: ian-0jttZa1E5sTe9xe1eoZjHA@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@fantom.org.uk header.s=cb32aubc header.b=P78ZX+uN; spf=pass (google.com: domain of ian-0jttZa1E5sTe9xe1eoZjHA@public.gmane.org designates 82.153.230.170 as permitted sender) smtp.mailfrom=ian-0jttZa1E5sTe9xe1eoZjHA@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:32619 Archived-At: ------OVP296J1W0P8DOPID22H0OVT487X9B Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks. I did have a look but I'll try again. I tried following the guide f= or writing my own template, but failed.=20 Ian On 15 May 2023 18:18:54 BST, Bastien DUMONT wro= te: >Your styles may not have the names expected by Pandoc. To know what it sup= ports, you can use the command > >pandoc -o reference.odt --print-default-data-file reference.odt > >and inspect the styles included in the document. > >Le Monday 15 May 2023 =C3=A0 05:34:44PM, Ian Fantom a =C3=A9crit : >> I've tried converting a book in .odt (LibreOffice Writer / Ubuntu) to .t= ex >> and viewing it in Texstudio. >>=20 >> It's not converting any of the headings and subheadings - just producing >> normal text. I used the '-s' and the '-o' options. >>=20 >> I think there must be something I haven't understood in the Pandoc User >> Guide (https://pandoc.org/MANUAL.html) >>=20 >> I was expecting some way of defining a conversion table from Writer to >> Latex. For instance: >>=20 >> 'Preface' is in style 'subtitle' in Writer, and is converted to: >> '\protect\hypertarget{anchor-4}{}{}Preface' and appears as normal text i= n >> .tex. >>=20 >> Any ideas how I should proceed? >>=20 >> Thanks, Ian Fantom >>=20 >>=20 >> --=20 >> You received this message because you are subscribed to the Google Group= s "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send a= n email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit https://groups.google.com/d/msg= id/pandoc-discuss/1201761b-53e9-f3bc-a6b5-4eedaf3b5146%40fantom.org.uk. > >--=20 >You received this message because you are subscribed to the Google Groups = "pandoc-discuss" group. >To unsubscribe from this group and stop receiving emails from it, send an = email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >To view this discussion on the web visit https://groups.google.com/d/msgid= /pandoc-discuss/ZGJpfgC_uBS8CUdT%40localhost. --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/D0A397CD-A01A-4964-8BB1-F70D9C15B245%40fantom.org.uk. ------OVP296J1W0P8DOPID22H0OVT487X9B Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks. I did have a look but I'll try again. I tr= ied following the guide for writing my own template, but failed.

Ia= n


On 15 May 2023 18:18:54 BST, Bastie= n DUMONT <bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org> wrote:
Your styles may not have the names expec=
ted by Pandoc. To know what it supports, you can use the command

pan= doc -o reference.odt --print-default-data-file reference.odt

and ins= pect the styles included in the document.

Le Monday 15 May 2023 =C3= =A0 05:34:44PM, Ian Fantom a =C3=A9crit :
I've tried converting a book in .odt (LibreOffice Writer /= Ubuntu) to .tex
and viewing it in Texstudio.

It's not converting= any of the headings and subheadings - just producing
normal text. I use= d the '-s' and the '-o' options.

I think there must be something I h= aven't understood in the Pandoc User
Guide (https://pandoc.org/MANUAL.html)

I was expecting s= ome way of defining a conversion table from Writer to
Latex. For instanc= e:

'Preface' is in style 'subtitle' in Writer, and is converted to:<= br>'\protect\hypertarget{anchor-4}{}{}Preface' and appears as normal text i= n
.tex.

Any ideas how I should proceed?

Thanks, Ian Fantom=


--
You received this messag= e because you are subscribed to the Google Groups "pandoc-discuss" group.To unsubscribe from this group and stop receiving emails from it, send an= email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this disc= ussion on the web visit https://grou= ps.google.com/d/msgid/pandoc-discuss/1201761b-53e9-f3bc-a6b5-4eedaf3b5146%4= 0fantom.org.uk.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msg= id/pandoc-discuss/D0A397CD-A01A-4964-8BB1-F70D9C15B245%40fantom.org.uk.=
------OVP296J1W0P8DOPID22H0OVT487X9B--