javadr / quran

Simplifying The Holy Quran Typesetting in XeLaTeX.
21 stars 5 forks source link

Tajweed Stops #13

Closed ercancem closed 8 months ago

ercancem commented 8 months ago

Is it possible to output the text with the tajweed stops? If not, is it possible to make it possible?

javadr commented 8 months ago

Could you please elaborate more about Tajweed stops?

ercancem commented 8 months ago

latex

The tajweed symbols that guide the reciter. (The symbol inside the square box.) I want to be able to ignore them altogether.

javadr commented 8 months ago

Ok, you meant Waqf symbols. Yes, you can typeset the text without them. Use wordwise option like the following. For more information, read the package manual. In this case, you must use just the quranayah macro with its third parameter.

\documentclass{article}

\usepackage{arabxetex}
\usepackage[wordwise]{quran}

\begin{document}

    \begin{arab}[utf]
        \quranayah*[2][1-5][1]
    \end{arab}

\end{document}

image

ercancem commented 8 months ago

How does this work with arabluatex? For example:

\documentclass[12pt, border=1pc]{standalone}
\usepackage[voc]{arabluatex}
\usepackage[nopar, wordwise]{quran}
\begin{document}
    \begin{txarab}
        \quranayah*[12][1]
    \end{txarab}
\end{document}
javadr commented 8 months ago

I am afraid, that this option does not work with lualatex.

Could you compile your doc with xelatex?

javadr commented 8 months ago

I am afraid, that this option does not work with lualatex.

Could you compile your doc with xelatex?

ercancem commented 8 months ago

(1) Thanks for your time.

(2) Things are sorted out now. (Using arabluatex.) But I still cannot find this info in your package documentation. Where is it exactly?

(3) How do I OMIT the basmala in the output? Say, in this \quranayah*[12][1-3][1]

javadr commented 8 months ago

2) OMG, you've have forgotten the third parameter I mentioned above!

\quranayah*[12][1][1]

image

3) Apply like this {\ToggleBasmalah\quranayah[12][1-3][1]}