From: Feng Shu <tumashu@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Org-mode latex pdf export issue: Underlined lines not breaking properly
Date: Mon, 10 Jun 2013 07:34:15 +0800 [thread overview]
Message-ID: <87fvwqeu4o.fsf@news.tumashu-localhost.org> (raw)
In-Reply-To: <87vc5nve0n.fsf@gmail.com> (Nicolas Goaziou's message of "Sun, 09 Jun 2013 11:18:00 +0200")
Nicolas Goaziou <n.goaziou@gmail.com> writes:
> Hello,
>
> Nathaniel Cunningham <nathaniel.cunningham@gmail.com> writes:
>
>> Suvayu Ali <fatkasuvayu+linux <at> gmail.com> writes:
>>
>>>
>>> Org mode
>>> translates _underlined text_ to \underline{underlined text}, however if
>>> you read the TeX.sx question referenced below you will see that it
>>> doesn't support line breaks and the TeX community recommends \uline{..}
>>> from the ulem package.
>>>
>>> <http://TeX.stackexchange.com/a/13382/4416>>
>> The \ul{..} command from the soul package also supports underlining across
>> line breaks.
>> *And soul is included by default in org's list of loaded latex packages* -- see
>> org-latex-default-packages-alist.
>>
>> Therefore it would be painless for org users if \underline in
>> org-latex-text-markup-alist were replaced with \ul -- and it would provide
>> more complete support of underlining!
>
> Indeed. According to
>
> http://orgmode.org/worg/org-dependencies.html
>
> introducing "soul" package in default packages list was meant to provide
> underline and strike-through features. I fixed it in maint.
>
> Thanks for the heads up.
When the article is writen with Chinese, soul will output:
#+begin_src
soul Error: Reconstruction failed.
#+end_src
and underline word will dispear from the output pdf file!
A tmp solution is :
\ul{\mbox{中文测试}}
but,when it can't break lines properly too.
>
>
> Regards,
--
next prev parent reply other threads:[~2013-06-09 23:35 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 [this message]
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
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=87fvwqeu4o.fsf@news.tumashu-localhost.org \
--to=tumashu@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).