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

Ignore template top level tex file. #116

Merged
merged 1 commit into from Aug 22, 2014

Conversation

Projects
None yet
3 participants
@cirosantilli
Copy link
Contributor

commented Aug 16, 2014

Ignore the filename.tex file on the toplevel of the template, as it is an output file generated from data on Book.txt and config/book.yml on sc build. Use glob because the exact filename is determined in config/book.yml and could be anything.

@coveralls

This comment has been minimized.

Copy link

commented Aug 16, 2014

Coverage Status

Coverage remained the same when pulling 41926ef on cirosantilli:ignore-toplevel into a0edb82 on softcover:master.

@coveralls

This comment has been minimized.

Copy link

commented Aug 16, 2014

Coverage Status

Coverage remained the same when pulling df074c0 on cirosantilli:ignore-toplevel into a0edb82 on softcover:master.

@mhartl

This comment has been minimized.

Copy link
Contributor

commented Aug 22, 2014

This won't work for über-power users who use raw PolyTeX and bypass Book.txt entirely, but they can put .tex under version control by hand. I agree that the proposed addition is a sensible default.

@mhartl mhartl closed this Aug 22, 2014

@mhartl mhartl reopened this Aug 22, 2014

mhartl added a commit that referenced this pull request Aug 22, 2014

Merge pull request #116 from cirosantilli/ignore-toplevel
Ignore template top level tex file.

@mhartl mhartl merged commit a74ccae into softcover:master Aug 22, 2014

1 check failed

continuous-integration/travis-ci The Travis CI build failed
Details

@cirosantilli cirosantilli deleted the cirosantilli:ignore-toplevel branch Aug 22, 2014

@cirosantilli

This comment has been minimized.

Copy link
Contributor Author

commented Aug 22, 2014

@mhartl Ah, I didn't know you could bypass it with PolyTeX. Actually, I'm quite interested in doing that since I want to compile a single PolyTeX input file into both PDF and HTML, but I couldn't find it documented. How can it be done? In particular, how to prevent Softcover from overwriting the hand edited file?

@mhartl

This comment has been minimized.

Copy link
Contributor

commented Aug 22, 2014

This is actually covered in the stub Chapter 6 of the manual:

Advanced users can remove Book.txt and edit <book name>.tex directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.