emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Loris Bennett" <loris.bennett@fu-berlin.de>
To: emacs-orgmode@gnu.org
Subject: Re: Toggle headline underlining in text export?
Date: Tue, 16 Feb 2021 15:35:52 +0100	[thread overview]
Message-ID: <87wnv8krlj.fsf@hornfels.zedat.fu-berlin.de> (raw)
In-Reply-To: YCvMlm5st6EGtHGD@smoon.bkoty.ru

Hi Vladimir, 

Vladimir Lomov <lomov.vl@yandex.ru> writes:

> Hello,
> ** Loris Bennett <loris.bennett@fu-berlin.de> [2021-02-16 11:00:08 +0100]:
>> Hi,
>> I have an Org file which I export to a text file.  A separate program I
>> have written then uses this text file as the body of an email which is
>> sent to a number of people.
>> The problem I have is that the underlining of the headlines is much
>> longer than the headline text itself if a proportional font is used to
>> view the email.
> This contradicts a bit to first paragraph. I would assume that you export to
> text format to send email message as plain text.

I'm not sure what contradiction you are referring to.  I am indeed
exporting the a text format and in this text format the top-level
headlines are underlined with either a '=' if I export to ASCII or some
UTF symbol if I export to UTF-8.  Whether the underlining is the same
length as the headline itself depends on whether the font used to
display the text is fixed-width or proportional.

>> As most of the recipients will probably not be using a fixed-width font for
>> their mail clients,
> And this assumes that they are fine with html messages otherwise they would
> use fixed-width font.

I'm not sure this is true.  Someone might not like HTML mail for
security reasons, but still might use a proportional font.  In addition,
at least a few of the recipients certainly will be using a fixed-width

>> I would like to be able to toggle the underlining and just rely on the
>> numbering of the headlines.
>> I'd didn't find anything which seemed relevant here
>>   https://orgmode.org/manual/Export-Settings.html
>> so is this possible?  Is there a (better) alternative?
> May be send them a html message?

I could do, but I'd rather not :-)



This signature is currently under construction.

  reply	other threads:[~2021-02-16 14:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-16 10:00 Toggle headline underlining in text export? Loris Bennett
2021-02-16 13:45 ` Vladimir Lomov
2021-02-16 14:35   ` Loris Bennett [this message]
2021-02-16 16:54 ` Christine Köhn
2021-02-17  8:30   ` Loris Bennett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wnv8krlj.fsf@hornfels.zedat.fu-berlin.de \
    --to=loris.bennett@fu-berlin.de \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).