From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id OImBCIrJJmVMggAAauVa8A:P1 (envelope-from ) for ; Wed, 11 Oct 2023 18:12:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id OImBCIrJJmVMggAAauVa8A (envelope-from ) for ; Wed, 11 Oct 2023 18:12:58 +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 B71716E429 for ; Wed, 11 Oct 2023 18:12:57 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=P5ZTs19N; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697040778; a=rsa-sha256; cv=none; b=pXZapC9vyWt12W2IE116opXUmzRp7sje0KmuVD5R7U5ZIJUFtZD6xWVa0eW5S0jjo9+jc7 r6FXpVGMQZitqJdyJX7dA317oLrSJ1v2NXfPds2XI0ZcDitn5OiDFeWwnNTnzKYJKzHfG5 LIFSdoxgrISGAH+qqjrBr11J7nrGb/jqaaRBWy/KF/NxdXu/uava6QLOmkn0Ee+J4G9ucq fv3atcw+WqmSFS5oFccGMv3sul6RhjDIkkcvGm8pCu/VICJB3HJKOeJLCYfF1+fYx557op Z1d3pDbyEpJtafw2bM9puexbNr8BWeVPS9EFMpYBiRjhKQkl3gubit59pBrM0g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=P5ZTs19N; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697040778; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=UZzEggDcRrO/PU81361JXQW4WEjNMEPJu3ZE2vEeckI=; b=a6Is6Z0EPgyDzgJDq6z6Zjbavf1TRjMkC1I8HmLFARvVxPobSEYSwjZfoCg+jj9ZMX71zp KY76la0RW83V1PrGNsmMRH99x2Mh8WcUqTiJBr206pz3Ltk9xjJHE0pMY4S1/VZQbmMtgE zcGBiHYlgofZ3j6daXvfQSLiuBfFqbnKxtcgUhQnxngFqkfvlIGDwKcloW0LA/BEHtt+ks YBcB9ULEGpyD4KrtQ1AKC54NZLvjJEeAh/pE5gTk/io634JfZxQdKMkpu77/cQjDblb/0Y YaWMq4GKv2Gmzbpvcf0sGP9T69Q8XP/kLXg7UqbLzzHqOb0OCy4zPTohzW8Udw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqboI-0004CO-75; Wed, 11 Oct 2023 12:11:46 -0400 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 1qqboF-0004C0-2d for emacs-orgmode@gnu.org; Wed, 11 Oct 2023 12:11:43 -0400 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qqbo7-0000a6-LG for emacs-orgmode@gnu.org; Wed, 11 Oct 2023 12:11:42 -0400 Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-50325ce89e9so54528e87.0 for ; Wed, 11 Oct 2023 09:11:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697040689; x=1697645489; darn=gnu.org; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=UZzEggDcRrO/PU81361JXQW4WEjNMEPJu3ZE2vEeckI=; b=P5ZTs19NA5DN0D1MkfYxoiVWLsFqn9RYW9JoLH/btyjNdh0fyRnCYFtdj4Jhdq4rh6 dhlXyTRFsZVuoWExUTa25bpIC9uR76KpfUaWuuDlkW8ZCgeftvvy+IhMwrKPBJP6UimT tmWxW0QG+6gtbSH2aegFqIKX4m4kMM9P6tQbaKYD7pRhILsAUL67PxsNKIB7Wob/Iu/z 2MzPRdzCZhnuJaBHhIzIOE6CzignMAXkIhvU53dkqzEP+5Sx/0Quj7E2XbS66QObqHlC Np2ZItIfknrYKT9PH4QSag//Fr6cMyv1FXNiZEco90PvRKfz1B++la6QzUjPDCUoywrK eWXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697040689; x=1697645489; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=UZzEggDcRrO/PU81361JXQW4WEjNMEPJu3ZE2vEeckI=; b=I6ans/fuYuZ9qNYwKaiyWKMQkYzN/HcDeE1P0bqqqZ3Gq/t8fjmfDINv8pTs9asepK czrh8p5cp3gH5GjoUmy0sxlQeuXAVT9vsN6+/5dIDWi9OsX8euSHCzIwjfousQ1mVBTe grOja4BlZbIV5c/qvo/jhLkKSO+yLen9eiFy8gtmZoB6Vq+CptGKwVTVYvThLCG6ubqL ysyzyQSmllmSFBuK8/3/wYIu3YMaBEQEZtOf3ShYvJ+Qv0ceBgyQRJF+bza3pfhSPggV VBJDAqiuVmNq9jcWXdSsk+xJm8OXyqxC9TANPCz8ajncDwD/6dUjBm6cdcEm0hJie/d/ foOQ== X-Gm-Message-State: AOJu0YxCu+0IXfm8PHYsSXGgbPn09MmjXo43IETXYNBWHYBTv69HP8lt rvpUliWg8l4EOg/60W+DOtS9fudM39NVYw== X-Google-Smtp-Source: AGHT+IHeISc/AvwWI4e6qDFbtEDetcXRjZ/8c6eDhnaCdNjYJag36hrsUCfC6se/r/Dczb8KFYedNA== X-Received: by 2002:a05:6512:2022:b0:505:6c99:bd7c with SMTP id s2-20020a056512202200b005056c99bd7cmr15614887lfs.57.1697040688491; Wed, 11 Oct 2023 09:11:28 -0700 (PDT) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id m10-20020a056512014a00b00505a20d0709sm2334679lfo.76.2023.10.11.09.11.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 11 Oct 2023 09:11:27 -0700 (PDT) Message-ID: <76453eb8-1db6-45ee-b1c7-fe68536b2fe9@gmail.com> Date: Wed, 11 Oct 2023 23:11:26 +0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Pandoc and nested emhases Content-Language: en-US, ru-RU To: =?UTF-8?Q?Juan_Manuel_Mac=C3=ADas?= , orgmode References: <87sfshgfvt.fsf@posteo.net> From: Max Nikulin Mail-Followup-To: =?UTF-8?Q?Juan_Manuel_Mac=C3=ADas?= , orgmode In-Reply-To: <87sfshgfvt.fsf@posteo.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::130; envelope-from=manikulin@gmail.com; helo=mail-lf1-x130.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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.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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: 5.39 X-Spam-Score: 5.39 X-Migadu-Queue-Id: B71716E429 X-TUID: lOdix17wGQqv It was long time ago... On 18/02/2022 07:47, Juan Manuel MacĂ­as wrote: > Otherwise, if you export to LaTeX with pandoc (v. 2.14.2), the result is > (to my surprise) correct: > > #+begin_src sh :results latex > str="/lorem /ipsum/ dolor/" > pandoc -f org -t latex <<< $str > #+end_src > > #+RESULTS: > #+begin_export latex > \emph{lorem \emph{ipsum} dolor} > #+end_export Nesting of the same emphasis style may be achieved with Org parser as well: (org-export-string-as "/lorem /ipsum// /dolor/" 'latex t) "\\emph{lorem \\emph{ipsum}} \\emph{dolor} " Namely closing markers should be combined. See the recent thread Tom Alexander to emacs-orgmode. Inconsistent text markup handling when double-nesting markers. Mon, 09 Oct 2023 19:02:18 -0400. https://list.orgmode.org/dad964f5-c764-4dd5-9829-ca38e3fbeb0d@app.fastmail.com