Re: [fossil-users] PDF as embedded documentation
On Fri, Jan 20, 2012 at 5:40 PM, Tomek Kott tkott.s...@gmail.com wrote: Hi Matt, Would you mind sharing that make file? I'm starting a project with Lyx myself, and that solution seems pretty great! Well there isn't much to it, it may well not work for more complex documents: all : html/megatest.html megatest.lyx html/megatest.html : megatest.lyx rm -rf megatest.html.LyXconv lyx -e html megatest.lyx cp megatest.html.LyXconv/* html/ fossil add html/* megatest.pdf : megatest.lyx lyx -e pdf megatest.lyx I thought the embedded docs do preserve the fossil header (such as the landing page of fossil-scm.org, which is an 'embedded' doc, at least how I understood the term.) Are we thinking of different headers / embedded docs? Well in my case when you click on the link to the embedded documentation (the output from lyx in this case) the fossil heading, menu etc. goes away. I may not have it set up optimally however. Thanks, Tomek On Fri, Jan 20, 2012 at 7:28 PM, Matt Welland estifo...@gmail.com wrote: I have been doing exactly the same thing. A LaTeX (lyx) document plus a make file that writes out html and a pdf and it seems to work great. I suppose it may depend on just how much in the way of hard to compress pictures comprise your document. I do wish there was a way with the embedded documentation to preserve the fossil header and display the html but that is a very minor thing. On Fri, Jan 20, 2012 at 5:22 PM, Guilherme P. de Freitas guilhe...@gpfreitas.com wrote: ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] PDF as embedded documentation
On Fri, Jan 20, 2012 at 11:46 PM, Bill Burdick bill.burd...@gmail.com wrote: My guess is that you will be better off generating a non-compressed PDF to reduce repository bloat, if you think that you will be changing it a lot, because Fossil can do better diff compression that way. The downside would be that the PDFs will be bigger (of course). That is something I hadn't considered. Thanks. -- Guilherme P. de Freitas http://www.gpfreitas.com ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] PDF as embedded documentation
Hi everyone, First, thanks to everyone that has worked on Fossil. It is very, very useful to me. I'd like to keep a PDF as embedded documentation (this is a LaTeX project). Is it possible to do so without bloating the repository too much? Thanks, Guilherme -- Guilherme P. de Freitas http://www.gpfreitas.com ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] PDF as embedded documentation
I have been doing exactly the same thing. A LaTeX (lyx) document plus a make file that writes out html and a pdf and it seems to work great. I suppose it may depend on just how much in the way of hard to compress pictures comprise your document. I do wish there was a way with the embedded documentation to preserve the fossil header and display the html but that is a very minor thing. On Fri, Jan 20, 2012 at 5:22 PM, Guilherme P. de Freitas guilhe...@gpfreitas.com wrote: ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] PDF as embedded documentation
Hi Matt, Would you mind sharing that make file? I'm starting a project with Lyx myself, and that solution seems pretty great! I thought the embedded docs do preserve the fossil header (such as the landing page of fossil-scm.org, which is an 'embedded' doc, at least how I understood the term.) Are we thinking of different headers / embedded docs? Thanks, Tomek On Fri, Jan 20, 2012 at 7:28 PM, Matt Welland estifo...@gmail.com wrote: I have been doing exactly the same thing. A LaTeX (lyx) document plus a make file that writes out html and a pdf and it seems to work great. I suppose it may depend on just how much in the way of hard to compress pictures comprise your document. I do wish there was a way with the embedded documentation to preserve the fossil header and display the html but that is a very minor thing. On Fri, Jan 20, 2012 at 5:22 PM, Guilherme P. de Freitas guilhe...@gpfreitas.com wrote: ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] PDF as embedded documentation
Hi everyone, Thanks for your answers, but the question is: won't that bloat the repository too much? -- Guilherme P. de Freitas http://www.gpfreitas.com ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] PDF as embedded documentation
Sorry, I think the answer to that is it depends. For example do you care about having a small repository? Are you worried about corruption? For me, I wouldn't think twice about it. Even a thousand commits, each with their own pdf of even 1MB is still only 1GB. Unless these are big PDF's, I wouldn't worry about it too much. Then again, I have no direct experience in this regard. I've used fossil for LabView programming, the files for which are binary and I don't think very compressible. But even 866 files taking up 40 MB, with about 100 commits, some of which change a large minority of files, the fossil repo is still only 400 MB. I wouldn't call that bloated, but YMMV. Tomek On Fri, Jan 20, 2012 at 7:46 PM, Guilherme P. de Freitas guilhe...@gpfreitas.com wrote: Hi everyone, Thanks for your answers, but the question is: won't that bloat the repository too much? -- Guilherme P. de Freitas http://www.gpfreitas.com ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] PDF as embedded documentation
My guess is that you will be better off generating a non-compressed PDF to reduce repository bloat, if you think that you will be changing it a lot, because Fossil can do better diff compression that way. The downside would be that the PDFs will be bigger (of course). Bill On Sat, Jan 21, 2012 at 3:03 AM, Tomek Kott tkott.s...@gmail.com wrote: Sorry, I think the answer to that is it depends. For example do you care about having a small repository? Are you worried about corruption? For me, I wouldn't think twice about it. Even a thousand commits, each with their own pdf of even 1MB is still only 1GB. Unless these are big PDF's, I wouldn't worry about it too much. Then again, I have no direct experience in this regard. I've used fossil for LabView programming, the files for which are binary and I don't think very compressible. But even 866 files taking up 40 MB, with about 100 commits, some of which change a large minority of files, the fossil repo is still only 400 MB. I wouldn't call that bloated, but YMMV. Tomek On Fri, Jan 20, 2012 at 7:46 PM, Guilherme P. de Freitas guilhe...@gpfreitas.com wrote: Hi everyone, Thanks for your answers, but the question is: won't that bloat the repository too much? -- Guilherme P. de Freitas http://www.gpfreitas.com ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users