Subject: Re: [boost] Line endings fixes
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2013-08-10 04:55:24
> -----Original Message-----
> From: Boost [mailto:boost-bounces_at_[hidden]] On Behalf Of Vitaly Budovski
> Sent: Saturday, August 10, 2013 5:57 AM
> To: boost_at_[hidden]
> Subject: Re: [boost] Line endings fixes
> On 10 August 2013 00:39, Niall Douglas <ndouglas_at_[hidden]> wrote:
> > If it is the original SVN which is in error, it could be that SVN fixes it up on checkout and
> never noticed it before. That implies the need for a tool which can grok the SVN repo directly for
> mismatched EOLs.
> > Niall
> Niall, the issue is that SVN treats most SVG files as binary currently. As far as I'm aware, it
does not fix
> anything up on checkout. If someone was to try and regenerate those particular files on a system
> different line endings then SVN will flag those files as having been modified. The proper fix
would be to
> correct the mime-type and line endings in the SVN properties. If a file needs to be rendered in a
> format on the webpage then the webserver should handle the appropriate mime-type setting.
> The best option in my opinion would simply be not to store any generated files in the repository
> have the potential of getting out of sync with the source as well as bloating the size of the
I'm confused, but does it help you to know that the many SVG files for Booth.Math are generated by a
C++ program that we run.
This program writes html and end of line as std::endl;.
These SVG files are used to generate the PDF version of Boost.Math docs (because using PNG produces
very poor display).
These SVG files are also converted to PNG for the html version.
(We'd like to use the SVG for PNG because they are much higher quality (and the conversion is a
tiresome nuisance), but some browsers still in use don't support SVG :-( )
(Mentioning no names, but you can guess who I am getting at...)
So eventually we'd like to be able to switch to displaying the SVG versions from html.
--- Paul A. Bristow, Prizet Farmhouse, Kendal LA8 8AB UK +44 1539 561830 07714330204 pbristow_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk