Nicolas Goaziou <n.goaz...@gmail.com> writes:

> Hello,
>
> Nathaniel Cunningham <nathaniel.cunning...@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,

-- 

Reply via email to