Skip to content

Problem with Latex #1

@taenayat

Description

@taenayat

I tried to run the rmarkdown file, but I get the following error:

! LaTeX Error: Command \XeTeX already defined. Or name \end... illegal, see p.192 of the manual.
I even commented all the rmarkdown file except the yaml header, but the error still remains. I'll attach the log file.

It creates the .tex file but the .tex file does not run. I thought the problem would be from Latex engine. So, I tried using different engine like lualatex or xelatex (it seem the code uses pdflatex by default, but I am not sure) with the following code:

pandoc RTLNotes.tex -o RTLNotes.pdf --latex-engine xelatex
it did not give any error, but the result was not desirable either. Here is what the result looks like.

image

Any thoughts?

Thanks

RTLNotes.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions