Closed ghost closed 5 years ago
Thanks for your points. We have a de-facto repository for our faculty that you have already seen. I can create a repository there for thesis template. What do you think? About the library, I will ask them in the next few days.
I think having an official GitHub repo for the thesis class is critical because once there is a central place, people can report issues there.
I have created a repository here; I will basically rewrite the whole class from scratch using the one provided by the library and when it is ready, I will push it to CTAN so that it makes its way into TeX distributions like TeXLive and MiKTeX. This way, I can update it anytime I make changes to the xepersian
package. The copyright owner will still be the university not me.
When it is on CTAN, perhaps we can make the university know.
Thanks for your works. 🙌
The thesis class provided by the university is quite small so I should finish it by the end of the weekend.
I understand that this is not an official repo for
AUTthesis.cls
and you are just typesetting your own thesis. If your other friends also typeset their theses with this class, please also let them know or even better, if you are in touch with the library of the university, please let them know about this so they can fix things upstream.A few changes needs to be made to make this thesis class up to date with the current state of the
xepersian
package. At the moment, all these changes is about the filecommands.tex
Change number 1
Lines 11 and 12 of the file
commands.tex
which isare unnecessary. This functionality is provided by the
xepersian
package in a much nicer and cleaner way. Just remove the two lines above, and change line 66 of the same file which isto
This will allow the font size 10pt and base line skip of 13pt. You can change either values to whatever works better for you.
Change number 2
The line 22 in the same file which is
is not needed. Again, this functionality is provided by the package itself. If you ever decide that you want to reset footnote counters per page so that footnotes start from 1 on every page, then change line 66 of the same file which is
to
Change number 3
The line 75 which is
has some issues.
The control sequence
\setdigitfont
is changed to\setmathdigitfont
which will only change digits font in math mode. However, the control sequence\setdigitfont
changes digits in both math and text modes;The use of
PGaramond
is problematic. This particular font does not contain U+066A. In fact, if you use at least version22.4
of thexepersian
package, it will be checked if the font contain the necessary characters and if not, then you will get an error and be asked to select another font.If you ever typeset a decimal number like
$1.2$
, you will see that in bothPGaramond
andYas
font, the spacing is quite tight. This is because there was a bug inxepersian
package 10 years ago which produced too much space and these fonts were created back then to compensate for this bug but now that there is no bug in thexepersian
package, these fonts just give wrong spacing.So just change line 75 to something like