emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Org-mode latex pdf export issue: Underlined lines not breaking p


From: Feng Shu
Subject: Re: [O] Org-mode latex pdf export issue: Underlined lines not breaking properly
Date: Mon, 10 Jun 2013 07:34:15 +0800
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.2 (gnu/linux)

Nicolas Goaziou <address@hidden> writes:

> Hello,
>
> Nathaniel Cunningham <address@hidden> 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,

-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]