From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30550 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Shane Liesegang Newsgroups: gmane.text.pandoc Subject: Manually apply styles to output docx? Date: Sun, 15 May 2022 05:28:19 -0700 (PDT) Message-ID: <2a9a59ee-359b-4670-a140-234fb4c52311n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_7050_1454925540.1652617699357" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11743"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBC2OTJELV4GRBZHDQOKAMGQE4RS7ACI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun May 15 14:28:24 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f57.google.com ([209.85.160.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nqDMF-0002s3-IF for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 15 May 2022 14:28:23 +0200 Original-Received: by mail-oa1-f57.google.com with SMTP id 586e51a60fabf-ec4e7a087esf7526398fac.15 for ; Sun, 15 May 2022 05:28:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=4or8dR0PAEr3BBwmEONCdpFI3/XjcEgJj3G1XvP5Sd8=; b=Vc/M1rgyqKW4fAn4sMU/G6O3MBC7lWqIsrDZYX/ZDt4nDe8+6SjeRUdMwueb7+v8Bu aSuCAn6T4boaFH4kORXaQuvBtO9rPf+HqdfnPEk6I8HyxuN7GIdM4/WMew4ssrVsBKlV D8Lr6HtpsVyfBsEihoQ7L1McOLLtU4WeD5VkXvEHNxz2+2otGQ7CeByKJRrBR6lyGaes KnIXu7Uli96ZtEyNDyQKY82XG0LAXbGnlmF3uX5kpAwoxJNeiswwIOVUS0PE29r61J7n pT+nAwUrgObcQ0RnWCzVvTS2HXNjlw6ji+PdLNM5CU6+LaOfXIFurPlvELgHPQ0Qu1dM TO0A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=4or8dR0PAEr3BBwmEONCdpFI3/XjcEgJj3G1XvP5Sd8=; b=V0rTWGQdu/wYtY7DHOYiUxUgIpv8JA/M/JR4rFE4AHAgkXyoOOGnt5CCScv1KklNod 1whDHfJZwjFeXToWTC6rQHUbrBXmTJk2sKX1wm+tLDdILRcFvybC/DJJUj2B5aIniMJH PjH7AmZZG8nSA4VbBo7/Y5glXKAiZwxIDE5fKtOFwQf23E1pewCJJyYeipJs3INFeosH +0UP3VpQMMwYEcuuUX+GOCHmSvWbzObc8DRGB9tyCACWObXjhbjo6vVIg3gJYsx7fW4O oHdFIbdq7tGUMso2uuuQnhE4FPwTvXuaZbNAtBWm65RYAAMHDiRzdBTXFELF5AmNl2er MvMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=4or8dR0PAEr3BBwmEONCdpFI3/XjcEgJj3G1XvP5Sd8=; b=EMhYvYANapuYNHdcf8H6yhRdTbul/iVz6kIvPuw6l89aRekzS4my//h/n1J9Z0SuTh Bybt5T8ARDT68PLp6gvDSYsbIjQ3tVyUWSEKMbvHEKwsqM8sua80FnR/Obl3oknGcal+ c/IYMEDUagR2acPOpolOyz3zPcb9FoMzbaKkH4lRUw44dfUf6253AN2IfIwL0MzIFzMw U+D8flybYO7F9v8cwvequWHbSytjpAb/LcXbig4uov7UVsieZyVOql0AtieMYoAQkaKq J34LCNvfbFb6LVAf7Eae6uRKLsPf1YFRFJFkdcktJcDxHOUWiz2sX7iU3riQ9ohfzRFi X59A== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530AiwjwuCDHgsc47OadKx0YDu23XfbtLoPLvfO7rv6+z0Ts3Pd2 AQdvbD689AnilOi5jv7N1yY= X-Google-Smtp-Source: ABdhPJwDKR6K/HzEBAwI1bmSVykQddWJLN3dcatE3bUT8YKzkAAMccJ6OI9Cx6z3wSAdlAtLVt6dkA== X-Received: by 2002:a05:6808:3098:b0:326:7275:73ec with SMTP id bl24-20020a056808309800b00326727573ecmr5780472oib.54.1652617702513; Sun, 15 May 2022 05:28:22 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:9b0d:b0:ed:f3b6:a585 with SMTP id hq13-20020a0568709b0d00b000edf3b6a585ls5212626oab.7.gmail; Sun, 15 May 2022 05:28:20 -0700 (PDT) X-Received: by 2002:a05:6870:32d6:b0:e3:6e1a:e56b with SMTP id r22-20020a05687032d600b000e36e1ae56bmr6750320oac.206.1652617700069; Sun, 15 May 2022 05:28:20 -0700 (PDT) X-Original-Sender: liesegang-Re5JQEeQqe8AvxtiuMwx3w@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:30550 Archived-At: ------=_Part_7050_1454925540.1652617699357 Content-Type: multipart/alternative; boundary="----=_Part_7051_257643260.1652617699357" ------=_Part_7051_257643260.1652617699357 Content-Type: text/plain; charset="UTF-8" I've customized a reference.docx file for applying styles to an exported 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 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="Strong"} And there is already a "Strong" style in the reference file, I find the span instead has a new style applied to it called "Strong1". Is there any way I can manually apply styles to Markdown text for docx output? 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 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/2a9a59ee-359b-4670-a140-234fb4c52311n%40googlegroups.com. ------=_Part_7051_257643260.1652617699357 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I've customized a reference.= docx file for applying styles to an exported Word document, and am a= ttempting to follow the instructions from the Custom Styles 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 n= ot 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 span instead has a new style applied to it called "Strong= 1".

Is there any wa= y I can manually apply styles to Markdown text for docx output?
=

Thanks for any help / letting me know where I mis= understand.

--
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/2a9a59ee-359b-4670-a140-234fb4c52311n%40googlegroups.= com.
------=_Part_7051_257643260.1652617699357-- ------=_Part_7050_1454925540.1652617699357--