From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6IE8McmYw1+pQQAA0tVLHw (envelope-from ) for ; Sun, 29 Nov 2020 12:49:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id iDfmLMmYw1+/BAAA1q6Kng (envelope-from ) for ; Sun, 29 Nov 2020 12:49:13 +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 A276F9401C0 for ; Sun, 29 Nov 2020 12:49:12 +0000 (UTC) Received: from localhost ([::1]:56604 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjM8d-0003Hq-JU for larch@yhetil.org; Sun, 29 Nov 2020 07:49:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:32874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjM7v-0003Hf-8s for emacs-orgmode@gnu.org; Sun, 29 Nov 2020 07:48:27 -0500 Received: from mail-am6eur05on2124.outbound.protection.outlook.com ([40.107.22.124]:6657 helo=EUR05-AM6-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjM7s-0005Ze-9x for emacs-orgmode@gnu.org; Sun, 29 Nov 2020 07:48:26 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FujgMmVPGwnbE9cDb13aWztNmuF/jGPkIAr5aXUvSm8T/nLt9Eziu4ryONUPUTM8Asp5FRLW94+r9PFQY7kbw6QUpxaEjfCZNN7+HodDf0aVx1O8N5/i5RChoAXClsUVSF6eoDLp7KtC599Eqla6lPb0kG332+Ipitbj3QR6ZzvWe0NF5YwdTaXdJ0t5yz9KSpXyJ3c4jUgWBgSCHJapqMm50MY3rTxHX1+W6cLtrRRFNDPqRzLHI0RZhx29XZwrCQxypnN90kFPJl7mu1bcfDKAjoBcv2Rn/qCHOhCHUZYLODedA5BB7sgpk5+6WIpJuCankRrgtIJM8+x0fw0Cqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=E5j+js12jjn91ZERGOSrozDMvW8AtzvtTYoPfImE8sw=; b=g75iiy53sEn9LtSlx2fU+PLs0tALzYeBijJx/PESFCU+3Qt1KJ5tDOyNbO6G9poiA+XkIwkhcXkRRMvZhuG4vxS3kZPU6t9yU+aBlWky3xnIoZ2YxJ0XfYdlQ2i2sNrRxAf9hy7XSHISwGfp4HHUeAEoObRNsgcGI7TDhf4xaJWCHGxuFYOVp7hsqaz+nm3SOAaPUHiMBA2VfeL0D5riF9hY980AhdeBHzXqAy1wNC5AKTwAnbiZFQHuc1T5ElsF26IeZ6i+UZyiu0mvv2SGt5moTKhR3aND0Tilmt3aSo4Qw1yBHOjr4Thlv5rvci/DkmXs6mE/V72td7se6+k1hw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ucl.ac.uk; dmarc=pass action=none header.from=ucl.ac.uk; dkim=pass header.d=ucl.ac.uk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucl.ac.uk; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=E5j+js12jjn91ZERGOSrozDMvW8AtzvtTYoPfImE8sw=; b=cNZteGnhAyX9XSID5uVpuaiolMkL1zjC1d0Q5li6M8tSSsKwr0iGli+ARBcjQbCJqxH1Ax4QY3JiGoV8tClA1QZu+5qf+C2JHLps07m5zDmOK+A6dvLQwbnH9QZbA2Fp03WzBweIWxS7Aql3vhGYFzpqgNPvHO2Qu24ouLnjsm4= Received: from VI1PR0102MB3327.eurprd01.prod.exchangelabs.com (2603:10a6:803:10::26) by VI1PR01MB3038.eurprd01.prod.exchangelabs.com (2603:10a6:802:8::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3564.25; Sun, 29 Nov 2020 12:33:14 +0000 Received: from VI1PR0102MB3327.eurprd01.prod.exchangelabs.com ([fe80::d084:c8c3:14df:8d97]) by VI1PR0102MB3327.eurprd01.prod.exchangelabs.com ([fe80::d084:c8c3:14df:8d97%7]) with mapi id 15.20.3589.037; Sun, 29 Nov 2020 12:33:14 +0000 From: Eric S Fraga To: Jarmo Hurri Subject: Re: Missing line breaks in Beamer with alltt Organization: On the Interweb somewhere References: <87v9do8qll.fsf@iki.fi> X-Url: http://www.ucl.ac.uk/~ucecesf/ Mail-Followup-To: Jarmo Hurri , emacs-orgmode@gnu.org Date: Sun, 29 Nov 2020 12:33:13 +0000 In-Reply-To: <87v9do8qll.fsf@iki.fi> (Jarmo Hurri's message of "Sun, 29 Nov 2020 11:22:30 +0200") Message-ID: <87v9dofily.fsf@ucl.ac.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Content-Type: text/plain X-Originating-IP: [95.149.100.199] X-ClientProxiedBy: LO2P265CA0171.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a::15) To VI1PR0102MB3327.eurprd01.prod.exchangelabs.com (2603:10a6:803:10::26) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from t3610 (95.149.100.199) by LO2P265CA0171.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.20 via Frontend Transport; Sun, 29 Nov 2020 12:33:14 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 75c17bf6-fb56-4d77-9ffc-08d89462f108 X-MS-TrafficTypeDiagnostic: VI1PR01MB3038: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6430; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 96PXQ1bQFBF9LhBFTkK0Lvmu9df5S2saIq7XYZuO+u3W7YoI0Qn2rJVtyLVJ57YhVM1k9KY5ILZE/aRC/f1Ql0jqxxCWoWc+0busB8E/cbMCdlww+eECt03mzkTuju33lPkaIvtXtNDVxs4bXTVj5FxYgv4iJbbzG6vfQy59PwNdqsno2pyJcfvjMK//jz/x9xzvmUDLjaARYKzIB7aeADgUaxoiWW1qlQYEVT1U3MIHgkYMpLlX7HX3nHSBRiyXcdqC0fBui2xlhgjHG4QpklbQg6Mi/+RlBVwfumSDRyzRIuVMkv6wjoLzNtqYUToc+LEEcV0sxpRslq6EZYCqkA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR0102MB3327.eurprd01.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(376002)(136003)(346002)(39860400002)(366004)(6496006)(16526019)(8676002)(26005)(2616005)(956004)(186003)(6916009)(5660300002)(2906002)(86362001)(8936002)(478600001)(6486002)(36756003)(4326008)(316002)(786003)(36916002)(52116002)(4744005)(66556008)(83380400001)(66946007)(66476007); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?dKn9SvlNa107b5WVPh/XCkb41wC5SoADIjN/8le9sA34e8hyYi/jaPrCx7cM?= =?us-ascii?Q?+x2rWMseXi7NO2TQrCoXpm5k7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=?us-ascii?Q?xD2gm1p559LDMLT2Px2gCiBot5bxf22SRdCuRHLSVuuYgJ9fm5cqSCknO8YQ?= =?us-ascii?Q?Uji5?= X-OriginatorOrg: ucl.ac.uk X-MS-Exchange-CrossTenant-Network-Message-Id: 75c17bf6-fb56-4d77-9ffc-08d89462f108 X-MS-Exchange-CrossTenant-AuthSource: VI1PR0102MB3327.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Nov 2020 12:33:14.8083 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 1faf88fe-a998-4c5b-93c9-210a11d9a5c2 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: qMcH36hJkwN5mEqAcFIFYYE5RGjBwf9NFH3i4pOlpmfegHTDbPbjCIvSaYxQ+Qio1Dj5QRQ5OXaiH+02MokbkA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR01MB3038 Received-SPF: pass client-ip=40.107.22.124; envelope-from=e.fraga@ucl.ac.uk; helo=EUR05-AM6-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.98 X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=cNZteGnh; arc=pass (microsoft.com:s=arcselector9901:i=1); dmarc=pass (policy=none) header.from=ucl.ac.uk; 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-TUID: pVJW0V8sy9kg On Sunday, 29 Nov 2020 at 11:22, Jarmo Hurri wrote: > Any ideas? First of all, the first frame works just fine for me. Line breaks are preserved. However, I do know that in the past I have had problems with alltt environments in beamer. I tend to use one of the algorithm packages instead. Your second frame leads to an error because the \in and \leftarrow are not in math mode. Because your LaTeX code is explicitly in an export LaTeX environment, org doesn't do its usual magic with LaTeX entities so you need to put the maths delimiters yourself: > #+begin_src latex > \defverbatim\SomeCode{ > \begin{alltt} > x $\in$ {0, 1, ..., n} > z $\leftarrow$ x + 1 > \end{alltt} > } > #+end_src When in doubt, export to LaTeX (C-e l b) and have a look at the LaTeX. Also then run pdflatex yourself on that LaTeX code to see what errors come up. HTH, eric -- : Eric S Fraga via Emacs 28.0.50, Org release_9.4-143-g9a1549