Closed Astrinus closed 9 years ago
Thank you and welcome to github!
Could you please describe what this does exactly (maybe with images) and if this changes the existing behaviour? On 17 Feb 2015 21:09, "Astrinus" notifications@github.com wrote:
Shaded entries have a first part not shaded.
You can view, comment on, or merge this pull request online at:
https://github.com/raphink/moderntimeline/pull/7 Commit Summary
- Update moderntimeline.dtx
File Changes
- M moderntimeline.dtx https://github.com/raphink/moderntimeline/pull/7/files#diff-0 (23)
Patch Links:
- https://github.com/raphink/moderntimeline/pull/7.patch
- https://github.com/raphink/moderntimeline/pull/7.diff
— Reply to this email directly or view it on GitHub https://github.com/raphink/moderntimeline/pull/7.
Also, it seems that the change breaks the tests. See https://travis-ci.org/raphink/moderntimeline/builds/51128930 On 17 Feb 2015 21:22, "Raphaël Pinson" raphink@gmail.com wrote:
Thank you and welcome to github!
Could you please describe what this does exactly (maybe with images) and if this changes the existing behaviour? On 17 Feb 2015 21:09, "Astrinus" notifications@github.com wrote:
Shaded entries have a first part not shaded.
You can view, comment on, or merge this pull request online at:
https://github.com/raphink/moderntimeline/pull/7 Commit Summary
- Update moderntimeline.dtx
File Changes
- M moderntimeline.dtx https://github.com/raphink/moderntimeline/pull/7/files#diff-0 (23)
Patch Links:
- https://github.com/raphink/moderntimeline/pull/7.patch
- https://github.com/raphink/moderntimeline/pull/7.diff
— Reply to this email directly or view it on GitHub https://github.com/raphink/moderntimeline/pull/7.
It doesn't change the existing behaviour. It simply changes slightly the appearance of the bars. The shading goes for 40% to 100% of the bar length instead of 0%-100%, in some cases (especially if the base color is dark) it is rendered better.
OK. Maybe this 0.4 value could become a parameter, so it would be backwards compatible and allow users to fine tube the rendering.
I have created a new macro, \tlsetnotshadedfraction, and updated my branch. This is the first time I use Git, so I don't know if I should make another pull request.
That looks good, thanks. Now we just need to figure out why the Travis build is failing...
Are you able to run the following successfully?
$ make moderntimeline.pdf && make check
Congrats on starting with git :+1:
Well... I didn't know there was a CheckSum line in the .dtx :-$
And I didn't know about pdf_spec.rb... By the way, one of the failures pertains the last check: I have commented it out, but I don't know Ruby or how rspec works.
Yes, it adds a new page (description of \tlsetnoshadedfraction causes text to overflow) and I don't know why the title error arises, since the file looks good being opened with Okular...
Makes sense for the number of pages. However the title issue is strange. I'll have to try it and see why it fails.
Merged as 7299b89aab4b8e8fe2486ac0ae52b609b261ae07, thank you.
Released as 0.8
Shaded entries have a first part not shaded.