From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gCeIJT8VdmRPCgAASxT56A (envelope-from ) for ; Tue, 30 May 2023 17:24:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kCOkJT8VdmRVegAAauVa8A (envelope-from ) for ; Tue, 30 May 2023 17:24:47 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8F2943E0B5 for ; Tue, 30 May 2023 17:24:46 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q41Bp-0007zD-F5; Tue, 30 May 2023 11:23:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q41Bd-0007ww-4f for emacs-orgmode@gnu.org; Tue, 30 May 2023 11:23:01 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q41BX-0008Nb-Nl for emacs-orgmode@gnu.org; Tue, 30 May 2023 11:23:00 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id AB714240029 for ; Tue, 30 May 2023 17:22:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1685460173; bh=hCy/E9ESXOUZ7O5uUInQizzFMSA/TtBJ9pKFgHvN+eE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=JrT0z6OfPtjv6umuZLJM4r4WcBRD70bWCncA3O9MJr79PEUI7UyMZI7WiKT2LA7GQ Ya2j19PM9aj9D6zsAWHuLWxfeb1fXGS22C45t7pRJxMWNQDtUUiqNzgHzuqQTYhnSB 5QN8vnRMEsZDvAflhnR4s2nk/3BsItFMSlBHEU+DTttHjWJoenH+IJ4GE584/fAtkw xH14oc9A3P7tgfKSBv8346E5xcMkmO3WBOCTYuDWID9jYm/lGC3f5vCvmj41+W0Wo/ OndnroHsozNzsu4amv9Llsx/KYd4DtS6reNCFgsY3v0S4wsm3w+5Ev+5zuSb0BQZz4 ZuLOr4Ehqt02g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QVx3d1JT6z6tvr; Tue, 30 May 2023 17:22:53 +0200 (CEST) From: Ihor Radchenko To: Nick Dokos Cc: emacs-orgmode@gnu.org Subject: [PATCH v2] doc/org-manual.org: Document `org-latex-src-block-backend' In-Reply-To: <87wn0yz88a.fsf@alphaville.usersys.redhat.com> References: <87wn1dznpx.fsf@localhost> <87wn0yz88a.fsf@alphaville.usersys.redhat.com> Date: Tue, 30 May 2023 15:27:18 +0000 Message-ID: <87pm6hdell.fsf@localhost> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685460287; a=rsa-sha256; cv=none; b=cVaDyfCdTIC01DbxuaWc6bggr1jWT3wZ4zHkaXUdoUcsE3f0mHhVSq5zR6qTlyWK/ahjgM lemgUdBd+5iVvxdJE8su3IRP0GkVjNJ6LehLueWpTdfL3vcWZUU9s3Ls8TGnZiUJRkI3uG gzXCaiU6zfpfYWGkmOKonzvqi/F/f6EP5HVLL8lPfurBLT302IVEZaTvK8s/IKkSExhA3Y 2x6GIbZL6a5L3fchyhkKG4p6pwnV4S+k1O12PbbVWIQZ/E2V3E9MjTZI8zVpmRlII9BALo nFmZj1odTKE85ZC65aGyfZH9w9al/JUs+GbpzVCZW4ZGKOyxe206CJ6zSKZ7NQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=JrT0z6Of; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685460287; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Ojprv2cyZLBWEXNXsmnErOv3SC/YVy342ATIRVjDw68=; b=EGkNlLFmZKlHYQebxJuPkecJNGIjr2egU8L3/oU1/2O3s8Rq8o0fF27SiAT7v4jMg9U4hC yF5BPqXKIed6CcicNcNHCs/HyvThmtD/T2ceDQ7izmZacibg3ekU1tzkUZDDbRdMOFyjny ZCJxlhYhi/MaiXkcN9bJHO2HszYtdzOKuyjF/mI6Hiz/lvYVMqebiaakZBhqJXK3p5BTiL /qwxT3MQY/9RZCi1kldV5MbJ3gKkDq/rnRvwIDxypDRbQycZ93x3ZxziBBRhaNUFJFTY+N x/kqDyg1EizIfjoYsRXUimXN4qB1FQyH9yS5Qa9Mrezozsi+F2yEtyQ4UscMWw== X-Migadu-Spam-Score: -4.88 X-Spam-Score: -4.88 X-Migadu-Queue-Id: 8F2943E0B5 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=JrT0z6Of; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-TUID: FzNoF7xVGFnI --=-=-= Content-Type: text/plain Nick Dokos writes: >> Please try to read and let me know if anything is confusing. > > To me, it does not seem necessary to include the various descriptions. Just > the first three lines of the patch, perhaps with a prompt to consult > the doc string of the variable which describes these options in > detail, seems enough IMO. I feel that we at least need to tell people briefly what is possible. What about the attached, shorter, patch? --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=v2-0001-doc-org-manual.org-Document-org-latex-src-block-b.patch >From c45b8c6f82bdcbb687c1eb94410fe34d8cee33da Mon Sep 17 00:00:00 2001 Message-Id: From: Ihor Radchenko Date: Fri, 12 May 2023 15:21:59 +0200 Subject: [PATCH v2] doc/org-manual.org: Document `org-latex-src-block-backend' * doc/org-manual.org (Source blocks in LaTeX export): Explain possible LaTeX export options for source blocks. --- doc/org-manual.org | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/org-manual.org b/doc/org-manual.org index ab5c10c1d..a86db2848 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -14203,6 +14203,15 @@ *** Source blocks in LaTeX export #+cindex: source blocks, in @LaTeX{} export #+cindex: @samp{ATTR_LATEX}, keyword +#+vindex: org-latex-src-block-backend +LaTeX export backend provides multiple ways to render src blocks in +LaTeX, according to the value of ~org-latex-src-block-backend~. The +default value =verbatim= renders the src code verbatim, without any +extra styling. Alternative values allow more colorful styling, but +require additional LaTeX (=listings=, =minted=), system (=minted=), or +Emacs (=engraved=) packages. See the ~org-latex-src-block-backend~ +docstring for more details. + The LaTeX export backend can make source code blocks into floating objects through the attributes =:float= and =:options=. For =:float=: -- 2.40.0 --=-=-= Content-Type: text/plain -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at --=-=-=--