-
Notifications
You must be signed in to change notification settings - Fork 844
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
fixed Dockerfile #103
fixed Dockerfile #103
Conversation
Some remarks:
|
Ok we can remove the installation of pygments :) |
We added a pdf documentation file. So what happens now when you run # create the sty files
latex mtheme.ins
# create the documentation
latexmk -xelatex -output-directory=.temptex mtheme.dtx
cp .temptex/mtheme.pdf .
# create the demo presentation
latexmk -xelatex -output-directory=.temptex demo.tex
cp .temptex/demo.pdf . You can obviously skip the part with the temporary folder as this is only a way to keep the top directory clean, but as far as I see it you are missing the documentation. And |
This means you could make the build.sh file contain
or even
|
The first one is right. In the second one you are again missing the documentation. |
Yes I guess it depends on the usecase. |
I have tested both and they work well. |
I don't want to use docker at all. 😏 But I think it would be useful to have the documentation of the theme. |
That's my main reason for docker, testable installation documentation. |
Ok so then yes the docs should also be built. |
Thinking about it again. Why is it necessary to build
Then if |
And of course the sty files.
|
I tested that, but the docker still runs every time and then the docker tells me that the files are up to date. |
I don't know if I have understood you. So it works? What happens if you remove |
Ok wait wait, I am a bit tired, I mis read your comment.
The idea is that you should be able to build without having the fonts or even latex installed on your own computer. These dependencies should only be installed inside the docker. |
Ah. Ok, now I get the point of the |
Yes I was just lazy :) |
You caught me. |
It just takes forever to install texlive-full, so when I modify the apt-get line, it takes quite a while to test. |
😁 Well then I think this is probably the best way to do it, even though it will take a while to test. Agreed?
You should do it. |
Its running :) |
Ok I'll look at this again tomorrow or monday. |
I now get the following error:
|
Drop the |
Perfect :) |
Thank you for pushing me, this is much better :) |
Does this also work? docker-run: docker-build
docker run --rm=true --name $(DOCKER_CONTAINER) -i -t -v `pwd`:/data $(DOCKER_IMAGE) /data/make Then we could delete the |
Thats true |
fix for issue #102