Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile theorem-sample (texlive 2019) #3

Open
ouboub opened this issue Feb 23, 2023 · 7 comments
Open

Can't compile theorem-sample (texlive 2019) #3

ouboub opened this issue Feb 23, 2023 · 7 comments

Comments

@ouboub
Copy link

ouboub commented Feb 23, 2023

Hi

I just cloned, and tried to run make, well no documentation was generated.
I tried to compile, just in the cloned repository, for example theorem-sample.tex
(either with pdflatex, xelatex or lulatex (using texlive 2019))
But I always obtain errors I attach the log file.
the package sounds very interesting but I should compile

Uwe Brauer

theorems-sample.txt

@michal-h21
Copy link
Owner

Thanks for the report. Both theorems-sample.tex and notetaking.tex should work now.

@ouboub
Copy link
Author

ouboub commented Feb 24, 2023

Hi
Well, yes and no, I cannot compile them with pdflatex, but with xelatex and lualatex I can, however the resulting pdf file looks strange since it contains a lot of ???
May I ask you a small favour: could you enable ssh cloning?
then I could clone the repository directly with mercurial (with hg-git enabled) since I know mercurial much better than git
theorems-sample.pdf

@michal-h21
Copy link
Owner

It is strange, that you get error with pdflatex, because the document doesn't use any special packages or fonts. The ??? were caused by a bug in the document code, it should work now.

What do you mean by SSH cloning? It is enabled on Github by default, but maybe I don't understand correctly what you want.

theorems-sample.pdf

@ouboub
Copy link
Author

ouboub commented Feb 24, 2023

ssh cloning, now the entry for ssh appears so all is good, yesterday I only saw https and cli.
When I run theorems-sample.tex for the first time the error is


[1{/usr/local/texlive/2019/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
Tak co sec?: rdfs:Class
! Undefined control sequence.
<argument> \mynodes

l.203 \dolistloop\mynodes

I attach the log then after pressing x and recompiling no error appears
the pdf looks ok to me
theorems-sample-log.txt

@ouboub
Copy link
Author

ouboub commented Feb 24, 2023

ssh cloning, now the entry for ssh appears so all is good, yesterday I only saw https and cli. When I run theorems-sample.tex for the first time the error is


[1{/usr/local/texlive/2019/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
Tak co sec?: rdfs:Class
! Undefined control sequence.
<argument> \mynodes

l.203 \dolistloop\mynodes

I attach the log then after pressing x and recompiling no error appears the pdf looks ok to me theorems-sample-log.txt

I just saw that the same error pops up for xelatex and lualatex.
BTW, I would like to try this out for a more realistic scenario
now I am a bit confused what should be part of the latex file with my result

so usually it would contain, theorems lemmas proofs etc, but am I soppused to have all teh renewcommand stuff as well couldn't that be moved to some where else?

@michal-h21
Copy link
Owner

The issue with \mynodes should hopefully be fixed now. It was not initialized at the first compilation. In the subsequent compilations, data are loaded from the aux file, so this error doesn't occur.

You can definitely move newcommands to a separate file. They may also be too much complicated for your use case, as they create the Graphviz graph, for example. If you want for example just list of theorems, you can use a much simpler version of the \Bind command.

There already is one included file, included using \inputontology{theorem-ontology.tex}. It contains definitions of properties that are set for theorems.

@ouboub
Copy link
Author

ouboub commented Mar 3, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants