From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SLZtIDZn0mO4dgEAbAwnHQ (envelope-from ) for ; Thu, 26 Jan 2023 12:42:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EG5DIDZn0mN/QwEAauVa8A (envelope-from ) for ; Thu, 26 Jan 2023 12:42:46 +0100 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 D74AC3B0AD for ; Thu, 26 Jan 2023 12:42:45 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pL0db-0006jw-Lf; Thu, 26 Jan 2023 06:41:51 -0500 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 1pL0da-0006jg-2f for emacs-orgmode@gnu.org; Thu, 26 Jan 2023 06:41:50 -0500 Received: from netyu.xyz ([152.44.41.246] helo=mail.netyu.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pL0dY-0002L3-Gq for emacs-orgmode@gnu.org; Thu, 26 Jan 2023 06:41:49 -0500 Received: from fw.net.yu.netyu.xyz ( [223.94.109.149]) by netyu.xyz (OpenSMTPD) with ESMTPSA id cd393654 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 26 Jan 2023 11:41:43 +0000 (UTC) References: <87mt658rrp.fsf@mat.ucm.es> User-agent: mu4e 1.8.13; emacs 29.0.60 To: Uwe Brauer Cc: emacs-orgmode@gnu.org Subject: Re: how to export to latex with $ constructs rcsinfo Date: Thu, 26 Jan 2023 19:35:49 +0800 In-reply-to: <87mt658rrp.fsf@mat.ucm.es> Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=152.44.41.246; envelope-from=ruijie@netyu.xyz; helo=mail.netyu.xyz X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FROM_SUSPICIOUS_NTLD=0.499, SPF_HELO_NONE=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.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Ruijie Yu From: Ruijie Yu via "General discussions about Org-mode." 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=1674733366; a=rsa-sha256; cv=none; b=uDzw69G1Gq4nBNrX7gBto1RTabas5NT18dcRl1ElbQT9LFGnXP7IYZSo1UZ+caG56BEw8t Q1B7JRkLZDBucPwtY6ZU3FEIu5nJRRZbDnx2GyLnYXDlAMuyaiGKNFyTCd5IBbkiKpn9Qy 4h/ySIxzZ6Xw1cv5wtXMTNCRGHUIAP6qjMnkWQzVwOkmUj71da09kQqDCnSlNCYzWWhmil /Ug1TABSqA6HLAFfQ8h7xJZ81yOxd4tgqaGWJCO226on5wvOVCljzySo+UZlvg16t0q/GG ry2ZYdLXB/npSLGoPlSy9OlKsF0YO44o1yJ2d2/ttd1Aii8c+5Ih7xmwPH7xuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674733366; h=from:from:sender:sender:reply-to: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; bh=3igAgFqlkvrDv5z0xn64EZFUT/KMIyYbDyXkDGGcXeE=; b=qQdS2M0KbP9LcER5tN3oaWYFdYNWuUOpGII6bPaZusvljOk+mj6da8jkznuqU1mQTH1miW lDqh8ghXFS3ZAZfEuCuS2w5LDFsKLryHm7KKUBDQ5o9HihKq4Z+BB1r//SfNT8PGVNqORW lEnZMMsNcXfz/AsXwn0PPtKnitkkcsjYBv/rVlGj1JLeBMBGTuMVap89NGsztcrtf87f6t siQMIuI8y1A4twrTFxnV2pq2v7m8OiTHhVYbH/qwZJR9O3iJDmevXWV2XskNhVk9GMwZtM bbtSpc2FtXd6aqpexmFZXSHmwvsxdC+95VoeSL0A+WsFEyI1H/syEPgA5Ucnzw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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"; dmarc=pass (policy=none) header.from=gnu.org X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: 0.59 X-Spam-Score: 0.59 X-Migadu-Queue-Id: D74AC3B0AD Authentication-Results: aspmx1.migadu.com; dkim=none; 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"; dmarc=pass (policy=none) header.from=gnu.org X-TUID: sYZHbGW1jm4d Uwe Brauer writes: > Hi > > I have the following org file example > > #+LATEX_HEADER_EXTRA: \usepackage[scrpage2]{rcsinfo} > \makeatletter > \def\@rcsInfoFancyInfo{{\footnotesize% > \emph{\fcolorbox{black}{yellow}{Rev: \rcsInfoRevision,} > \rcsInfoOwner, > \rcsInfoLongDate, > \rcsInfoTime}}} > \makeatother > \rcsInfo $Id: manual-matlab-git.tex,v 2716 2023/01/26 10:48:53 oub Exp oub $ > > > Some text Hello, IIUC, #+latex_header{,_extra} only handles the single line it is on. Therefore, you will have to prefix "#+latex_header_extra:" for each line you want to have in LaTeX verbatim. Best, RY