From 2e19b51d0f23c572968b6c50abb1b1d210ffb131 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Thu, 13 Oct 2022 13:45:27 +0200 Subject: use \reset@font in \LR --- README.md | 29 +++---- about.html | 245 +++++++++++++++++++++++++++++++++++++++++++++++++++------ arabluatex.dtx | 4 +- 3 files changed, 234 insertions(+), 44 deletions(-) diff --git a/README.md b/README.md index e1ccf14..37594a6 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,10 @@ --- author: - Robert Alessi -title: 'The arabluatex package -- README file' +title: The arabluatex package -- README file --- -Overview -======== +# Overview This package provides for [LuaLaTeX](http://luatex.org) an [ArabTeX](http://ctan.org/pkg/arabtex)-like interface to generate Arabic @@ -20,8 +19,7 @@ packages yet to come to produce from `.tex` source files, in addition to printed books, `TEI xml` compliant critical editions and/or lexicons that can be searched, analyzed and correlated in various ways. -License and disclamer -===================== +# License and disclamer ArabLuaTeX -- Processing ArabTeX notation under LuaLaTeX @@ -66,8 +64,7 @@ This release of arabluatex consists of the following source files: - `arabluatex_trans.lua` -License applicable to the documentation ---------------------------------------- +## License applicable to the documentation Copyright ⓒ 2016--2022 Robert Alessi @@ -78,8 +75,7 @@ Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License" of the documentation. -Installation -============ +# Installation 1. Run `'lualatex arabluatex.ins'` to produce the `arabluatex.sty` file; @@ -106,11 +102,9 @@ Installation `arabluatex.el` to their `~/.emacs.d/auctex/auto` local directory. This will enable the appropriate hooks for ArabLuaTeX in AUCTeX. -Development, Git Repository -=========================== +# Development, Git Repository -Browse the code ---------------- +## Browse the code You can browse ArabLuaTeX repository on the web: @@ -118,13 +112,11 @@ You can browse ArabLuaTeX repository on the web: From this page, you can download all the releases of ArabLuaTeX. For instructions on how to install ArabLuaTeX, please see above. -Comments, Feature requests, Bug Reports ---------------------------------------- +## Comments, Feature requests, Bug Reports -Download the repository ------------------------ +## Download the repository ArabLuaTeX development is facilitated by git, a distributed version control system. You will need to install git (most GNU/Linux @@ -137,8 +129,7 @@ Use this command to download the repository A new directory named arabluatex will have been created, containing ArabLuaTeX. -Git hosting ------------ +## Git hosting Make an account on and navigate (while logged in) to . Click *Fork* and you will diff --git a/about.html b/about.html index af0eb19..0f7d390 100644 --- a/about.html +++ b/about.html @@ -7,13 +7,157 @@ The arabluatex package – README file +
@@ -21,20 +165,47 @@

Robert Alessi

Overview

-

This package provides for LuaLaTeX an ArabTeX-like interface to generate Arabic writing from an ascii transliteration. It is particularly well-suited for complex documents such as technical documents or critical editions where a lot of left-to-right commands intertwine with Arabic writing. arabluatex is able to process any ArabTeX input notation. Its output can be set in the same modes of vocalization as ArabTeX, or in different roman transliterations. It further allows many typographical refinements. It will eventually interact with some other packages yet to come to produce from .tex source files, in addition to printed books, TEI xml compliant critical editions and/or lexicons that can be searched, analyzed and correlated in various ways.

-

License and disclamer

+

This package provides for LuaLaTeX an +ArabTeX-like interface to +generate Arabic writing from an ascii +transliteration. It is particularly well-suited for complex documents +such as technical documents or critical editions where a lot of +left-to-right commands intertwine with Arabic writing. arabluatex is +able to process any ArabTeX input notation. Its output can be set in the +same modes of vocalization as ArabTeX, or in different roman +transliterations. It further allows many typographical refinements. It +will eventually interact with some other packages yet to come to produce +from .tex source files, in addition to printed books, +TEI xml compliant critical editions and/or lexicons that +can be searched, analyzed and correlated in various ways.

+

License and +disclamer

ArabLuaTeX – Processing ArabTeX notation under LuaLaTeX

Copyright ⓒ 2016–2022 Robert Alessi

-

Please send error reports and suggestions for improvements to Robert Alessi:

+

Please send error reports and suggestions for improvements to Robert +Alessi:

-

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

-

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

-

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

-

This release of arabluatex consists of the following source files:

+

This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by the +Free Software Foundation, either version 3 of the License, or (at your +option) any later version.

+

This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General +Public License for more details.

+

You should have received a copy of the GNU General Public License +along with this program. If not, see +<http://www.gnu.org/licenses/>.

+

This release of arabluatex consists of the following source +files:

  • arabluatex.ins

  • arabluatex.dtx

  • @@ -44,13 +215,23 @@
  • arabluatex_novoc.lua

  • arabluatex_trans.lua

-

License applicable to the documentation

+

License applicable +to the documentation

Copyright ⓒ 2016–2022 Robert Alessi

-

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled “GNU Free Documentation License” of the documentation.

+

Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.3 or +any later version published by the Free Software Foundation; with no +Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A +copy of the license is included in the section entitled “GNU Free +Documentation License” of the documentation.

Installation

    -
  1. Run 'lualatex arabluatex.ins' to produce the arabluatex.sty file;

  2. -
  3. To finish the installation you have to move the following files into a directory where LaTeX can find them. See the FAQ on texfaq.org at https://texfaq.org/FAQ-inst-wlcf for more on this:

    +
  4. Run 'lualatex arabluatex.ins' to produce the +arabluatex.sty file;

  5. +
  6. To finish the installation you have to move the following files +into a directory where LaTeX can find them. See the FAQ on +texfaq.org at https://texfaq.org/FAQ-inst-wlcf for more on this:

    • arabluatex.sty

    • arabluatex-patch.sty

    • @@ -60,20 +241,38 @@
    • arabluatex_novoc.lua

    • arabluatex_trans.lua

  7. -
  8. Additionally, those who use emacs with AUCTeX may copy arabluatex.el to their ~/.emacs.d/auctex/auto local directory. This will enable the appropriate hooks for ArabLuaTeX in AUCTeX.

  9. +
  10. Additionally, those who use emacs with AUCTeX may copy +arabluatex.el to their ~/.emacs.d/auctex/auto +local directory. This will enable the appropriate hooks for +ArabLuaTeX in AUCTeX.

Development, Git Repository

Browse the code

-

You can browse ArabLuaTeX repository on the web: http://git.robertalessi.net/arabluatex

-

From this page, you can download all the releases of ArabLuaTeX. For instructions on how to install ArabLuaTeX, please see above.

-

Comments, Feature requests, Bug Reports

-

https://gitlab.com/ralessi/arabluatex/issues

-

Download the repository

-

ArabLuaTeX development is facilitated by git, a distributed version control system. You will need to install git (most GNU/Linux distributions package it in their repositories).

+

You can browse ArabLuaTeX repository on the web: http://git.robertalessi.net/arabluatex

+

From this page, you can download all the releases of ArabLuaTeX. For +instructions on how to install ArabLuaTeX, please see above.

+

Comments, Feature +requests, Bug Reports

+

https://gitlab.com/ralessi/arabluatex/issues

+

Download the +repository

+

ArabLuaTeX development is facilitated by git, a distributed version +control system. You will need to install git (most GNU/Linux +distributions package it in their repositories).

Use this command to download the repository

git clone http://git.robertalessi.net/arabluatex
-

A new directory named arabluatex will have been created, containing ArabLuaTeX.

+

A new directory named arabluatex will have been created, containing +ArabLuaTeX.

Git hosting

-

Make an account on https://gitlab.com and navigate (while logged in) to https://gitlab.com/ralessi/arabluatex. Click Fork and you will have in your account your own repository of arabluatex where you will be able to make whatever changes you like to.

+

Make an account on https://gitlab.com and navigate (while logged in) to https://gitlab.com/ralessi/arabluatex. Click +Fork and you will have in your account your own repository of +arabluatex where you will be able to make whatever changes +you like to.

diff --git a/arabluatex.dtx b/arabluatex.dtx index 503a1b2..b2e2f24 100644 --- a/arabluatex.dtx +++ b/arabluatex.dtx @@ -5156,8 +5156,8 @@ % it to suit our purpose: % \begin{macrocode} \AtBeginDocument{\ifdef{\LR}% - {\RenewDocumentCommand{\LR}{m}{\bgroup\textdir TLT\rmfamily#1\egroup}} - {\NewDocumentCommand{\LR}{m}{\bgroup\textdir TLT\rmfamily#1\egroup}}} + {\RenewDocumentCommand{\LR}{m}{\bgroup\textdir TLT\reset@font#1\egroup}} + {\NewDocumentCommand{\LR}{m}{\bgroup\textdir TLT\reset@font#1\egroup}}} % \end{macrocode} % \end{macro} % \begin{macro}{\SetArbNumbers} -- cgit v1.2.3