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

cirosantilli
Copy link
Contributor

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
Copy link

Coverage Status

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

@coveralls
Copy link

Coverage Status

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

@mhartl
Copy link
Contributor

mhartl 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
Ignore template top level tex file.
@mhartl mhartl merged commit a74ccae into softcover:master Aug 22, 2014
@cirosantilli cirosantilli deleted the ignore-toplevel branch August 22, 2014 06:49
@cirosantilli
Copy link
Contributor Author

@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
Copy link
Contributor

mhartl 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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants