Can I save mlx-data from the live editor to latex output?

조회 수: 25 (최근 30일)
Helen
Helen 2016년 5월 3일
답변: Jared MacDonald 2020년 2월 20일
I am a big LaTeX-fan and love to work with the latex-output produced with publish. Can the same be done with mlx-files generated with the live editor? The automatically generated PDF-output looks bulky and unprofessional, such that I will not share PDFs with coworkers. Is there a work-around? Maybe I can convert mlx-files back to m-files with Matlab MARKUP such that I can get a latex-output from there?
  댓글 수: 2
Jared MacDonald
Jared MacDonald 2016년 5월 3일
Hi Helen,
You cannot export to LaTeX directly, but as you guessed, you can save your live script back to a traditional code (.m) file by clicking "Save As" and selecting the ".m" file filter from the save dialog. You can then generate LaTeX output from the Publish tab.
Hope that helps.
Can you be more specific about what you dislike about the PDF format?
Thanks!
Jared
Jared MacDonald
Jared MacDonald 2019년 3월 13일
UPDATE: As of release R2017b, you can export live scripts to LaTeX directly by choosing "Export to LaTeX" from the Save dropdown:
When exporting to LaTeX, MATLAB creates a separate Extensible Stylesheet Language (XSL) file in the same folder as the output document, if one does not exist already. XSL files give you more control over the appearance of the output document. For more details, see http://docbook.sourceforge.net/release/xsl/current/doc/.
Jared

댓글을 달려면 로그인하십시오.

답변 (1개)

Jared MacDonald
Jared MacDonald 2020년 2월 20일
UPDATE: As of release R2017b, you can export live scripts to LaTeX directly by choosing "Export to LaTeX" from the Save dropdown:
When exporting to LaTeX, MATLAB creates a separate Extensible Stylesheet Language (XSL) file in the same folder as the output document, if one does not exist already. XSL files give you more control over the appearance of the output document. For more details, see http://docbook.sourceforge.net/release/xsl/current/doc/.
Jared

카테고리

Help CenterFile Exchange에서 Printing and Saving에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by