Git Product home page Git Product logo

rtlnotes's Introduction

RTLNotes logo

RTLNotes

R build status

RMarkdown enables you to write reproducible academic publications such as articles, PhD thesis, lab reports, posters, presentations, and a variety of other fascinating documents using the lightweight and plain-text Markdown syntax. There are several packages for RMarkdown themes, but all of them are useful for left-to-right languages. RTLNotes package tries to create a right-to-left languages theme for RMarkdown.

RTLNotes is not only for R users!. Python programmers can also run codes in Rmarkdown. This article has additional information.

When running your Rmd files with knitr, output plots, tables and code results are embedded in the md file. Then, Rstudio by using pandoc’s powerful engine can convert your documents to many formats, such as PDF, Docx, HTML, epub, and… In particular, you can create PDF reports without worrying about the lateX code.

Features

The RTLNotes package contains report and presentation templates in PDF and Gitbook formats. In the articles section, you’ll find an introduction to each template as well as instructions on how to config it. The templates that have been implemented so far are as follows:

Installation

RTLNotes is not (yet) available on CRAN, so install development version from GitHub via the devtools or remotes packages.

🛑 🚧 Before installing the package, you should check that you have X11 plotting device, Parastoo, Vazir and Vazir-Code fonts on your machine. The fonts source can be found here. For more details on package dependencies, see Get Started.

# install.packages("remotes")
remotes::install_github("Ehyaei/RTLNotes")

Attribution

The RMarkdown packages and latex resources that inspired this effort include:

rtlnotes's People

Contributors

ehyaei avatar

Stargazers

Mohammad Reza Soleimani avatar  avatar SinRas avatar Saeed Hadikhanloo avatar Taha Enayat avatar mahdi ghadami avatar Abolfazl Babanazari avatar MohammadHosein Kalhor avatar Ali Balapour avatar  avatar M. Sherafati avatar saeidreza mashayekhi avatar  avatar Hamed. Ehyaee avatar

Watchers

 avatar

rtlnotes's Issues

Problem with Latex

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.