From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/25946 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Leonard Rosenthol Newsgroups: gmane.text.pandoc Subject: Re: display list bullets Date: Fri, 21 Aug 2020 11:58:20 -0400 Message-ID: References: <8f57a099-8226-4caf-8c69-dbaf97287a89n@googlegroups.com> <20200821155942.ffeb275a81d1dc390743cbc2@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f4092805ad654e54" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4143"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCDIL7E46MGBBKG6774QKGQEBTEMTSY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Aug 21 17:58:36 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-vk1-f184.google.com ([209.85.221.184]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1k99R6-0000xS-IY for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 21 Aug 2020 17:58:36 +0200 Original-Received: by mail-vk1-f184.google.com with SMTP id k185sf739588vke.10 for ; Fri, 21 Aug 2020 08:58:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1598025515; cv=pass; d=google.com; s=arc-20160816; b=lIUYlOjoO/MTcnu8GtBdDx+CYMFUm8F0jUa0bTeFDJH2vVjc68VWm3CzkFGQWg/hWs KFT72iZWQ/+5ynn77nB/uciMBT1X12GJ9DO7+oCm/pHw6Da/qDZgJg5U3pPzRKmrUz2C m/ycZh3ubBPNRH+6NZgvUbqRu1Xp6RirKRhZr4oq5LurpTJIijEADnvPi+ME4XYtkM+Y DErlRAtc9VRJBe8eYTwDSM9sm4BeKhlEke0bOhC7N3qFlqt/mwC5hRvU9vkWnImniDX+ mYzqxz3GUdetxfZPprsWALiwMr2a0mWlemMXYF7xPEKcXx0OEflaUTnYedYwcwTwI8lu yG+A== 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:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature; bh=kJ29/jAK2yL/J9LRT/ogopGHrQrSqx2lj9Hkp/hp4NM=; b=bJ317WhB+iJpd8Kshb4nAJTRdkJMPU/a4wqH3KZCkxJ2/HdH2kgi6A9ETfn3GrWfaP FBehDHZC2rbm/snsbQtveEOtwMjYpL7AG6efnaU7ntkoRdDqzyfh07E2f4mEy/iF/ehb 8HkmPl7Ppk643k7+w8P6O+Du5qjYfZ11y1fWcjsklNBlbItkn0CzGkPeOtaJ/a+yRjca 5aHhdkQlIO8VBDXAXp15J9og3mNMQFrwMNvK1c7syPPCgWeW1QdLLrWw24JJees0D/SN BJZiI+kZxo40GC2K7lE1zlMzFGAiZPSIbf5r7mFjFqZWERTiYNRBTTghPeiCEVypMN4z Uc/w== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@lazerware-com.20150623.gappssmtp.com header.s=20150623 header.b=iE8gyg02; spf=neutral (google.com: 2607:f8b0:4864:20::e29 is neither permitted nor denied by best guess record for domain of leonardr-bM6h3K5UM15l57MIdRCFDg@public.gmane.org) smtp.mailfrom=leonardr-bM6h3K5UM15l57MIdRCFDg@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:references:in-reply-to:from:date:message-id :subject:to:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=kJ29/jAK2yL/J9LRT/ogopGHrQrSqx2lj9Hkp/hp4NM=; b=DL3Py8aiTSsf9i49/YkAWkXJIQgTVzE7IHi1HPWvHCCVIMXqIfO8ib/9yMWQ5hPXhy TmbJ4qWrqgaGnqpqyzOCE16aD3jHX2sM6G+AA9gT1K+V1LtT7PzAu+wp9QB40GJXftPW IqQbAyuB/8ECrnuwtaCg/cOmFqiuW5NvwEyavunizXPboUdm1q/AfgPuN3GaFCHwU249 KDTBEhqFnSG/Jgichz5TrRjPf2/rwRHvu3L2CxdOvQagG/izRDWzgSz1U9AXzbYCi60d 1/wawsifADWkAwYtDWEe75lWvDI2Qxkulbb1co4E8QP2Dci7bZqBvFCcvWqFoX9x1kzj hyaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=kJ29/jAK2yL/J9LRT/ogopGHrQrSqx2lj9Hkp/hp4NM=; b=UJsvd3jKpTe/pxqlPFH9dwc0asvhMLaeD5JwYaAycvtYKsStQG2ie/pm2x/MTROwKy mzgKk7ccg11KxTXECYZ91nMkhIFkTBiytLdLO5lGkV7YpLP3WElrv2nObA+F+6RYL0y5 a2/zXZuEJpiZ1yDEFXTAAWRS0PjC87pCif9RRDiAMc2+gLWd8mALMA3+7y3LIg6cTuHA O3iOn/e2l3BHKBhd20s84mk0DzMMShlewnlpU7pg+GA+4L0Bfj6vt8gwOrlcD3TxtEUI g4kff9YyOvMEPMzyzvK1v6oH1wU/hqEyLm1SBIGSB+yzafcToGiYJll9KzZxjaPQnQne ll7A== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532W4M1HzCHA7Ii7n5tJDwwMA4J30euTXcTqn3q47NuTZo8/DdP+ w+lvubVIukqD69Ef5xINDXw= X-Google-Smtp-Source: ABdhPJwzx7QKzl3a+26iflcuG5w7tGY7Hz1jgyou/B+fIIOLBw9h4yM26/xlvKTwu7Ni5N9gn6jG4g== X-Received: by 2002:a1f:a094:: with SMTP id j142mr2287778vke.7.1598025515505; Fri, 21 Aug 2020 08:58:35 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ab0:1d84:: with SMTP id l4ls164852uak.9.gmail; Fri, 21 Aug 2020 08:58:32 -0700 (PDT) X-Received: by 2002:ab0:2c1a:: with SMTP id l26mr2022858uar.116.1598025512262; Fri, 21 Aug 2020 08:58:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598025512; cv=none; d=google.com; s=arc-20160816; b=XZX8mK2CnyBbf+WaGOc6+v95Fg5/nu5BgIBNgdSo/9TRW/GeUq2TDYz7BSPtBcxonh M5U9ITUWUGoY8xvAEOp5EQ3xFvGn5rFTYb76hDHvaovWUHRWluaJob7NGZxmgENJcuVR G0LqgDQp7l8wXnPrxsSwR6Q922BB+EJJnaaSiZGmStGFBf1GIvBG4uPjyEKinPOfgW57 FbM+jdMjPHcgP1sZJZaQhkyfEan79atiuzJqu16fvhB/EO5kzKiWOgYqNbpoda30j7YW Xp93rVYLHXmva4cSm1F6qXSvW4wG14XTomhBxG76cd/PNhY7vqreYYfz6TFbKFLWhd9J Yl5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=8sqvCKsRMo9k4JSDTUCIjy6WhKQOTkROHGETO91OSu0=; b=XT3tvJyZn1xqNz6wQtr6Gak/akPjEF60Ke1tb419ELdmJaxiwmQgF+YXzL+aJLL4T8 E7X39kOBlVjx/2huUNeeOIsEP9AEmEcZZiXjxZ2jc/I/kDVL/4cm6r5ElUEJHPrspGhP L2Qnyf94C/mQioKQ7M3QQqkUIHrv7m5WfoLzi44DmK0tWjQlvt6DUWOGAKQKbHlS6g1I GX8DbLpstl0fGqoIfiSinNwB+VSAG0tAcNoI/ZVJr4BoZUaqQZ/IwjpULTyzHRSpcEuq JiWd47qVl0g7wrsbaDXfneBSKfiNYGsxpIgMdMaY3eLjLYpPQdtvZixHwFLwl3LE8ssd 3KBA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@lazerware-com.20150623.gappssmtp.com header.s=20150623 header.b=iE8gyg02; spf=neutral (google.com: 2607:f8b0:4864:20::e29 is neither permitted nor denied by best guess record for domain of leonardr-bM6h3K5UM15l57MIdRCFDg@public.gmane.org) smtp.mailfrom=leonardr-bM6h3K5UM15l57MIdRCFDg@public.gmane.org Original-Received: from mail-vs1-xe29.google.com (mail-vs1-xe29.google.com. [2607:f8b0:4864:20::e29]) by gmr-mx.google.com with ESMTPS id y3si181467vke.2.2020.08.21.08.58.31 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 21 Aug 2020 08:58:31 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:4864:20::e29 is neither permitted nor denied by best guess record for domain of leonardr-bM6h3K5UM15l57MIdRCFDg@public.gmane.org) client-ip=2607:f8b0:4864:20::e29; Original-Received: by mail-vs1-xe29.google.com with SMTP id k25so1047282vsm.11 for ; Fri, 21 Aug 2020 08:58:31 -0700 (PDT) X-Received: by 2002:a67:de9a:: with SMTP id r26mr2376411vsk.197.1598025511439; Fri, 21 Aug 2020 08:58:31 -0700 (PDT) In-Reply-To: X-Original-Sender: leonardr-bM6h3K5UM15l57MIdRCFDg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@lazerware-com.20150623.gappssmtp.com header.s=20150623 header.b=iE8gyg02; spf=neutral (google.com: 2607:f8b0:4864:20::e29 is neither permitted nor denied by best guess record for domain of leonardr-bM6h3K5UM15l57MIdRCFDg@public.gmane.org) smtp.mailfrom=leonardr-bM6h3K5UM15l57MIdRCFDg@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:25946 Archived-At: --000000000000f4092805ad654e54 Content-Type: text/plain; charset="UTF-8" You could use a filter to apply docx directly - assuming you know what you were looking for and what to add. I've done a few filters that write out Docx/ooxml for functionality not doable otherwise. Works great. On Fri, Aug 21, 2020 at 11:21 AM BPJ wrote: > > > -- > Better --help|less than helpless > > Den fre 21 aug. 2020 15:00Anton Shepelev skrev: > >> BPJ: >> >> > Pandoc's internal representation does not retain >> > information on which bullet list markers were used >> > in the original. Try converting from Markdown to >> > Markdown: you will see that all list markers come >> > out as hyphens. >> >> I think Serge's problem is not the specific bullet >> marker but the flattening of an originally nested >> list. > > > I realized that some time after hitting "Send". Sorry! > > As for the custom-style attribute it (as yet) only works for paragraph > styles (via divs) and for character styles (via spans), not for list or > table styles, so those will in any case have to be applied manually (unless > there is a suitable library for manipulating DOCX and one e.g. inserts some > special character into a list item for the program to look for to signal > that a list (item) shall have a certain style, but just applying styles > manually is probably easier!) > > He wrote: >> >> > Bulleted lists are displayed as the same style >> >> In the resulting document the items different >> styles, but the indent is overridden in all so that >> the list looks flat, *as if* its items had the same >> style. >> >> -- >> 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/20200821155942.ffeb275a81d1dc390743cbc2%40gmail.com >> . >> > -- > 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/CADAJKhAOWrEfGg_AZHMuokEYpEQ4P34wHZ%3DOeND4kdHjHhWVSA%40mail.gmail.com > > . > -- 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/CALu%3Dv3LSYtiNjZqUucjkKGFeTOnTF0k%3Dk2KPut1mZVYL3ioOYw%40mail.gmail.com. --000000000000f4092805ad654e54 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
You could use a filter to apply docx directly - assuming= =C2=A0you know what you were looking for and what=C2=A0to add.

I've done a few filters that write out Docx/ooxml for functional= ity not doable otherwise.=C2=A0 Works great.

On Fri, Aug 21, 2020 at 1= 1:21 AM BPJ <bpj-J3H7GcXPSITLoDKTGw+V6w@public.gmane.org> wr= ote:


--
Better --help|less than helpless

<= div class=3D"gmail_quote">
Den fre 21 = aug. 2020 15:00Anton Shepelev <anton.txt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
BPJ:

> Pandoc's=C2=A0 internal=C2=A0 representation does not retain
> information on which bullet list markers were used
> in=C2=A0 the=C2=A0 original. Try converting from Markdown to
> Markdown: you will see that all list markers=C2=A0 come
> out as hyphens.

I=C2=A0 think=C2=A0 Serge's problem is not the specific bullet
marker but the flattening of=C2=A0 an=C2=A0 originally=C2=A0 nested
list.=C2=A0

I realized that some time after hitting "Send". Sorry!<= /div>

As for the custom-style = attribute it (as yet) only works for paragraph styles (via divs) and for ch= aracter styles (via spans), not for list or table styles, so those will in = any case have to be applied manually (unless there is a suitable library fo= r manipulating DOCX and one e.g. inserts some special character into a list= item for the program to look for to signal that a list (item) shall have a= certain style, but just applying styles manually is probably easier!)

<= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft:1px solid rgb(204,204,204);padding-left:1ex">He wrote:

> Bulleted lists are displayed as the same style

In=C2=A0 =C2=A0the=C2=A0 resulting=C2=A0 document=C2=A0 the=C2=A0 items=C2= =A0 different
styles, but the indent is overridden in all so=C2=A0 that
the=C2=A0 list looks flat, *as if* its items had the same
style.

--
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 pandoc-discuss+unsubscribe@googlegroups.= com.
To view this discussion on the web visit https://groups.google.c= om/d/msgid/pandoc-discuss/20200821155942.ffeb275a81d1dc390743cbc2%40gmail.c= om.

--
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 pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhAOWrEfGg_A= ZHMuokEYpEQ4P34wHZ%3DOeND4kdHjHhWVSA%40mail.gmail.com.

--
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://gro= ups.google.com/d/msgid/pandoc-discuss/CALu%3Dv3LSYtiNjZqUucjkKGFeTOnTF0k%3D= k2KPut1mZVYL3ioOYw%40mail.gmail.com.
--000000000000f4092805ad654e54--