From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QPNxCn80fGFcPwAAgWs5BA (envelope-from ) for ; Fri, 29 Oct 2021 19:50:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id mN0pBn80fGGlHgAA1q6Kng (envelope-from ) for ; Fri, 29 Oct 2021 17:50:55 +0000 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 1B7BE9ACC for ; Fri, 29 Oct 2021 19:50:54 +0200 (CEST) Received: from localhost ([::1]:47428 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgW1l-0006es-45 for larch@yhetil.org; Fri, 29 Oct 2021 13:50:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgVPi-000096-3d for emacs-orgmode@gnu.org; Fri, 29 Oct 2021 13:11:34 -0400 Received: from gateway22.websitewelcome.com ([192.185.47.48]:30650) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgVPf-0003Hh-9O for emacs-orgmode@gnu.org; Fri, 29 Oct 2021 13:11:32 -0400 Received: from cm12.websitewelcome.com (cm12.websitewelcome.com [100.42.49.8]) by gateway22.websitewelcome.com (Postfix) with ESMTP id 3F08012AC for ; Fri, 29 Oct 2021 12:11:18 -0500 (CDT) Received: from box2035.bluehost.com ([74.220.219.237]) by cmsmtp with SMTP id gVPRmqMxuOnCIgVPSmU64L; Fri, 29 Oct 2021 12:11:18 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tsdye.online; s=default; h=Content-Type:MIME-Version:Message-ID:Date: In-reply-to:Subject:To:From:References:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=2nJxuBZUSpykInX0NjCufJVlDigzEqblMCxRb/jUvyU=; b=HDnj0O8tWtZioJGJ83CSxV6fdS K4bsfcCjIR7aAbK35IZ+NSoRPkdp4yQ7fJLEGOctCwjtf/eCQi4deoRMoMpDC/9pMV7oPjlNLUqSA JcWG/eC1gDoCd0jfLKVUaZ2QcCmsACCZtpTOjdb5iV0+lREklo1hyjcSmXt9Q39W/EtHqLdnCwze/ uN09igprwxnpqbh9g1PLGLot3IYr2uoU3zdJzgknCgDHsw6u8BrF5rnYMO0D2kRlQ2GFmnfhUiRti LFI6rf42nwwMudFYxWylyAxN+TDA9f5GmhAbYZoSjn1xcwf8gAqI1WX5iPD2dZIMoW0NbPvL9mdTN C8pfyETg==; Received: from cpe-50-113-36-248.hawaii.res.rr.com ([50.113.36.248]:55286 helo=poto-foou.tsdye.online) by box2035.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mgVPR-001bho-Fs for emacs-orgmode@gnu.org; Fri, 29 Oct 2021 11:11:17 -0600 References: <87lf2bncu5.fsf@vandersluys.nl> User-agent: mu4e 1.2.0; emacs 26.3 From: "Thomas S. Dye" To: emacs-orgmode@gnu.org Subject: Re: [BUG] Source code of type 'conf' disappears in LaTeX export [N/A (N/A @ /usr/share/emacs/site-lisp/org-mode/)] In-reply-to: <87lf2bncu5.fsf@vandersluys.nl> Date: Fri, 29 Oct 2021 07:11:15 -1000 Message-ID: <87cznng3ik.fsf@tsdye.online> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box2035.bluehost.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tsdye.online X-BWhitelist: no X-Source-IP: 50.113.36.248 X-Source-L: No X-Exim-ID: 1mgVPR-001bho-Fs X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: cpe-50-113-36-248.hawaii.res.rr.com (poto-foou.tsdye.online) [50.113.36.248]:55286 X-Source-Auth: tsd@tsdye.online X-Email-Count: 1 X-Source-Cap: dHNkeWVvbmw7dHNkeWVvbmw7Ym94MjAzNS5ibHVlaG9zdC5jb20= X-Local-Domain: yes Received-SPF: pass client-ip=192.185.47.48; envelope-from=tsd@tsdye.online; helo=gateway22.websitewelcome.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 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, FROM_SUSPICIOUS_NTLD=0.499, PDS_OTHER_BAD_TLD=0.072, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635529854; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=2nJxuBZUSpykInX0NjCufJVlDigzEqblMCxRb/jUvyU=; b=pu1/Z32Hku/Ty8aDacGmmXj5DhKUogHTa+EVL0Jj8HKflrq7nxjSUDFWs+1Q+fOtSUQhhV 5quoy5FFJFbu7kAOEO0jwuxJYO8HclMqnbx8vMuJQqDQE1RPCxjbWZY79qaTrnVLlFfOW1 EAPqkQTAHFLzRmGPnVqOCK0cp8+QmmR6toIvawxvuCbasWUn+ENV0fgtkzQoYMxhE/7AB4 W+zk1x0GdVQauOP4V/at83BYBNvgK3l3mJvMvuvUnpf3kr0f5fmJS56Pri+izeGBL1qeHI b0hyEY3XiiUF+bcPeI5HUq+WOkPa9JP9t8OlyJfTZTUBxIr9sf7MxCRj37ctag== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635529854; a=rsa-sha256; cv=none; b=q6/A3jIgTqI9MkHLkz5D8VmTZGf3Nqlz2GICzzq+EAgqUWX/i7XsfNWUacl0nsBISOP31i TjSSpr5Il4tqDPytV/wmblwVsXgRGFapi8ozND1xvmCTIkCn4aZ93E0jH9G5qx3HnzCLha +KX1Z5CmRRHqL/ih2BdBi7wRCq4Hr0kIInrIKrHBLdpN/uhBag6L7JDZpyUQorJwTk285B Xq1fU4e2QMXE68StwQ652BUFB5vwJQJFV8gGXL4ztfd25YdZFlxfZOBMGlKC3eakzYTsgG ji/Y0SeUXl6NOEnVM17WDRWMkn8tKpgz2SC/kLLlZlc2RCqQAWUoRxE60Gg4Xw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tsdye.online header.s=default header.b=HDnj0O8t; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tsdye.online header.s=default header.b=HDnj0O8t; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 1B7BE9ACC X-Spam-Score: -1.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: w29rYuBTEJAf Aloha, Marc van der Sluys writes: > Remember to cover the basics, that is, what you expected to > happen and > what in fact did happen. You don't know how to make a good > report? See > > https://orgmode.org/manual/Feedback.html#Feedback > > Your bug report will be posted to the Org mailing list. > ------------------------------------------------------------------------ > Thank you for the incredible orgmode software! > > I ran into this issue. When I have a block of 'code' from a > configuration file, e.g. > > #+begin_src conf > Host server > HostName servername.domainname.org > User username > #+end_src > > it shows up nicely in emacs. However, when exporting to LaTeX > and pdf using the Minted package, the code blocks go missing > completely. The code is converted in LaTeX to > > \begin{minted}[]{conf} > Host server > HostName servername.domainname.org > User username > \end{minted} > > which disappears upon compilation because 'conf' is not one of > the lexers recognised by Minted. > > Replacing 'conf' with 'aconf' (for Apache config) has the > opposite result: no syntax highlighting in emacs orgmode, but > acceptable output in LaTeX, because it is supported by Minted. > > A 'quick fix' could therefore be to either: > 1) rename conf -> aconf when exporting orgmode to LaTeX, > or > 2) adding the syntax highlighting that is used for conf to > source blocks of type aconf. > > > Expected behaviour: > + conf code block shows up in LaTeX/pdf with syntax highlighting > after converting from orgmode to LaTeX/PDF. > > Actual behaviour: > + conf code block completely disappears in PDF after converting > from orgmode to LaTeX/PDF. > > > Sincerely, > > Marc van der Sluys. Does org-latex-minted-langs help? All the best, Tom -- Thomas S. Dye https://tsdye.online/tsdye