git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* use case: keep the output of a markup (TeX) file under revision control
@ 2011-02-17 10:37 Paul Menzel
  2011-02-17 12:03 ` Stefan Naewe
  2011-02-17 12:19 ` Jakub Narebski
  0 siblings, 2 replies; 6+ messages in thread
From: Paul Menzel @ 2011-02-17 10:37 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 1079 bytes --]

Dear Git folks,


(Please CC me when replying since I am not subscribed.)

I have the following use case and need an advise from you professionals.

A friend and I are writing a paper using TeX¹ and keep the files under
revision control using Git. This works fine so far. But I want to also
have the output (PDF) of the markup file under revision control to be
able to access the PDF files even if for example no TeX installation is
available on a system.

The problem now is, since the output is no plain text file, that
merging/rebasing always shows conflicts which Git, of course, cannot
solve.

Is there a way to set that up so that there are no conflicts? Would a
pre-commit hook work which generates the PDF file prior to committing?
And if no TeX installation is available it would just ignore the PDF
files?

I could not find anything on the Web because having PDF as search string
would just show up how to generate documentation about Git.


Thanks,

Paul


¹ Actually it is ConTeXt [1].

[1] http://wiki.contextgarden.net/Main_Page

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-02-18  6:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-17 10:37 use case: keep the output of a markup (TeX) file under revision control Paul Menzel
2011-02-17 12:03 ` Stefan Naewe
2011-02-17 19:51   ` Paul Menzel
2011-02-18  6:59     ` Stefan Naewe
2011-02-17 12:19 ` Jakub Narebski
2011-02-17 12:27   ` Stefan Naewe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).