Export PDF files using org-Mode

Source: Internet
Author: User

Install texlive 2010. ctex and xecjk are required for Chinese support. Just install all the packages.

1. Export the org file as a Tex file (c-e L)

2. Add the exported Tex File

/Usepackage {xecjk}
/Setcjkmainfont {}

/Usepackage [Unicode = true, colorlinks = No, pdfborder = No] {hyperref} % makes the generated Directory have no red border

/Begin {Center}
/Renewcommand {/contentsname} {directory} % change contents to directory and center
/Tableofcontents
/End {Center}

3. Use xelatex filename. Tex to output a PDF file.

To generate a directory, run xelatex twice.

 

 

Use ctex to process Chinese Characters

/Documentclass {ctexart} <br/>/begin {document} <br/> hello, Tex live 2009! <Br/>/end {document}

 

Use xecjk to process Chinese Characters

/Documentclass {Article} <br/>/usepackage {xecjk} <br/>/setcjkmainfont {simsun} <br/>/begin {document} <br/> hello, tex live 2009! <Br/>/end {document}

Read xelatex, ctex, and xecjk in texlive 2010 for more information.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.