From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30551 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.text.pandoc Subject: AW: Manually apply styles to output docx? Date: Mon, 16 May 2022 09:43:04 +0000 Message-ID: <3b8d1a41518f4384a6087ac54b826b3c@unibe.ch> References: <2a9a59ee-359b-4670-a140-234fb4c52311n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_3b8d1a41518f4384a6087ac54b826b3cunibech_" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31833"; mail-complaints-to="usenet@ciao.gmane.io" To: Original-X-From: pandoc-discuss+bncBCZ27W53TUFBBK5ZRCKAMGQEKLOVP5I-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon May 16 11:43:13 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f188.google.com ([209.85.208.188]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nqXFv-0007zG-Im for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 16 May 2022 11:43:11 +0200 Original-Received: by mail-lj1-f188.google.com with SMTP id j20-20020a2e8014000000b00250baa159cesf3433342ljg.18 for ; Mon, 16 May 2022 02:43:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1652694191; cv=pass; d=google.com; s=arc-20160816; b=NLoVQt+H8unUQK5+nvuAbxVCHda59f8ALiTDtLv0A+LZWkw8X1BVzxEwEthv5yE2eT SUQO4UwzjYZQMB1indLCjNlS2ZBWGcWrACzkmEqNr1L5pEpm+UjGljloBymwYnMee7L5 gJtWpudnaLcD0ZV0Vq4xYJJieAqfRnfW30C1eilxtSUkfZmnjbrTt8C2/Ld5GJIShxt4 bJcR5dUYIbggmr+bq76abl66eKLFx18e+27s1kArSVelaPpTX4QFeESkSSvwecRtiXJN 2lg2jHA1qarjpKTcI5i5YEt2j+hDtbijfJCfaQncGNPjp9gIMAffpMH0+KuyI5tyDdKu 0r1A== 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:mime-version :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:to:from:sender :dkim-signature; bh=3J5pgNY1oJJxphAcTRygF28FiLv6t8oe8wyPnylj53o=; b=QCUg9qpLHnGLz8T8D3FP+6zDuk88oJd5XADQTlaTMjMxSmq7sPvFQLDLYjq+Chnr2W WDsZyTDhF2Bdkh+XUoY+99mropEsrmOg1ebTAKVp2qvWfZMoLhjdOJGeKUQU+YSD75uD mothA7aIL/8nGzJJRHLgxyc91pChVAFqgFiFg8WdmJkOdZsSltfr0nPQsDeCh4l/wfQr n77CFk2wozkvXm1o6auTgCm06goMRfJYjvlgTJuYNntw2T05VQN8H6fuofJL/4YMpRd0 t4CIvJgu5mAkBtfc2l4snTcQLOmjytf/dslySq1wZainbcNXFhlcW1oP6od6RYielzZa L3tg== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.84 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:subject:thread-topic:thread-index:date:message-id :references:in-reply-to:accept-language:content-language :mime-version: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=3J5pgNY1oJJxphAcTRygF28FiLv6t8oe8wyPnylj53o=; b=hR17npnnTD+ek5v68TVHC8AmmbRl+t40bEpU1hVHFFraH5/epIgL2eDA7Clkcedwxz WhvsRFeYdL502BL5OQJS3DTSawqNVryOCMRhwUGgQFrAgnjPFGAVoz1FU0vrlLYIkpRq 5wc8+HBV9EUWWG1a3pw40Nd/alJJ09Gcni6/rftNG4VgAqJ+GC7vpWogGNrurh7YarQU 8eTkXrw6M10on5DOaxyJkue53xQEcShnU6kOoW1znhjUD0DuoThg/AHY0aefVEMl4Tml XvIOc3hcV1ooSNdewioaNB52LTl8rObFXQxJQ472jauXQ+Q4CIKEXnkxMbmeCgl5sg9p Vhiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:subject:thread-topic:thread-index :date:message-id:references:in-reply-to:accept-language :content-language:mime-version: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=3J5pgNY1oJJxphAcTRygF28FiLv6t8oe8wyPnylj53o=; b=oYP70RgxtD+HkIO8zUqmAXFdC6RdhRYd0HeMhQ4gtWBBFJOsJkOjNsWPvU2eskzFWl olARAG0gdGao/sBUUarCYQaRbSpsmDwbyjJI6TYaIdzNHLLAy11iwXEepQ2CUAysZ/At rKvdQKuY0YYKCMc+tTZiCXz1zZWVysC5MxnuVZapkmtwwNkF/rAJ+JSoy2j0UYh1a02o m8pW4E44x8pHvGC6cnzO52ktSRp8HJVF0XB/zcF+uxJrzdnf54hyDUcLksL1UpWE5fwT hUmF6005NtGwKvHo/detjiz93qxlNbR Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533Pai71ZqcR9o6ktjIlYGaiPJXddwxT4FSzsnw8pbIuusbVzm9j Me4lXu8fIcJO6bRCFhJS9LQ= X-Google-Smtp-Source: ABdhPJzOYiQDSmCo+3LN/puDcAtnXeyH0jYzZMbTlXcF5+qJlJaomra5BV23qDrTbpOiobEnBknQtQ== X-Received: by 2002:a05:651c:1025:b0:250:a01e:6e5e with SMTP id w5-20020a05651c102500b00250a01e6e5emr10836611ljm.76.1652694191031; Mon, 16 May 2022 02:43:11 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a2e:b604:0:b0:253:9afb:4d3a with SMTP id r4-20020a2eb604000000b002539afb4d3als1148342ljn.7.gmail; Mon, 16 May 2022 02:43:06 -0700 (PDT) X-Received: by 2002:a2e:9dc8:0:b0:24f:d84:3001 with SMTP id x8-20020a2e9dc8000000b0024f0d843001mr10614500ljj.435.1652694186280; Mon, 16 May 2022 02:43:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652694186; cv=none; d=google.com; s=arc-20160816; b=q7SquY1TrcBwEF4qyd3bCLOzw5LGaxlUnD4zHcuwgi3dNbMnKSblbLeBzcYMa7Wq9U 6Dkea2FbX696Jp1Y0kypEZxUeCx3FYh+MJBPkd9TbEdbVrcL1JcaEFvkCWO+EHdDtWDU k6C7HKu5v7/g3UPZ8OfiyQazQ0zauL8dRp0X+rePTr5JPHfZ/AqZxwzndN0I6TwMkvad +RJ902ffXCFncBsXHW/I1+DM7/yH2tvoM3Ukgxmxs/53Mkz1iqX/ZokpcDv7qzu/kaju Tioq1qQlKdQErVWELVgvmbw3VBxBAELBo+pfNMMamy0jikA9DkglRf6iKbsHaNfryrK8 Yq+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:to :from; bh=Qw7XkzFm7Ywd4eXUfu29ul2em+LXpDdtqZ74E1jfLjM=; b=xqRqZQlynfmI8l6OtZqy30DzPTpty7SzeneRRJfEuSi98ZjUTEEbCwDQMhpm1YyAf1 wDfElRse0JhTNXIsac3O8RgIaHhGUW+XOfvZUTvrXHpcXNOcmiiLaucCPspazevGDVHI 6aTIYTjCeBHUyHuSszF821860/SFe+HbJqwb4t1mXaqTeW9nejxMFZ3qYCa9Sur/EkFx N2l7MEbQgFktNpUmJH4flvZwYvwEIHrvvwGAeD0WS+vF2g4bR5TmZbI4VKkYrOHAhzq7 73efI/9sSHcKZVRWhshLEu9/3MU8YO+8qAIdIZVBPmIdDQAaoFf7CfJKJ3FRFtrokNBj ad1g== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.84 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch Original-Received: from mailhub-lb3.unibe.ch (mailhub-lb3.unibe.ch. [130.92.0.84]) by gmr-mx.google.com with ESMTPS id t5-20020a056512068500b004725fee5ddfsi489474lfe.9.2022.05.16.02.43.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 May 2022 02:43:06 -0700 (PDT) Received-SPF: pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.84 as permitted sender) client-ip=130.92.0.84; X-Virus-Scanned: By University of Bern - MGW Original-Received: from mail.campus.unibe.ch (aai-edge-02.campus.unibe.ch [130.92.13.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhub-lb3.unibe.ch (Postfix) with ESMTPS id C192650009C for ; Mon, 16 May 2022 11:43:04 +0200 (CEST) Thread-Topic: Manually apply styles to output docx? Thread-Index: AQHYaFdG0wl3fC04FE2XyAGiW0Bttq0hQeiA In-Reply-To: <2a9a59ee-359b-4670-a140-234fb4c52311n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Accept-Language: de-CH, en-US Content-Language: de-DE x-originating-ip: [130.92.13.161] X-Original-Sender: denis.maier-NSENcxR/0n0@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.84 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch 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:30551 Archived-At: --_000_3b8d1a41518f4384a6087ac54b826b3cunibech_ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I would have expected the same given the documentation says =C2=ABFor docx = output, styles will be defined in the output file as inheriting from normal= text, if the styles are not yet in your reference.docx. If they are alread= y defined, pandoc will not alter the definition.=C2=BB Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Im A= uftrag von Shane Liesegang Gesendet: Sonntag, 15. Mai 2022 14:28 An: pandoc-discuss Betreff: Manually apply styles to output docx? I've customized a reference.docx file for applying styles to an exported Wo= rd document, and am attempting to follow the instructions from the Custom S= tyles section of the manual. = If I'm reading the documentation right (and I may not be!) if I attempt to = apply a custom style that is already defined in the reference document, it = will not redefine it but apply the existing style. However, when I do something like this in markdown+bracketed_spans: [my strong text]{custom-style=3D"Strong"} And there is already a "Strong" style in the reference file, I find the spa= n instead has a new style applied to it called "Strong1". Is there any way I can manually apply styles to Markdown text for docx outp= ut? Thanks for any help / letting me know where I misunderstand. -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org. To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/2a9a59ee-359b-4670-a140-234fb4c52311n%40googlegroups.com. --=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/3b8d1a41518f4384a6087ac54b826b3c%40unibe.ch. --_000_3b8d1a41518f4384a6087ac54b826b3cunibech_ Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

I would h= ave expected the same given the documentation says =C2=ABFor docx ou= tput, styles will be defined in the output file as inheriting from normal t= ext, if the styles are not yet in your reference.docx. If they are already defined, pandoc will not alter the definition.=C2=BB <= span style=3D"mso-fareast-language:EN-US">

&nbs= p;

Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von Shane Liesegang
Gesendet: Sonntag, 15. Mai 2022 14:28
An: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Betreff: Manually apply styles to output docx?

 

I've customized a reference.docx file for applying styles to an expo= rted Word document, and am attempting to follow the instructions from the Custom Styles = section of the manual. If I'm reading the documentation right (and I may no= t be!) if I attempt to apply a custom style that is already defined in the = reference document, it will not redefine it but apply the existing style.

 

However, when I do something like this in markdown&#= 43;bracketed_spans:

 

= [my strong text]{custom-style=3D"Strong"}

 

And there is already a "Strong" style in t= he reference file, I find the span instead has a new style applied to it ca= lled "Strong1".

 

Is there any way I can manually apply styles to Mark= down text for docx output?

 

Thanks for any help / letting me know where I misund= erstand.

--
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-d= iscuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/2a9a59ee-359b-4670-a140-23= 4fb4c52311n%40googlegroups.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://groups.google.com/d/msgid/pandoc= -discuss/3b8d1a41518f4384a6087ac54b826b3c%40unibe.ch.
--_000_3b8d1a41518f4384a6087ac54b826b3cunibech_--