From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31948 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Staal Newsgroups: gmane.text.pandoc Subject: Re: [Spam] "Source Code" style not found in generated reference docx Date: Fri, 30 Dec 2022 09:29:24 -0500 Message-ID: References: <83c5bd22-976e-4d05-87a9-461d60215b42n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6102"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCGYLPE23UARBRXLXOOQMGQEOUT33BY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Dec 30 15:29:31 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pf1-f187.google.com ([209.85.210.187]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pBGO3-0001Qy-5U for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 30 Dec 2022 15:29:31 +0100 Original-Received: by mail-pf1-f187.google.com with SMTP id a1-20020a056a001d0100b0057a6f74d7bcsf10602321pfx.1 for ; Fri, 30 Dec 2022 06:29:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1672410569; cv=pass; d=google.com; s=arc-20160816; b=RDg7xWxFKI08MInQmwcAQ1X5o8tqIptJEm+nDAzbGvabnb7TZiqvcq+CXs7VRomer2 n3cFBj9AaheQUKrmoc4Bzl5IhQwx4xTFadoN8U5peXmaZEVezQCpo8xgykL5mU/kJZl2 8Hf8pqKFh5yVGOhpOGaWYG/R8zOY+5ca5QIQ6nQFawCK7IXmoyX5XVdhxL+Nh5Qd4nko d5V8Z+zfpkCqdjQ3cDTVUcWjhJ8ri9i0PapewBG1f6O3QDHghhS7nSx7UR6vTro0yGTX +yNN8YeHsNPqcEz7VIs/ZqrKKf1iIJvGpXWh9xtuZ6cdRixdVOPigi9ZsYUTtHJ711j3 kTlg== 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:in-reply-to:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:sender:dkim-signature; bh=7xrHw2yxnJv5Rx/yfB41gut3OCdjW2qoAsS00//oAq8=; b=prGWimZrO3mAI4ulOGYL5p3rBm4pAdKnj3sxdpRys1o2EqZQJ957Ik7vke/atExYct GPNsMYnTLe/FE14XTzoto4LNWRZHjvFe7mMfaMrHCo1P1DC4vq/LVmMgMlIu+TzMN3+L psiNgYGNO7LFVhAV7wkWcED2NBxYOIDKj1usWtJWRgL/cjOExcMR25Os76mktN72fAzR kxCMJodszbbTNuelCUViJRLr8DRLRD5AN9n6UGVOnCj/s+jqEcpOkR8Uq3Rnk7243F6W 5naU2es7YBxEuLNzACX8b4EfzefhfmylH6GrHgBryQ3kBDgdqE3/7aFVIAMtPfWCxf+M NwNA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) smtp.mailfrom=DStaal-Jdbf3xiKgS8@public.gmane.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=usa.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; 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:in-reply-to :from:content-language:references:to:subject:user-agent:mime-version :date:message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=7xrHw2yxnJv5Rx/yfB41gut3OCdjW2qoAsS00//oAq8=; b=o81OdG/vzrvDWpOOGb2080KdkxtFP52/NBB/Fb8ThuAAhKNh9HD25qFKzvlOUhjQUJ WZtGiPYFAPN9LtZxauz1vzVF9wt7QJC3lBsvUWhtTxR6eXN4eRAO4D/fOJD10VQWLuEp VcsNyKlnlbFl6SGfSrTKgZp+EK1ga0+1RBJvL6Ep9O2MStBGsZ1zlRwuZIMGdXhhkQp1 XJLgkHEgRKX37hSXnSmisUuo5tQI2DRSYDtAK0ThEdQ4t857cJonaVlkOYQvfsU93w7D 9wAsCCnCrE8J8iVt4AA48VmROGrxBokzceur/BB9SnJjjK1zNFlTt40+dYWP2k8oWWvm X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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:in-reply-to :from:content-language:references:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=7xrHw2yxnJv5Rx/yfB41gut3OCdjW2qoAsS00//oAq8=; b=FsiXNHKSdSN93sR29ZB7RLcnYdadw6MMpO92ynycIZj7Me2aYBDknyF9WjedCQ8s6b ItIrkflW1L/HMrScbhFGyTUT5nDVp18EYtTOtOWg+5xAwFVeDYfh+aNduRfb1odN/Xc5 3TTa9Wva0VxPAaD5N+hQ4gSlsTF2cIK4e8CTIX2LO9sbyvsoI6+gFKwGRfndkWDT3UeQ oNdkE6WhNdKKQlNbUKVE61QRb9M6XdZaXfleGgfstW67PKZs2XmNMyYiyIh+pbXpu1an ZMofWiRTGh3VrkAUpu Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AFqh2koFzbHWeYyQdIP5dCzrqOg47jjKNJ7Cg/f0B1w4gerr62XNTj62 rfmDvaassnmOYKYk6ZNtxbg= X-Google-Smtp-Source: AMrXdXtnMIdNuDgk3wMuPlqtMEUu+atbaG6hKcmd/iPdd8KTihBTgXmy4TAro5zcDuuzCOORLMtgEA== X-Received: by 2002:a65:4cc9:0:b0:476:c39b:ab5b with SMTP id n9-20020a654cc9000000b00476c39bab5bmr2235013pgt.565.1672410569518; Fri, 30 Dec 2022 06:29:29 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:902:d18c:b0:188:62b8:814f with SMTP id m12-20020a170902d18c00b0018862b8814fls23143061plb.1.-pod-prod-gmail; Fri, 30 Dec 2022 06:29:26 -0800 (PST) X-Received: by 2002:a05:6a20:1608:b0:a8:a203:ec97 with SMTP id l8-20020a056a20160800b000a8a203ec97mr45524182pzj.60.1672410565956; Fri, 30 Dec 2022 06:29:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672410565; cv=none; d=google.com; s=arc-20160816; b=ZrJk+qWAAmJAMFLy56h88kgsaKJMiDvxcB6jHizdr3dYMt5IyMy+saq1Hw7vzH5OPf R9/mINCuC+x7YCCj8BKubz8RR2s13DHUGjMxJsuMpSpicabKZI0pxOVqExB+YsFAPo9H JMU1OndTJZwEZg4mkPazRjiRHBRFoi1Qz71lUaksNQN2YcrCDEi2Mw+p3VAQl2NK6gzX KRbP4ligUloDS7exrzWz4HL5O+obTsPWbhecxjo4qVJUsVtXZo4c9Xv12DTiJx/1TLPI tOKdyKQKQ4BZDf+RD5zxUOf9bFxQrJ8xxuJsijYF7P9AMQixH+v9QQC4H0aBqmwxRzPa Fwyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id; bh=N3aXJ9/gzYyL+ExIwL2rwiKEwsvtvnaqQF1zi//dUUU=; b=rl28Cxt2/ceaWOKWY39wzNrENgh+XdFW6v7UtZING9kLAophP3YUo4OExPK/AXNKKg RVCVtzT14YAqjQ13lyG/fNPMNk2G+LU9HYFqduxhQ+yKot6UxpMk4YAs+vs0lhEFnOXn 1bMaKQcxAUcOzaWOF+dyQHJ1dJ/UvQspfzSNfanwftrFlNhTZ5xES+izGXidE/zuy1DJ 9A957i45hbOIkd6zIdYSKQhNoJm7wuLkmPz8uMbYImJqTDnhbHde6X/R/Saupc1k+qoM vFHyVDov5djRaSUegFS06ibA8j3oDlqyBzNZbrWMdbyNltsLm9mNAUIhnrF3yMT186fb 0Zxg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) smtp.mailfrom=DStaal-Jdbf3xiKgS8@public.gmane.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=usa.net Original-Received: from mail.magehandbook.com (static-71-191-170-84.washdc.fios.verizon.net. [71.191.170.84]) by gmr-mx.google.com with ESMTP id m9-20020a638c09000000b004772aed5c8bsi1464364pgd.1.2022.12.30.06.29.25 for ; Fri, 30 Dec 2022 06:29:25 -0800 (PST) Received-SPF: neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) client-ip=71.191.170.84; Original-Received: from [192.168.1.27] (unknown [192.168.1.27]) by mail.magehandbook.com (Postfix) with ESMTP id 4Nk71d091nz10ld for ; Fri, 30 Dec 2022 09:29:25 -0500 (EST) Content-Language: en-US In-Reply-To: <83c5bd22-976e-4d05-87a9-461d60215b42n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: DStaal-Jdbf3xiKgS8@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) smtp.mailfrom=DStaal-Jdbf3xiKgS8@public.gmane.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=usa.net 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:31948 Archived-At: On 12/30/22 2:48 AM, Solever Lee wrote: > Hi, > I'm trying to modify the style of code block in reference document, I > followed the manual and used pandoc -o custom-reference.docx > --print-default-data-file reference.docx to generate a default reference > document. > > However, I could find any style for the source code, should there be a > style named "Source Code", or a code block inside the document? > > BTW, I'm using the latest pandoc version 2.9.12. > > Thanks! As I understand it, the source code is basically styled by a separate plugin that's been integrated: https://pandoc.org/MANUAL.html#syntax-highlighting So if you want to style it, either use it's styling themes, or override and handle entirely yourself - either way it's basically just a preformatted block, and is probably in that style in the Docx. Daniel T. Staal -- --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. ---------------------------------------------------------------