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

Minor modifications to make a better tutorial #24

Merged
merged 21 commits into from
Aug 15, 2019

Conversation

pablgonz
Copy link

@pablgonz pablgonz commented Aug 5, 2019

Just consider the last commit, Modifications are for TeXLive only:

  1. You can write the packages in only one line and also you can put comments.
  2. Names were added to each of the tests in travis.yml.
  3. Extended texlive-test for minted and biber.
  4. Fixed main.tex file to compile without errors.
  5. Added sudo apt-get install python-pygments to file travis.yml.
  6. Added dist: xenian to the file travis.yml.
    I think that's all, in my tests compile everything without problems.
    Greetings

@pablgonz pablgonz requested a review from PHPirates as a code owner August 5, 2019 07:33
@stale
Copy link

stale bot commented Aug 12, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Leave a comment to keep the issue open, explaining why.

@stale stale bot added the stale Issues that are not relevant anymore. label Aug 12, 2019
@PHPirates
Copy link
Owner

jajaja

@stale stale bot removed the stale Issues that are not relevant anymore. label Aug 12, 2019
Copy link
Owner

@PHPirates PHPirates left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

.travis.yml Outdated Show resolved Hide resolved
.travis.yml Show resolved Hide resolved
4-texlive/texlive/texlive_packages Outdated Show resolved Hide resolved
@PHPirates PHPirates merged commit 90b5be9 into PHPirates:master Aug 15, 2019
@pablgonz
Copy link
Author

pablgonz commented Aug 15, 2019 via email

@PHPirates
Copy link
Owner

@pablgonz Ah I see you used the snapshot package, didn't know that one existed. But the snapshot.dep file shows LaTeX packages, not TeX Live packages, so it's not perfect (and you have to have all packages installed locally before it works) - though it definitely helps figuring out dependencies :)

@pablgonz
Copy link
Author

pablgonz commented Aug 16, 2019

I really don't think you can have a definitive solution to create the list of necessary packages, the collections in TeXLive install more than one package, and some packages have circular dependencies with others, but...something can be done in travis:).
With the following lines it is possible to see the list of packages installed in travis:

      after_script:
        - export PATH=/tmp/texlive/bin/x86_64-linux:$PATH
        - tlmgr list --only-installed | grep -oP 'i \K.+?(?=:)'
      name: "Run texlive-test"

Update my fork to your repository and I added some small changes, give me your opinion and if this correct I will do a pull request.
PS: Anyway, the best way to create the dependency list is to use "Trigger a custom build" and repeat until everything is installed correctly.

@PHPirates
Copy link
Owner

LaTeX tools will never be perfect, but we try to get as close as we can 😄

That will be useful, but I would prefer it if we do that the other way around, first you make a pull request and then I can approve the changes ;)

Good one, forgot about that. I think they didn't even have that custom build feature yet when I started using Travis. I just put a note for that in the Troubleshooting section.

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

Successfully merging this pull request may close these issues.

2 participants