emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Gustavo Barros <gusbrs.2016@gmail.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: Feng Shu <tumashu@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: Org-mode latex pdf export issue: Underlined lines not breaking properly
Date: Mon, 29 Jul 2019 20:37:22 -0300	[thread overview]
Message-ID: <8736iobefh.fsf@gmail.com> (raw)
In-Reply-To: <871u84iiek.fsf@gmail.com> (Nicolas Goaziou's message of "Fri, 14 Jun 2013 21:47:31 +0200")


Hi all,

On Fri, Jun 14 2013, Nicolas Goaziou wrote:

>>>> Nicolas Goaziou <n.goaziou@gmail.com> writes:
>>>>>   1. Does \underline{中文测试} work properly (notwithstanding the line
>>>>>      breaks)?
>>>>
>>>> \underline can show chinese, but the command can't resolve lines
>>>> breaking properly.
>>>>
>>>>>   2. Does \uline from "ulem" package handle it correctly, including the
>>>>>      line breaks?
>>>>
>>>> \uline seem to work properly.
>>>
>>> Then, the best solution seems to add "ulem" package to
>>> `org-latex-default-packages-alist' and use \ulem for underline. "soul"
>>> will only be used for strike-through.
>>>
>>> Is there any objection to this change?
>>
>> May be \ulem should be used for strike-through too!
>
> Done.
>

I know this is a very old thread, and that perhaps this boat has sailed
definitely.

But it seems to me that the attempt to use soul back then eventually
backfired because soul does not handle utf8 properly, as Feng Shu’s
issue demonstrated.  Indeed it does not.  But there is a patch to soul,
by Heiko Oberdiek, to handle this precise issue, and it is the package
soulutf8.

I’ve checked the commit history around the time of this thread, and it
seems soul, rather than soulutf8, was the attempt
(https://code.orgmode.org/bzg/org-mode/commit/95eeefa9bca1b6c57fe62c248a0a35302cd7374d).

Neither soul nor ulem is very active nowadays, but are used quite
extensively, as far as I know (from following TeX.SX).  And both have
their limitations.  But the ability to have line breaks is a clear edge
of soul, and the reason of the original request which started this
thread.

So, if the only reason to prefer ulem back in 2013 was utf8 support,
perhaps soulutf8 might be worthy of your reconsideration.


Best regards,
Gustavo Barros.

  reply	other threads:[~2019-07-29 23:37 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-06 11:37 Org-mode latex pdf export issue: Underlined lines not breaking properly Sanjib Sikder
2013-03-06 11:59 ` Suvayu Ali
2013-03-06 13:25   ` Sanjib Sikder
2013-03-06 13:43     ` Michael Strey
2013-03-06 14:02     ` Suvayu Ali
2013-03-06 14:17       ` Sanjib Sikder
2013-06-06 19:48       ` Nathaniel Cunningham
2013-06-09  9:18         ` Nicolas Goaziou
2013-06-09 23:34           ` Feng Shu
2013-06-11 12:10             ` Nicolas Goaziou
2013-06-11 12:59               ` Feng Shu
2013-06-11 13:24                 ` Nicolas Goaziou
2013-06-11 13:53                   ` Feng Shu
2013-06-14 19:47                     ` Nicolas Goaziou
2019-07-29 23:37                       ` Gustavo Barros [this message]
2019-07-29 23:53                         ` Gustavo Barros

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=8736iobefh.fsf@gmail.com \
    --to=gusbrs.2016@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    --cc=tumashu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).