Bug 31414 - Стиль LaTeX по ГОСТ 7.32-2001 для расчётно-пояснительной записки
: Стиль LaTeX по ГОСТ 7.32-2001 для расчётно-пояснительной записки
Status: NEW
: New/proposed packages
(All bugs in New/proposed packages/Обычный репозиторий)
: не указана
: all Linux
: P3 normal
Assigned To:
:
: https://github.com/rominf/latex-g7-32
:
: 31416 31420 31421 31460
:
  Show dependency tree
 
Reported: 2015-10-29 15:40 by
Modified: 2015-11-09 13:35 (History)


Attachments
out-pdflatex.txt (from "make", after switching to pdflatex) (27.43 KB, text/plain)
2015-11-01 16:32, Ivan Zakharyaschev
no flags Details


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2015-10-29 15:40:58
I'm going to package and explore how it works: a LaTeX style for some notes
according to a GOST.

Compiling the example (or perhaps some other stuff -- as done by "make")
required dot2tex among other tools, which can be found in Autoimports repo.

Of course, I'd like to make it possible for the users to compile the author's
example the way it was intended, so I'll need to think about bringing this tool
to Sisyphus.

Probably, many essential corrections to the style are necessary for it to work
nicely. We'll see (after it is packaged).
------- Comment #1 From 2015-11-01 16:28:26 -------
After overcoming

* the problem with dot2tex from Autoimports being incompatible with the new
version of python-module-pyparsing from Sisyphus --
https://bugzilla.altlinux.org/show_bug.cgi?id=31416 -- by installing an old
python-module-pyparsing from t7;

* and the problem with iftex.sty missing --
https://bugzilla.altlinux.org/show_bug.cgi?id=31420 -- by downloading and
copying it into the working dir;

we come to the problem that the example document is made with xelatex, but
xelatex in Sisyphus can't run in normal way (because it refuses to use its old
sources) -- too old TeX distro in Sisyphus --
https://bugzilla.altlinux.org/show_bug.cgi?id=31421 .

Well, let's switch to pdflatex instead (which is mentioned in the latex-g7-32
project's documentation). Then the errors are:

! LaTeX Error: Option clash for package caption.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.7 \include{preamble.inc}

\@input{listings.inc.aux}

(The complete log from running "make" is attached; there are some other
warnings.)

But anyway, it produces a PDF, and after running "make" several times, we get a
PDF with a table of contents...

Probably, the error is not critical. (And perhaps it won't be there with a more
recent version of TeXLive and its packages. I should give
http://autoextra.altlinux.org/pub/ALTLinux/texlive/Sisyphus/files/list/bin.list
a try.)

It works more or less. (I have to check whether all pictures have been included
correctly, because the appendices seem to have blank pictures.)
------- Comment #2 From 2015-11-01 16:32:27 -------
Created an attachment (id=6414) [details]
out-pdflatex.txt (from "make", after switching to pdflatex)
------- Comment #3 From 2015-11-01 17:00:07 -------
Сообщил о проблеме с Option clash for package caption в
https://github.com/rominf/latex-g7-32/issues/23
------- Comment #4 From 2015-11-09 13:35:56 -------
See also:

* a repo with another older version (and other examples of documents, which are
also interesting) -- https://github.com/qrilka/G7-32

* the text of the GOST  is collaboratively maintained at
https://ru.wikisource.org/wiki/%D0%93%D0%9E%D0%A1%D0%A2_7.32%E2%80%942001 . Why
not import it with wp2git and repesent the LaTeX code (.sty and the examples)
in a literate programming style interleaved with the text of the GOST.