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 yNd1HEB912ISPwAAbAwnHQ (envelope-from ) for ; Wed, 20 Jul 2022 05:57:52 +0200 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 oAJpHEB912KhNQEAauVa8A (envelope-from ) for ; Wed, 20 Jul 2022 05:57:52 +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 300B833226 for ; Wed, 20 Jul 2022 05:57:51 +0200 (CEST) Received: from localhost ([::1]:54968 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oE0qM-0002aY-DQ for larch@yhetil.org; Tue, 19 Jul 2022 23:57:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oE0py-0002aQ-8q for emacs-orgmode@gnu.org; Tue, 19 Jul 2022 23:57:26 -0400 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]:33724) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oE0pw-0004BE-R8 for emacs-orgmode@gnu.org; Tue, 19 Jul 2022 23:57:26 -0400 Received: by mail-pl1-x629.google.com with SMTP id v21so13818833plo.0 for ; Tue, 19 Jul 2022 20:57:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=jIAFGXrt87VCF6mBSnqLmz7En/b9PWbKAFDf5faIryM=; b=g37P3+weDOCjgK0X0K/Qf22WG6Fk5s2Vz3dV2W1iZ0qytzvGmG517nJ065aGu3bSfx ZRbgDEGFace2pdqGOaP0YegTp5ezG6u2OgjBsW8IFq7avLY+1CgK4SeAv/XAE6qQTLzm w8zeUlR3VROms2pfsnsk2Noa7dnNvTkfiTxoH1ryKAzjNshM4FdoF28XNmHZfJopAUPZ vO4hKm/iSg/bBuBsvMh8ewOf3qKAS2ykuMBgaNKHOgzJzsvymEeuiAwJz9XscfrZoJ7g 7H79ntpJadhuzhrdSDOscKqiubEFY3QJHV8K+JE4v3ny7UuR0AyOnwL8kvGq0ksHKrer O+xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=jIAFGXrt87VCF6mBSnqLmz7En/b9PWbKAFDf5faIryM=; b=cCEN/tJ04n9LaGfGRIxcOMUmMCo2Hc8sTzGXXOEJ7JBD7WkKvYthNuSG0xDHU09W7Q 5Ze/Rs9FI/mmgIuBChU6wRwQSrgLH8quAVuqCsHPgSpTYfwd4YW5/Zj0PEyZVZAWTLiL FDvQfprNOTFWzUBwfmCJSZDvxl3ZD5JxH2b/TyY2CT0gF4Od0eyYc68p1kO0XQecDFaR WwfiZu0/VUTfhCOa0aBmyoX10ZgoCJRR12Sq1BykmytLJa5pzyEO/E0VAGifB8MG5kCm h9QTVopzHg0AAxpCBw2xS94Qvguu9oTlmFmUXL7h562Q8a8CNHVWvumXI0MJomwVLJgp PUsA== X-Gm-Message-State: AJIora9EqXFoEr3v4zQg0mGy41i083wyIEkVgCKHlHPDM8NHeZrmGHzA VPqXDIF+4hXQ2QYvYm/TveE= X-Google-Smtp-Source: AGRyM1uODRocXvImCC9qnGo7RpSU7jMJ0/NB/OeGkvB1kuB5lPhrjVKhn3ewzBKqwCbWTy7uQdpTzQ== X-Received: by 2002:a17:90b:33c5:b0:1f0:4135:5101 with SMTP id lk5-20020a17090b33c500b001f041355101mr3067365pjb.95.1658289443498; Tue, 19 Jul 2022 20:57:23 -0700 (PDT) Received: from localhost ([115.154.175.57]) by smtp.gmail.com with ESMTPSA id e30-20020a056a0000de00b0052ab42ea0c5sm11276041pfj.147.2022.07.19.20.57.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Jul 2022 20:57:22 -0700 (PDT) From: Ihor Radchenko To: "Fraga, Eric" Cc: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= , orgmode Subject: Re: numbering src blocks in HTML export In-Reply-To: <8735exm5ym.fsf@ucl.ac.uk> References: <87bktlm9kv.fsf@ucl.ac.uk> <87mtd5nmue.fsf@posteo.net> <8735exm5ym.fsf@ucl.ac.uk> Date: Wed, 20 Jul 2022 11:58:29 +0800 Message-ID: <87a6944eqi.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::629; envelope-from=yantar92@gmail.com; helo=mail-pl1-x629.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658289471; 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=jIAFGXrt87VCF6mBSnqLmz7En/b9PWbKAFDf5faIryM=; b=pIv9pSRFsQ+4t6nmC/dnFuUvR76ahDootOsAodQgnTCRgKf2beKW3XwxTshjpyNsunv3K+ wLFhn5RD5MhQ9Ddlf/Q/LGUa+7/A4qeAPH425HL5eK14IXul5IO1TOxsd0Wv9s/Me0qsc0 OFk2nJB084JwyKaTRiXpBNMXnxjOOagubWECBnRCq0A8kGuOPuddCozmJ4op0rvb49Wy9/ gW46cq24pGF7kcPLEHI9ZwVcIwuueVhtyPEdMX+YZ89/Tf0pCkOwGLUqDF9OynBHfWkLtZ sGbbBa1q8hmJXvlwSUFSJPmMDmh9AV+D8E11MlcmWsDyq9HDkrdvZGSpt5Il/A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658289471; a=rsa-sha256; cv=none; b=pB8LaMHa6gk55KWDcKAKjCk3/0OKJwUklDatwRCj9tviYFYH17nNHxyU7x2AIrZdcmn+gk wkftz9Sqa24ZF3cUlefYkhKhEC7/cZ33mjD+45cB20PFQcrMdy8Q8P6JYbwf/u4UU0WCNf SADsoORK3pBhu7/3RbDxDAogY/K6+M7ih3lQR8kKrWkztAA1549NUeN3If/t/TvxJfMZ7P NacRZSufzl4meizEh/7k6UASSK0ROpeei3l1F9XEWopr7Xq9SAT/gtJs1hFPpkKH+hwPYc fJ/cyj0bev12R6GqdTcARiqzVuswznUbbAdf2/NQPvPehmY4+gRF0U/9SYBlZw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=g37P3+we; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Spam-Score: -3.44 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=g37P3+we; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Queue-Id: 300B833226 X-Spam-Score: -3.44 X-Migadu-Scanner: scn1.migadu.com X-TUID: 9bE6DbrOma/n "Fraga, Eric" writes: > Followup question, if I may: how can I make -n be default behaviour for > export? I have tried, for instance, > > #+property: header-args:julia -n 1 > > to have all Julia src blocks show line numbers but it doesn't work. AFAIU, source block switches are never inherited. Dear All, may we should provide a normal header arg as an equivalent of switches? Honestly, this whole switch syntax sounds unnecessary and only over-complicates things. Best, Ihor