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 wvOLCCIjil+dNwAA0tVLHw (envelope-from ) for ; Fri, 16 Oct 2020 22:48:02 +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 oObZAyIjil8uSgAA1q6Kng (envelope-from ) for ; Fri, 16 Oct 2020 22:48:02 +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 61A309404C5 for ; Fri, 16 Oct 2020 22:48:01 +0000 (UTC) Received: from localhost ([::1]:53832 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTYVy-0000BA-VK for larch@yhetil.org; Fri, 16 Oct 2020 18:47:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTYUL-0000AW-W3 for emacs-orgmode@gnu.org; Fri, 16 Oct 2020 18:46:18 -0400 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]:34573) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTYUI-0000FF-HH for emacs-orgmode@gnu.org; Fri, 16 Oct 2020 18:46:17 -0400 Received: by mail-pf1-x42c.google.com with SMTP id e10so2323525pfj.1 for ; Fri, 16 Oct 2020 15:46:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:in-reply-to:message-id:date :mime-version; bh=o4vq1fp92UtdmCAOz022+FvbaKX98tztK8YAaG8xQ+A=; b=O/jCaA4w2HnVnOBQpzhpr3vvwrAZ5swsIlLwE4zAvoyQQfUm0v22HyR0TG5VqPfpEU x3baTxDXfNcJY6CDqtU9GWN5qGnrpmtlC50FQc9Ei32FbW4PQT1m3+ty21yU4bljK/i9 MDrvmybUYFtBtt8Dv3iClypwXF0Yp2+I/xzYIlbuqlcPT9PgynvjFbPvBbY82XvIacHc tQRLBrWX2uOT4LSQLFpH5YyAkAlipV2hlvZkb1JNhLemdQQz8p/e1nEQ7f+PnE3WS0CB 7/IUizdha5KDn4GjcbaeCshdERC4lJWDwhSJfdAX342T7EJ9E6UK/EXaB2xj/jn4784N 6vMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject :in-reply-to:message-id:date:mime-version; bh=o4vq1fp92UtdmCAOz022+FvbaKX98tztK8YAaG8xQ+A=; b=gQNs15TMhEZDpkCZpWNIs7/P9cc92co6BvT07KpXaNz5loZq+BnPEZqRL/pXB7OdwT xd7EcAY+NPhDMGfIviaB8Q90x96ZAqUzHcOqhbO661N/cgsr64pGdv11SFCIU1gvh4dP vWV7Zdv7KrpdXT9Fx9YAEIIw6McrjbbBoo1EFc2E7GasWrdEJEZmsNWi2PGbYawbDsTt pD6hViWiWX9xxMUJ/wsx+jlBjOD7fUgNvC/Bg56EXne4UWnD04K1+K4zs6Kq9MqPftmD evLnA2O2Rzot2UENJfZqmOMMtm6jeZ+uFzcasOh/7+ToTLcMLuW65DtSarhO968Y8bFC g+Rg== X-Gm-Message-State: AOAM530kFe1NyRqrIyyvaM1CJ1XcoeKjeSiScun+b9zCmxsmya1ZTPQv q7FUXdPxj7GLIhy//42ClpQmhgvmN0wUMQ== X-Google-Smtp-Source: ABdhPJxwqLBOZl06KlFvjjQZr3fTCiFhzGnKPR/DBBHmEluy71gXJkObuWE7NNDGlUWz2+P9o+jtEA== X-Received: by 2002:a63:1604:: with SMTP id w4mr4903812pgl.148.1602888372257; Fri, 16 Oct 2020 15:46:12 -0700 (PDT) Received: from tim-desktop (106-69-142-148.dyn.iinet.net.au. [106.69.142.148]) by smtp.gmail.com with ESMTPSA id g9sm3654039pgm.79.2020.10.16.15.46.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Oct 2020 15:46:11 -0700 (PDT) References: User-agent: mu4e 1.5.5; emacs 28.0.50 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: should be In-reply-to: Message-ID: <87wnzpyekv.fsf@gmail.com> Date: Sat, 17 Oct 2020 09:46:08 +1100 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::42c; envelope-from=theophilusx@gmail.com; helo=mail-pf1-x42c.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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.23 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=O/jCaA4w; dmarc=pass (policy=none) header.from=gmail.com; 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: emJxRq5E/PZw This one is a little 'tricky'. The tag means emphasis and is not the same as underline (browsers are free to 'interpret' emphasis as anything which will emphasise the text from surrounding text, which could be bold, italic, underline or a combination. If we changed underline to tags, I'm sure we would get a post about text not being underlined in html export. There use to be a tag for underline, but that has been replaced by 'unarticulated text' and it is recommended to now use CSS text decoration properties to do underline. On the other hand, I don't think Emacs' EWW/shr support the CSS text decoration properties, so I'm not sure if you will get underlined text when viewing org HTML in Emacs EWW. The real challenge here is in how to map org mode specific attributes such as italic, underline and bold to HTML's semantic tags of , etc. In hindsight, it probably would have been better for org to have used sematnic markup types, leaving it to each exporter to interpret how the different semantic types map to character types. One solution could be to make all of them CSS classes, have a default CSS for italic, bold, underline, code etc. Users could then add their own CSS to render each as they preferred when not happy with the defaults. Pankaj Jangid writes: > For this org mode text: > > #+begin_src org > - This text is /emphasized/ > - This text is *in bold* > - This text is _underlined_ > - This text uses =a teletype font= > #+end_src > > the follow is the HTML output: > > #+begin_src >
    >
  • This text is emphasized
  • >
  • This text is in bold
  • >
  • This text is underlined
  • >
  • This text uses a teletype font
  • >
> #+end_src > > In case of /italics/, CSS class is used whereas for other formatting > cases native HTML elements are used. Shouldn't the _underline_ be > converted into tags? > > Regards -- Tim Cross