Bug 31414 - Стиль LaTeX по ГОСТ 7.32-2001 для расчётно-пояснительной записки
Summary: Стиль LaTeX по ГОСТ 7.32-2001 для расчётно-пояснительной записки
Status: NEW
Alias: None
Product: New/proposed packages
Classification: Development
Component: Обычный репозиторий (show other bugs)
Version: не указана
Hardware: all Linux
: P3 normal
Assignee: Andrey Cherepanov
QA Contact: Andrey Cherepanov
URL: https://github.com/rominf/latex-g7-32
Keywords:
Depends on: 31420 31460 31416 31421
Blocks:
  Show dependency tree
 
Reported: 2015-10-29 15:40 MSK by Ivan Zakharyaschev
Modified: 2015-11-09 13:35 MSK (History)
1 user (show)

See Also:


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

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Zakharyaschev 2015-10-29 15:40:58 MSK
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 Ivan Zakharyaschev 2015-11-01 16:28:26 MSK
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 Ivan Zakharyaschev 2015-11-01 16:32:27 MSK
Created attachment 6414 [details]
out-pdflatex.txt (from "make", after switching to pdflatex)
Comment 3 Ivan Zakharyaschev 2015-11-01 17:00:07 MSK
Сообщил о проблеме с Option clash for package caption в https://github.com/rominf/latex-g7-32/issues/23
Comment 4 Ivan Zakharyaschev 2015-11-09 13:35:56 MSK
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.