From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eLQsASJGvV+wDQAA0tVLHw (envelope-from ) for ; Tue, 24 Nov 2020 17:42:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 2AeIOCFGvV/2QQAAbx9fmQ (envelope-from ) for ; Tue, 24 Nov 2020 17:42:57 +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 1F4D3940482 for ; Tue, 24 Nov 2020 17:42:57 +0000 (UTC) Received: from localhost ([::1]:53994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khcL9-0000Mn-1D for larch@yhetil.org; Tue, 24 Nov 2020 12:42:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38344) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khcKG-0000K8-UN for emacs-orgmode@gnu.org; Tue, 24 Nov 2020 12:42:00 -0500 Received: from mail-eopbgr60094.outbound.protection.outlook.com ([40.107.6.94]:50499 helo=EUR04-DB3-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 1khcKE-0005wK-Ai for emacs-orgmode@gnu.org; Tue, 24 Nov 2020 12:42:00 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B+/X4CJuOcb/YbVTuJNoyJrsM4EGONNfkJKGUULgPJ1YPQ7NOX9kGecEIQhpaRaCAUqzL7c3GynrDwId/zSV5HbsMVTwOhPjCOXEvnbqbcxRRg/hQp1b9tG6Yh5AG5iyvnkHCu4wcfnSN+wDre1Jss0oSzeF6KWWIyuQ8ZxW21SsjV8ahzpeK21FuIe3g0YpY1YQBBdLsU+R/KyejD7ABtxMUfcwzI073MMYWojxU/WsSbAPwoimsXYVQ2Aw1uwtIpjGYgd7+OZAmx3j8hxkhh17j1wlkTN3a+cvYOoB25rZk61fx2ifCoCkE4ogzjMG88BOjJsRyw49NvxJZWf3dg== 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=wueGtjbhOCPBIGKmlp9Us9meqUVCjCuAoIHsM9rkQMY=; b=PSl/MoIULK5SZ1G5YWqr9g1MGcJ16i+JucpU2Z/4ymtHUYDBZLwlTQUWBk6W+ukSVVsJFnggGfDnhYlZFY7e4xdyFP9VXDXOYSdxH7p52y4OAc+wOjIBJZzYdOZhsCb5QmNxcLcXrE3gbynkC0V21OpMfLS/kr2IcDUHRBgrk6Oo8fWiNm9B7f6ONre5noqH4nPjzONB9Sbzr9F9J0HBauxo+NVHNcV4o087d58nAZ5Sw1GoED5xcHtQFzXvsvnlIkgBcYMVXJUA9zFBH2LfS9Ajqa5LUhtbXfSN9aJjpEDBT+mbWlCXabie62hRsiF0F+ZjwxuN0kJc9AteajxxpQ== 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=wueGtjbhOCPBIGKmlp9Us9meqUVCjCuAoIHsM9rkQMY=; b=F8GIK4WwVXRuO9UR9oKBQMMMv+twzG/ixYW7Sddypz4Ag44vzbkLR0GN/8XRlr3aN6wbDeNXK67nQfGPfIrqdzjhxK2w0b+GXQ/xweNb7jWbGXPlIgTEBOhntKDMlHqEJVIsharMNm468yGvfwWPMQmGXcECjYCLPP78XVxBHMk= Received: from VI1PR0102MB3327.eurprd01.prod.exchangelabs.com (2603:10a6:803:10::26) by VI1PR01MB6288.eurprd01.prod.exchangelabs.com (2603:10a6:800:158::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3589.22; Tue, 24 Nov 2020 17:41:50 +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.025; Tue, 24 Nov 2020 17:41:50 +0000 From: Eric S Fraga To: Diego Zamboni Subject: Re: Differentiate source blocks in export? Organization: On the Interweb somewhere References: <87a6v7gdej.fsf@fastmail.fm> <87sg8yivr4.fsf@guelker.eu> X-Url: http://www.ucl.ac.uk/~ucecesf/ Mail-Followup-To: Diego Zamboni , John Kitchin , org-mode-email Date: Tue, 24 Nov 2020 17:41:48 +0000 Message-ID: <87mtz6fy8z.fsf@disroot.org> Content-Type: text/plain X-Originating-IP: [95.147.101.135] X-ClientProxiedBy: LO2P123CA0017.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:a6::29) To VI1PR0102MB3327.eurprd01.prod.exchangelabs.com (2603:10a6:803:10::26) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from t3610 (95.147.101.135) by LO2P123CA0017.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:a6::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3589.20 via Frontend Transport; Tue, 24 Nov 2020 17:41:50 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9d83de54-a640-4637-952f-08d890a03949 X-MS-TrafficTypeDiagnostic: VI1PR01MB6288: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:193; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lVKo5twcLCo+yVAexrd1W2E/q2zqIHg0ZlnLVAPpG7RGyWNjMWEftKFApvS5x8cEcZ5c/nxiCp9Qc/EjyB3Al4gd2vEEnvhZZ6/rXq3DFbdkT9XyXg5TzDgY7cb9QU8a0VgNsgsqrf3Ic+2O4cE1eIa3/a9pO7NbbdJsEAxE+zjTk8eMU+gvMTGbunV0GrekFb856PjYeFGgH7TnhCq3UTHtbUGLCfeZ3+XpG1BjfU/0EOkW4rVx5/bKhfnY9Lat0GSMK5G6a9xw2bMOm0/Xz5BnQdG4V881xhVsT/EvM4NT3f8LPIQ32cvkib/O832q 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)(366004)(39850400004)(376002)(346002)(136003)(83380400001)(6916009)(36756003)(9686003)(4326008)(2906002)(8936002)(8676002)(478600001)(36916002)(52116002)(54906003)(316002)(786003)(956004)(86362001)(66946007)(6496006)(66476007)(66556008)(6486002)(16526019)(186003)(26005)(4744005)(5660300002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: RQ1uWOt3IQGd/s8vGH92i3TeIUr2uRa5amw4rT82SPhL5NlskpnklN/DoyjxKrRAMXNWfDJR9YF5c5MkfFLUaug5NWLr4N4Cn8SA3DS1JB7Irynrub2UsFs0JNoX7BJjXaGMYncPwhc9YQT3bZswOF/3L8PUqHzaddeTMVkDLP+bvWh6rdPFAUQc3zjSuj3MVm98mQlFKPpEXTLJtZ5r4GsuO56qkOJ3BPRYpJNiPyAssc87CBbG2i++AnR19LzW/jAElQTdzyvJCnMUfqql2VWoSd4HgsHcczdEd5b64ZZX4unN5QPATzYLnMTcHr9AMsZkw5JW2j78E32BgN74dV/FB1ZGf0vwGaqKxuHFj28KAJqplqSOubxgsUJzVF32gmGc5zwCoSvHTk2lZY5oM0dYOQQ38BcE1qEjgmQ/trgdapWs4/qq0BV+/2aqUH5TahXUj0hAd3ejA0IkjpNtVbWkaYrQRJsOAgeuKGUPV40OLoBWXD3hSkbKH7mBpInP3g8Kn4vy2vLHSdvGAOpaOiswnBjHIdxvsEevGnI3y63B4txGDJ4tR5TVXqFeV+3qoVi0D30b4rtznQfOIvN09xxnU6Zezf+ZP5jbOWEc+0H+1kXIj21aQKY0U/jtatWkvqPTkgc2hSzDZU1eqWLF0HVlKf+PKZi1MSXL6i65Bb+5pNl8vqXLqiqOxPO6siIBBRyq7tzr/pKcLaawW5RQT3QaiB+X9cXa+gdVHbms2ELsnD3L/YZE64mxEpWol66SLNnS3oemLLRUOauC2yOELYyEY+WVK7LhLuy32DGZWXMz7/HUlGWOe2fXNrWcVMq4gsUocAJLX6hppEEvju7GEKHOOK7t1VmXbGjU/OLZurmYar+x9mvrLBehWrn8L31cO/jxy4TSEU2SSJ2t3tmCBw== X-OriginatorOrg: ucl.ac.uk X-MS-Exchange-CrossTenant-Network-Message-Id: 9d83de54-a640-4637-952f-08d890a03949 X-MS-Exchange-CrossTenant-AuthSource: VI1PR0102MB3327.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Nov 2020 17:41:50.7043 (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: LQ0x/uCt0fh3qnBzwqpbPHxo9NqWcTSJqnpKM4ncrmL34Dthio5GBt5UxwR5qGCpJSfccIkyHI4Dtnh2D18hNg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR01MB6288 Received-SPF: pass client-ip=40.107.6.94; envelope-from=e.fraga@ucl.ac.uk; helo=EUR04-DB3-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: org-mode-email , John Kitchin Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" 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=F8GIK4Ww; 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-Spam-Score: -1.71 X-TUID: 6NYMmcK3cX94 On Tuesday, 24 Nov 2020 at 17:22, Diego Zamboni wrote: > And even (a bit) shorter: > > #+html:
Or, if you want a more org-like feel to your special constructs, and something that would in principle work to other export engines: #+begin_src org ,#+begin_myclass ,#+begin_src octave y = 3 * x + 5 ,#+end_src ,#+end_myclass #+end_src using special blocks which translate to divs on HTML export. -- : Eric S Fraga via Emacs 28.0.50, Org release_9.4-118-g2a4578.dirty