I found problem when typeset inverted damma in alqalam. To fix this I have to traverse across the module, because I could not find adequate documentation about the structure, much worse I have never programmed any latex stuff.
In brief the flow is the following:
1. UTF code is processed in qutfcode.sty. Inverted damma UTF code is d997 (don't get confused with reversed damma). It was not encoded on alqalam version 427/08/17 0.2. Thus I add the encoding "\n@xp\a@u.
Note: some important arabic UTF code can be observed on utf8-chartable.de
2. The "\n@xp\a@u code then will be translated into integer in qaparse.sty. It is encoded as \c@ammad, with integer code 12.
3. Then in qaboxes.sty on function \put@voc case 12, the inverted damma character is translated as \a@ammad to be written.
4. Finally the code is mapped into the font glyph at qxarbsymb.sty.
\chardef \a@ammad = '146.
This is a simple code to view the glyph:In brief the flow is the following:
1. UTF code is processed in qutfcode.sty. Inverted damma UTF code is d997 (don't get confused with reversed damma). It was not encoded on alqalam version 427/08/17 0.2. Thus I add the encoding "\n@xp\a@u.
Note: some important arabic UTF code can be observed on utf8-chartable.de
2. The "\n@xp\a@u code then will be translated into integer in qaparse.sty. It is encoded as \c@ammad, with integer code 12.
3. Then in qaboxes.sty on function \put@voc case 12, the inverted damma character is translated as \a@ammad to be written.
4. Finally the code is mapped into the font glyph at qxarbsymb.sty.
\chardef \a@ammad = '146.
\documentclass{article}
\usepackage{fonttable}
\pagestyle{empty}
\begin{document}
\fonttable{qnskh14} %this is default font in alqalam
\end{document}
1 komentar:
Assalamu'alaikum, saya sudah muter2 di google tapi tidak menemukan satu pun dokumentasi menyeluruh tentang AlQalam ini.
Sejauh ini saya hanya menemukan sedikit contoh:
\documentclass[a4paper,10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{alqalam}
\usepackage{utf8}
\setcode{utf8}
\setarab
%opening
\title{Al Qalam}
\author{Slamet Badwi}
\begin{document}
\maketitle
\begin{abstract}
Contoh dan latihan typesetting dengan alQalam
\end{abstract}
\section{Contoh pertama}
\setquran
\juz=1
\hizb=1
\fourth=1
\begin{RLtext}
%\sura{1}{}{}{7}
\Large
\settajweed
بِسْمِ اللهِ الرَّحْمَنِ الرَّحِيمِ
\end{RLtext}
\end{document}
tapi untuk menambah tanda waqaf dsb, belum bisa. sudilah kiranya penulis mengajari saya ini. syukron
Posting Komentar