PreTeXtBook / pretext

PreTeXt: an authoring and publishing system for scholarly documents
https://pretextbook.org
Other
266 stars 208 forks source link

Fine-tune side-by-side CSS #387

Closed rbeezer closed 7 years ago

rbeezer commented 8 years ago

(Enough time wasted fighting Markdown - sorry)

Live example of debug-marked side-by-side at:

http://mathbook.pugetsound.edu/beta/sbs-only-add-on/section-side-by-side.html

This includes non-public code to not write out totally empty "sbsrow".

  1. Figure 22.1, "figcaption" (a), inside a "chocolate" box, if I uncheck
"margin: 0 auto" in mathbook-3.css:4447 .mathbook-content figcaption

then it behaves as I think it should (but of course, the necessary change might be different). Every other chocolate box also corrects itself

.mathbook-content .sidebyside figcaption mathbook-add-on.css:240

removing "padding-top: 20px" helps

  1. Figures 22.4, 22.5, 22.6
    • Purple = .sidebyside, There seems to be consistent vertical space at the bottom within the purple box(which I can't locate)
    • Green = .sbsrow, The sbsrow holding the captions, the space above the chocolate figcaption boxes. Could this be reduced some?
  2. Look at the titles of the poems in 22.11
Yellow = .sbsheader .h5

If I set

.mathbook-content h5  "margin-top: 0"

I get the desired look. Perhaps an h5 is inappropriate - happy to change.

davidfarmer commented 8 years ago

I think I fixed all of these: please check.

In the poems, .poem gets a small left margin (which maybe arises from centering?), and .stanza gets no left margin (unless it is wrapped in a poem).

The way it is now doesn't look right to me, but I'd like to see a few more real examples before suggesting how to change it. Maybe just ignore for now.

One of the changes may have messed up how sidebysides interact with the following text, or possibly the case of consecutive sidebysides. If you can look at some other examples, please let me know if something seems amiss.

David

On Sat, 10 Sep 2016, Rob Beezer wrote:

(Enough time wasted fighting Markdown - sorry)

Live example of debug-marked side-by-side at:

http://mathbook.pugetsound.edu/beta/sbs-only-add-on/section-side-by-side.html

This includes non-public code to not write out totally empty "sbsrow".

  1. Figure 22.1, "figcaption" (a), inside a "chocolate" box, if I uncheck

"margin: 0 auto" in mathbook-3.css:4447 .mathbook-content figcaption

then it behaves as I think it should (but of course, the necessary change might be different). Every other chocolate box also corrects itself

1.

.mathbook-content .sidebyside figcaption mathbook-add-on.css:240

removing "padding-top: 20px" helps

1.

Figures 22.4, 22.5, 22.6

 +  Purple = .sidebyside, There seems to be consistent vertical space at the bottom within
    the purple box(which I can't locate)
 +  Green = .sbsrow, The sbsrow holding the captions, the space above the chocolate
    figcaption boxes. Could this be reduced some?

2.

Look at the titles of the poems in XXXX

Yellow = .sbsheader .h5

If I set

.mathbook-content h5 "margin-top: 0"

I get the desired look. Perhaps an h5 is inappropriate - happy to change.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LGNGskRel2zvQD8GkWarZekjARMoks5qow_MgaJpZM4J50L8.gif]

rbeezer commented 8 years ago

Everything looks great! Consecutive sbs look good next to each other, and spacing within, and without, all look good. I checked it all out with the sbs.debug option on.

Captions on Figures elsewhere look to be flush left now - I expect we'll get comments on that?

Does the poem behavior have anything to do with the presence or absence of an author? I can't quite tell exactly what is going on (and therefore, not too concerned).

Thanks for the work on this one.

Rob

On 09/12/2016 07:42 PM, davidfarmer wrote:

I think I fixed all of these: please check.

In the poems, .poem gets a small left margin (which maybe arises from centering?), and .stanza gets no left margin (unless it is wrapped in a poem).

The way it is now doesn't look right to me, but I'd like to see a few more real examples before suggesting how to change it. Maybe just ignore for now.

One of the changes may have messed up how sidebysides interact with the following text, or possibly the case of consecutive sidebysides. If you can look at some other examples, please let me know if something seems amiss.

David

On Sat, 10 Sep 2016, Rob Beezer wrote:

(Enough time wasted fighting Markdown - sorry)

Live example of debug-marked side-by-side at:

http://mathbook.pugetsound.edu/beta/sbs-only-add-on/section-side-by-side.html

This includes non-public code to not write out totally empty "sbsrow".

  1. Figure 22.1, "figcaption" (a), inside a "chocolate" box, if I uncheck

"margin: 0 auto" in mathbook-3.css:4447 .mathbook-content figcaption

then it behaves as I think it should (but of course, the necessary change might be different). Every other chocolate box also corrects itself

1.

.mathbook-content .sidebyside figcaption mathbook-add-on.css:240

removing "padding-top: 20px" helps

1.

Figures 22.4, 22.5, 22.6

  • Purple = .sidebyside, There seems to be consistent vertical space at the bottom within the purple box(which I can't locate)
  • Green = .sbsrow, The sbsrow holding the captions, the space above the chocolate figcaption boxes. Could this be reduced some? 2.

Look at the titles of the poems in XXXX

Yellow = .sbsheader .h5

If I set

.mathbook-content h5 "margin-top: 0"

I get the desired look. Perhaps an h5 is inappropriate - happy to change.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LGNGskRel2zvQD8GkWarZekjARMoks5qow_MgaJpZM4J50L8.gif]

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/387#issuecomment-246557240, or mute the thread https://github.com/notifications/unsubscribe-auth/ABy2cuFc4A6UYWnO9rephX04axkWCD71ks5qpg2xgaJpZM4J50L8.

davidfarmer commented 8 years ago

"Captions on Figures elsewhere look to be flush left now

This is not a change from yesterday (reload, because I have made some more changes.)

Compare Figure 5.2: http://spot.pcc.edu/math/APEXCalculus/sec_derivative.html

With Figure 2.1.12: http://mathbook.pugetsound.edu/beta/sbs-only-add-on/section-5.html

Alex has a width: 50% in apex.css We need to discuss the right way to handle this.

On Mon, 12 Sep 2016, Rob Beezer wrote:

Everything looks great! Consecutive sbs look good next to each other, and spacing within, and without, all look good. I checked it all out with the sbs.debug option on.

Captions on Figures elsewhere look to be flush left now - I expect we'll get comments on that?

Does the poem behavior have anything to do with the presence or absence of an author? I can't quite tell exactly what is going on (and therefore, not too concerned).

Thanks for the work on this one.

Rob

On 09/12/2016 07:42 PM, davidfarmer wrote:

I think I fixed all of these: please check.

In the poems, .poem gets a small left margin (which maybe arises from centering?), and .stanza gets no left margin (unless it is wrapped in a poem).

The way it is now doesn't look right to me, but I'd like to see a few more real examples before suggesting how to change it. Maybe just ignore for now.

One of the changes may have messed up how sidebysides interact with the following text, or possibly the case of consecutive sidebysides. If you can look at some other examples, please let me know if something seems amiss.

David

On Sat, 10 Sep 2016, Rob Beezer wrote:

(Enough time wasted fighting Markdown - sorry)

Live example of debug-marked side-by-side at:

http://mathbook.pugetsound.edu/beta/sbs-only-add-on/section-side-by-side.html

This includes non-public code to not write out totally empty "sbsrow".

  1. Figure 22.1, "figcaption" (a), inside a "chocolate" box, if I uncheck

"margin: 0 auto" in mathbook-3.css:4447 .mathbook-content figcaption

then it behaves as I think it should (but of course, the necessary change might be different). Every other chocolate box also corrects itself

1.

.mathbook-content .sidebyside figcaption mathbook-add-on.css:240

removing "padding-top: 20px" helps

1.

Figures 22.4, 22.5, 22.6

  • Purple = .sidebyside, There seems to be consistent vertical space at the bottom within the purple box(which I can't locate)
  • Green = .sbsrow, The sbsrow holding the captions, the space above the chocolate figcaption boxes. Could this be reduced some? 2.

Look at the titles of the poems in XXXX

Yellow = .sbsheader .h5

If I set

.mathbook-content h5 "margin-top: 0"

I get the desired look. Perhaps an h5 is inappropriate - happy to change.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LGNGskRel2zvQD8GkWarZekjARMoks5qow_MgaJpZM4J50L8.gif]

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/387#issuecomment-246557240, or mute the thread https://github.com/notifications/unsubscribe-auth/ABy2cuFc4A6UYWnO9rephX04axkWCD71ks5qpg2xgaJ pZM4J50L8.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LN4zmCJQXB-aBrz-micyvei6kTfWks5qphnmgaJpZM4J50L8.gif]

Alex-Jordan commented 8 years ago

I'm not treating widths in APEX seriously yet until we decide on some sort of standard. I don't want to hard code widths="48% 48%" or anything like that until there is some kind of discussion.

On Tue, Sep 13, 2016 at 4:18 AM, davidfarmer notifications@github.com wrote:

"Captions on Figures elsewhere look to be flush left now

  • I expect we'll get comments on that?"

This is not a change from yesterday (reload, because I have made some more changes.)

Compare Figure 5.2: http://spot.pcc.edu/math/APEXCalculus/sec_derivative.html

With Figure 2.1.12: http://mathbook.pugetsound.edu/beta/sbs-only-add-on/section-5.html

Alex has a width: 50% in apex.css We need to discuss the right way to handle this.

On Mon, 12 Sep 2016, Rob Beezer wrote:

Everything looks great! Consecutive sbs look good next to each other, and spacing within, and without, all look good. I checked it all out with the sbs.debug option on.

Captions on Figures elsewhere look to be flush left now - I expect we'll get comments on that?

Does the poem behavior have anything to do with the presence or absence of an author? I can't quite tell exactly what is going on (and therefore, not too concerned).

Thanks for the work on this one.

Rob

On 09/12/2016 07:42 PM, davidfarmer wrote:

I think I fixed all of these: please check.

In the poems, .poem gets a small left margin (which maybe arises from centering?), and .stanza gets no left margin (unless it is wrapped in a poem).

The way it is now doesn't look right to me, but I'd like to see a few more real examples before suggesting how to change it. Maybe just ignore for now.

One of the changes may have messed up how sidebysides interact with the following text, or possibly the case of consecutive sidebysides. If you can look at some other examples, please let me know if something seems amiss.

David

On Sat, 10 Sep 2016, Rob Beezer wrote:

(Enough time wasted fighting Markdown - sorry)

Live example of debug-marked side-by-side at:

http://mathbook.pugetsound.edu/beta/sbs-only-add-on/ section-side-by-side.html

This includes non-public code to not write out totally empty "sbsrow".

  1. Figure 22.1, "figcaption" (a), inside a "chocolate" box, if I uncheck

"margin: 0 auto" in mathbook-3.css:4447 .mathbook-content figcaption

then it behaves as I think it should (but of course, the necessary change might be different). Every other chocolate box also corrects itself

1.

.mathbook-content .sidebyside figcaption mathbook-add-on.css:240

removing "padding-top: 20px" helps

1.

Figures 22.4, 22.5, 22.6

  • Purple = .sidebyside, There seems to be consistent vertical space at the bottom within the purple box(which I can't locate)
  • Green = .sbsrow, The sbsrow holding the captions, the space above the chocolate figcaption boxes. Could this be reduced some? 2.

Look at the titles of the poems in XXXX

Yellow = .sbsheader .h5

If I set

.mathbook-content h5 "margin-top: 0"

I get the desired look. Perhaps an h5 is inappropriate - happy to change.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LGNGskRel2zvQD8GkWarZekjARMoks5qow_MgaJpZM4J50L8.gif]

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/387#issuecomment-246557240, or mute the thread https://github.com/notifications/unsubscribe-auth/ ABy2cuFc4A6UYWnO9rephX04axkWCD71ks5qpg2xgaJ pZM4J50L8.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LN4zmCJQXB-aBrz-micyvei6kTfWks5qphnmgaJpZM4J50L8.gif]

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/387#issuecomment-246650406, or mute the thread https://github.com/notifications/unsubscribe-auth/AEg3AEgfjlsyIMmDIaeU8dza4ajevAzfks5qpoZrgaJpZM4J50L8 .

Alex Jordan Mathematics Instructor Portland Community College

rbeezer commented 8 years ago

There is discussion about scaling images.

The only place width="48% 48%" shows up (I think) is in specifying side-by-side panels.

So I am confused by this remark. Which widths are you talking about?

On 09/13/2016 10:10 AM, Alex Jordan wrote:

I'm not treating widths in APEX seriously yet until we decide on some sort of standard. I don't want to hard code widths="48% 48%" or anything like that until there is some kind of discussion.

On Tue, Sep 13, 2016 at 4:18 AM, davidfarmer notifications@github.com wrote:

"Captions on Figures elsewhere look to be flush left now

  • I expect we'll get comments on that?"

This is not a change from yesterday (reload, because I have made some more changes.)

Compare Figure 5.2: http://spot.pcc.edu/math/APEXCalculus/sec_derivative.html

With Figure 2.1.12: http://mathbook.pugetsound.edu/beta/sbs-only-add-on/section-5.html

Alex has a width: 50% in apex.css We need to discuss the right way to handle this.

On Mon, 12 Sep 2016, Rob Beezer wrote:

Everything looks great! Consecutive sbs look good next to each other, and spacing within, and without, all look good. I checked it all out with the sbs.debug option on.

Captions on Figures elsewhere look to be flush left now - I expect we'll get comments on that?

Does the poem behavior have anything to do with the presence or absence of an author? I can't quite tell exactly what is going on (and therefore, not too concerned).

Thanks for the work on this one.

Rob

On 09/12/2016 07:42 PM, davidfarmer wrote:

I think I fixed all of these: please check.

In the poems, .poem gets a small left margin (which maybe arises from centering?), and .stanza gets no left margin (unless it is wrapped in a poem).

The way it is now doesn't look right to me, but I'd like to see a few more real examples before suggesting how to change it. Maybe just ignore for now.

One of the changes may have messed up how sidebysides interact with the following text, or possibly the case of consecutive sidebysides. If you can look at some other examples, please let me know if something seems amiss.

David

On Sat, 10 Sep 2016, Rob Beezer wrote:

(Enough time wasted fighting Markdown - sorry)

Live example of debug-marked side-by-side at:

http://mathbook.pugetsound.edu/beta/sbs-only-add-on/ section-side-by-side.html

This includes non-public code to not write out totally empty "sbsrow".

  1. Figure 22.1, "figcaption" (a), inside a "chocolate" box, if I uncheck

"margin: 0 auto" in mathbook-3.css:4447 .mathbook-content figcaption

then it behaves as I think it should (but of course, the necessary change might be different). Every other chocolate box also corrects itself

1.

.mathbook-content .sidebyside figcaption mathbook-add-on.css:240

removing "padding-top: 20px" helps

1.

Figures 22.4, 22.5, 22.6

  • Purple = .sidebyside, There seems to be consistent vertical space at the bottom within the purple box(which I can't locate)
  • Green = .sbsrow, The sbsrow holding the captions, the space above the chocolate figcaption boxes. Could this be reduced some? 2.

Look at the titles of the poems in XXXX

Yellow = .sbsheader .h5

If I set

.mathbook-content h5 "margin-top: 0"

I get the desired look. Perhaps an h5 is inappropriate - happy to change.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LGNGskRel2zvQD8GkWarZekjARMoks5qow_MgaJpZM4J50L8.gif]

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/387#issuecomment-246557240, or mute the thread https://github.com/notifications/unsubscribe-auth/ ABy2cuFc4A6UYWnO9rephX04axkWCD71ks5qpg2xgaJ pZM4J50L8.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LN4zmCJQXB-aBrz-micyvei6kTfWks5qphnmgaJpZM4J50L8.gif]

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/387#issuecomment-246650406, or mute the thread

https://github.com/notifications/unsubscribe-auth/AEg3AEgfjlsyIMmDIaeU8dza4ajevAzfks5qpoZrgaJpZM4J50L8 .

Alex Jordan Mathematics Instructor Portland Community College

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/387#issuecomment-246753197, or mute the thread https://github.com/notifications/unsubscribe-auth/ABy2cv7bXaYLt59nb6iTjhMIxMnzKV07ks5qptj9gaJpZM4J50L8.

davidfarmer commented 8 years ago

There is an apex.css, hosted by Alex, that has width: 50% .

That is why the image captions are centered in APEX html, but not in the sample article.

On Wed, 14 Sep 2016, Rob Beezer wrote:

There is discussion about scaling images.

The only place width="48% 48%" shows up (I think) is in specifying side-by-side panels.

So I am confused by this remark. Which widths are you talking about?

On 09/13/2016 10:10 AM, Alex Jordan wrote:

I'm not treating widths in APEX seriously yet until we decide on some sort of standard. I don't want to hard code widths="48% 48%" or anything like that until there is some kind of discussion.

On Tue, Sep 13, 2016 at 4:18 AM, davidfarmer notifications@github.com wrote:

"Captions on Figures elsewhere look to be flush left now

  • I expect we'll get comments on that?"

This is not a change from yesterday (reload, because I have made some more changes.)

Compare Figure 5.2: http://spot.pcc.edu/math/APEXCalculus/sec_derivative.html

With Figure 2.1.12: http://mathbook.pugetsound.edu/beta/sbs-only-add-on/section-5.html

Alex has a width: 50% in apex.css We need to discuss the right way to handle this.

On Mon, 12 Sep 2016, Rob Beezer wrote:

Everything looks great! Consecutive sbs look good next to each other, and spacing within, and without, all look good. I checked it all out with the sbs.debug option on.

Captions on Figures elsewhere look to be flush left now - I expect we'll get comments on that?

Does the poem behavior have anything to do with the presence or absence of an author? I can't quite tell exactly what is going on (and therefore, not too concerned).

Thanks for the work on this one.

Rob

On 09/12/2016 07:42 PM, davidfarmer wrote:

I think I fixed all of these: please check.

In the poems, .poem gets a small left margin (which maybe arises from centering?), and .stanza gets no left margin (unless it is wrapped in a poem).

The way it is now doesn't look right to me, but I'd like to see a few more real examples before suggesting how to change it. Maybe just ignore for now.

One of the changes may have messed up how sidebysides interact with the following text, or possibly the case of consecutive sidebysides. If you can look at some other examples, please let me know if something seems amiss.

David

On Sat, 10 Sep 2016, Rob Beezer wrote:

(Enough time wasted fighting Markdown - sorry)

Live example of debug-marked side-by-side at:

http://mathbook.pugetsound.edu/beta/sbs-only-add-on/ section-side-by-side.html

This includes non-public code to not write out totally empty "sbsrow".

  1. Figure 22.1, "figcaption" (a), inside a "chocolate" box, if I uncheck

"margin: 0 auto" in mathbook-3.css:4447 .mathbook-content figcaption

then it behaves as I think it should (but of course, the necessary change might be different). Every other chocolate box also corrects itself

1.

.mathbook-content .sidebyside figcaption mathbook-add-on.css:240

removing "padding-top: 20px" helps

1.

Figures 22.4, 22.5, 22.6

  • Purple = .sidebyside, There seems to be consistent vertical space at the bottom within the purple box(which I can't locate)
  • Green = .sbsrow, The sbsrow holding the captions, the space above the chocolate figcaption boxes. Could this be reduced some? 2.

Look at the titles of the poems in XXXX

Yellow = .sbsheader .h5

If I set

.mathbook-content h5 "margin-top: 0"

I get the desired look. Perhaps an h5 is inappropriate - happy to change.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LGNGskRel2zvQD8GkWarZekjARMoks5qow_MgaJpZM4J50L8.gif]

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/387#issuecomment-246557240, or mute the thread https://github.com/notifications/unsubscribe-auth/ ABy2cuFc4A6UYWnO9rephX04axkWCD71ks5qpg2xgaJ pZM4J50L8.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LN4zmCJQXB-aBrz-micyvei6kTfWks5qphnmgaJpZM4J50L8.gif]

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/387#issuecomment-246650406, or mute the thread

https://github.com/notifications/unsubscribe-auth/AEg3AEgfjlsyIMmDIaeU8dza4ajevAzfks5qpoZrgaJ pZM4J50L8 .

Alex Jordan Mathematics Instructor Portland Community College

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/387#issuecomment-246753197, or mute the thread https://github.com/notifications/unsubscribe-auth/ABy2cv7bXaYLt59nb6iTjhMIxMnzKV07ks5qptj9gaJ pZM4J50L8.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LF81E8VyIFtYLE_y5JLajGOvCCgmks5qqA-vgaJpZM4J50L8.gif]

Alex-Jordan commented 8 years ago

I can remove that CSS. The motivation is that I would like two-panel sbs figures/images (which may ultimately have widths="48% 48%" or something like that) to have the same width as a single figure/image. I was cheating to use CSS to scale all figure/images instead of writing a width into the source (yet).

On Wed, Sep 14, 2016 at 8:22 AM, davidfarmer notifications@github.com wrote:

There is an apex.css, hosted by Alex, that has width: 50% .

That is why the image captions are centered in APEX html, but not in the sample article.

On Wed, 14 Sep 2016, Rob Beezer wrote:

There is discussion about scaling images.

The only place width="48% 48%" shows up (I think) is in specifying side-by-side panels.

So I am confused by this remark. Which widths are you talking about?

On 09/13/2016 10:10 AM, Alex Jordan wrote:

I'm not treating widths in APEX seriously yet until we decide on some sort of standard. I don't want to hard code widths="48% 48%" or anything like that until there is some kind of discussion.

On Tue, Sep 13, 2016 at 4:18 AM, davidfarmer <notifications@github.com

wrote:

"Captions on Figures elsewhere look to be flush left now

  • I expect we'll get comments on that?"

This is not a change from yesterday (reload, because I have made some more changes.)

Compare Figure 5.2: http://spot.pcc.edu/math/APEXCalculus/sec_derivative.html

With Figure 2.1.12: http://mathbook.pugetsound.edu/beta/sbs-only-add-on/section-5.html

Alex has a width: 50% in apex.css We need to discuss the right way to handle this.

On Mon, 12 Sep 2016, Rob Beezer wrote:

Everything looks great! Consecutive sbs look good next to each other, and spacing within, and without, all look good. I checked it all out with the sbs.debug option on.

Captions on Figures elsewhere look to be flush left now - I expect we'll get comments on that?

Does the poem behavior have anything to do with the presence or absence of an author? I can't quite tell exactly what is going on (and therefore, not too concerned).

Thanks for the work on this one.

Rob

On 09/12/2016 07:42 PM, davidfarmer wrote:

I think I fixed all of these: please check.

In the poems, .poem gets a small left margin (which maybe arises from centering?), and .stanza gets no left margin (unless it is wrapped in a poem).

The way it is now doesn't look right to me, but I'd like to see a few more real examples before suggesting how to change it. Maybe just ignore for now.

One of the changes may have messed up how sidebysides interact with the following text, or possibly the case of consecutive sidebysides. If you can look at some other examples, please let me know if something seems amiss.

David

On Sat, 10 Sep 2016, Rob Beezer wrote:

(Enough time wasted fighting Markdown - sorry)

Live example of debug-marked side-by-side at:

http://mathbook.pugetsound.edu/beta/sbs-only-add-on/ section-side-by-side.html

This includes non-public code to not write out totally empty "sbsrow".

  1. Figure 22.1, "figcaption" (a), inside a "chocolate" box, if I uncheck

"margin: 0 auto" in mathbook-3.css:4447 .mathbook-content figcaption

then it behaves as I think it should (but of course, the necessary change might be different). Every other chocolate box also corrects itself

1.

.mathbook-content .sidebyside figcaption mathbook-add-on.css:240

removing "padding-top: 20px" helps

1.

Figures 22.4, 22.5, 22.6

  • Purple = .sidebyside, There seems to be consistent vertical space at the bottom within the purple box(which I can't locate)
  • Green = .sbsrow, The sbsrow holding the captions, the space above the chocolate figcaption boxes. Could this be reduced some? 2.

Look at the titles of the poems in XXXX

Yellow = .sbsheader .h5

If I set

.mathbook-content h5 "margin-top: 0"

I get the desired look. Perhaps an h5 is inappropriate - happy to change.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LGNGskRel2zvQD8GkWarZekjAR Moks5qow_MgaJpZM4J50L8.gif]

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/387# issuecomment-246557240, or mute the thread https://github.com/notifications/unsubscribe-auth/ ABy2cuFc4A6UYWnO9rephX04axkWCD71ks5qpg2xgaJ pZM4J50L8.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LN4zmCJQXB-aBrz-micyvei6kTfWks5qphnmgaJpZM4J50L8.gif]

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/387# issuecomment-246650406, or mute the thread

https://github.com/notifications/unsubscribe-auth/ AEg3AEgfjlsyIMmDIaeU8dza4ajevAzfks5qpoZrgaJ pZM4J50L8 .

Alex Jordan Mathematics Instructor Portland Community College

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/387#issuecomment-246753197, or mute the thread https://github.com/notifications/unsubscribe-auth/ ABy2cv7bXaYLt59nb6iTjhMIxMnzKV07ks5qptj9gaJ pZM4J50L8.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LF81E8VyIFtYLE_y5JLajGOvCCgmks5qqA-vgaJpZM4J50L8.gif]

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/387#issuecomment-247049918, or mute the thread https://github.com/notifications/unsubscribe-auth/AEg3ANBXuzsYYaKtHji1vYtS9g7JUmFjks5qqBE8gaJpZM4J50L8 .

Alex Jordan Mathematics Instructor Portland Community College

davidfarmer commented 8 years ago

At least for debugging purposes, I'd prefer not to have an apex.css file. (And except for that width, it is already in the main css.)

I can add things to the main css as needed.

David

On Wed, 14 Sep 2016, Alex Jordan wrote:

I can remove that CSS. The motivation is that I would like two-panel sbs figures/images (which may ultimately have widths="48% 48%" or something like that) to have the same width as a single figure/image. I was cheating to use CSS to scale all figure/images instead of writing a width into the source (yet).

On Wed, Sep 14, 2016 at 8:22 AM, davidfarmer notifications@github.com wrote:

There is an apex.css, hosted by Alex, that has width: 50% .

That is why the image captions are centered in APEX html, but not in the sample article.

On Wed, 14 Sep 2016, Rob Beezer wrote:

There is discussion about scaling images.

The only place width="48% 48%" shows up (I think) is in specifying side-by-side panels.

So I am confused by this remark. Which widths are you talking about?

On 09/13/2016 10:10 AM, Alex Jordan wrote:

I'm not treating widths in APEX seriously yet until we decide on some sort of standard. I don't want to hard code widths="48% 48%" or anything like that until there is some kind of discussion.

On Tue, Sep 13, 2016 at 4:18 AM, davidfarmer <notifications@github.com

wrote:

"Captions on Figures elsewhere look to be flush left now

  • I expect we'll get comments on that?"

This is not a change from yesterday (reload, because I have made some more changes.)

Compare Figure 5.2: http://spot.pcc.edu/math/APEXCalculus/sec_derivative.html

With Figure 2.1.12: http://mathbook.pugetsound.edu/beta/sbs-only-add-on/section-5.html

Alex has a width: 50% in apex.css We need to discuss the right way to handle this.

On Mon, 12 Sep 2016, Rob Beezer wrote:

Everything looks great! Consecutive sbs look good next to each other, and spacing within, and without, all look good. I checked it all out with the sbs.debug option on.

Captions on Figures elsewhere look to be flush left now - I expect we'll get comments on that?

Does the poem behavior have anything to do with the presence or absence of an author? I can't quite tell exactly what is going on (and therefore, not too concerned).

Thanks for the work on this one.

Rob

On 09/12/2016 07:42 PM, davidfarmer wrote:

I think I fixed all of these: please check.

In the poems, .poem gets a small left margin (which maybe arises from centering?), and .stanza gets no left margin (unless it is wrapped in a poem).

The way it is now doesn't look right to me, but I'd like to see a few more real examples before suggesting how to change it. Maybe just ignore for now.

One of the changes may have messed up how sidebysides interact with the following text, or possibly the case of consecutive sidebysides. If you can look at some other examples, please let me know if something seems amiss.

David

On Sat, 10 Sep 2016, Rob Beezer wrote:

(Enough time wasted fighting Markdown - sorry)

Live example of debug-marked side-by-side at:

http://mathbook.pugetsound.edu/beta/sbs-only-add-on/ section-side-by-side.html

This includes non-public code to not write out totally empty "sbsrow".

  1. Figure 22.1, "figcaption" (a), inside a "chocolate" box, if I uncheck

"margin: 0 auto" in mathbook-3.css:4447 .mathbook-content figcaption

then it behaves as I think it should (but of course, the necessary change might be different). Every other chocolate box also corrects itself

1.

.mathbook-content .sidebyside figcaption mathbook-add-on.css:240

removing "padding-top: 20px" helps

1.

Figures 22.4, 22.5, 22.6

  • Purple = .sidebyside, There seems to be consistent vertical space at the bottom within the purple box(which I can't locate)
  • Green = .sbsrow, The sbsrow holding the captions, the space above the chocolate figcaption boxes. Could this be reduced some? 2.

Look at the titles of the poems in XXXX

Yellow = .sbsheader .h5

If I set

.mathbook-content h5 "margin-top: 0"

I get the desired look. Perhaps an h5 is inappropriate - happy to change.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LGNGskRel2zvQD8GkWarZekjAR Moks5qow_MgaJpZM4J50L8.gif]

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/387# issuecomment-246557240, or mute the thread https://github.com/notifications/unsubscribe-auth/ ABy2cuFc4A6UYWnO9rephX04axkWCD71ks5qpg2xgaJ pZM4J50L8.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LN4zmCJQXB-aBrz-micyvei6kTfWks5qphnmgaJpZM4J50L8.gif]

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/387# issuecomment-246650406, or mute the thread

https://github.com/notifications/unsubscribe-auth/ AEg3AEgfjlsyIMmDIaeU8dza4ajevAzfks5qpoZrgaJ pZM4J50L8 .

Alex Jordan Mathematics Instructor Portland Community College

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/387#issuecomment-246753197, or mute the thread https://github.com/notifications/unsubscribe-auth/ ABy2cv7bXaYLt59nb6iTjhMIxMnzKV07ks5qptj9gaJ pZM4J50L8.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LF81E8VyIFtYLE_y5JLajGOvCCgmks5qqA-vgaJpZM4J50L8.gif]

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/387#issuecomment-247049918, or mute the thread https://github.com/notifications/unsubscribe-auth/AEg3ANBXuzsYYaKtHji1vYtS9g7JUmFjks5qqBE8gaJ pZM4J50L8 .

Alex Jordan Mathematics Instructor Portland Community College

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LOEqPhNLJvqB9eGIVFFw947Hqz7hks5qqBRygaJpZM4J50L8.gif]

Alex-Jordan commented 8 years ago

Sometime this morning I will complete reviewing the limit def section, and then I will repost everything. I'll leave out the extra css.

On Wed, Sep 14, 2016 at 8:39 AM, davidfarmer notifications@github.com wrote:

At least for debugging purposes, I'd prefer not to have an apex.css file. (And except for that width, it is already in the main css.)

I can add things to the main css as needed.

David

On Wed, 14 Sep 2016, Alex Jordan wrote:

I can remove that CSS. The motivation is that I would like two-panel sbs figures/images (which may ultimately have widths="48% 48%" or something like that) to have the same width as a single figure/image. I was cheating to use CSS to scale all figure/images instead of writing a width into the source (yet).

On Wed, Sep 14, 2016 at 8:22 AM, davidfarmer notifications@github.com wrote:

There is an apex.css, hosted by Alex, that has width: 50% .

That is why the image captions are centered in APEX html, but not in the sample article.

On Wed, 14 Sep 2016, Rob Beezer wrote:

There is discussion about scaling images.

The only place width="48% 48%" shows up (I think) is in specifying side-by-side panels.

So I am confused by this remark. Which widths are you talking about?

On 09/13/2016 10:10 AM, Alex Jordan wrote:

I'm not treating widths in APEX seriously yet until we decide on some sort of standard. I don't want to hard code widths="48% 48%" or anything like that until there is some kind of discussion.

On Tue, Sep 13, 2016 at 4:18 AM, davidfarmer < notifications@github.com

wrote:

"Captions on Figures elsewhere look to be flush left now

  • I expect we'll get comments on that?"

This is not a change from yesterday (reload, because I have made some more changes.)

Compare Figure 5.2: http://spot.pcc.edu/math/APEXCalculus/sec_derivative.html

With Figure 2.1.12: http://mathbook.pugetsound.edu/beta/sbs-only-add-on/ section-5.html

Alex has a width: 50% in apex.css We need to discuss the right way to handle this.

On Mon, 12 Sep 2016, Rob Beezer wrote:

Everything looks great! Consecutive sbs look good next to each other, and spacing within, and without, all look good. I checked it all out with the sbs.debug option on.

Captions on Figures elsewhere look to be flush left now - I expect we'll get comments on that?

Does the poem behavior have anything to do with the presence or absence of an author? I can't quite tell exactly what is going on (and therefore, not too concerned).

Thanks for the work on this one.

Rob

On 09/12/2016 07:42 PM, davidfarmer wrote:

I think I fixed all of these: please check.

In the poems, .poem gets a small left margin (which maybe arises from centering?), and .stanza gets no left margin (unless it is wrapped in a poem).

The way it is now doesn't look right to me, but I'd like to see a few more real examples before suggesting how to change it. Maybe just ignore for now.

One of the changes may have messed up how sidebysides interact with the following text, or possibly the case of consecutive sidebysides. If you can look at some other examples, please let me know if something seems amiss.

David

On Sat, 10 Sep 2016, Rob Beezer wrote:

(Enough time wasted fighting Markdown - sorry)

Live example of debug-marked side-by-side at:

http://mathbook.pugetsound.edu/beta/sbs-only-add-on/ section-side-by-side.html

This includes non-public code to not write out totally empty "sbsrow".

  1. Figure 22.1, "figcaption" (a), inside a "chocolate" box, if I uncheck

"margin: 0 auto" in mathbook-3.css:4447 .mathbook-content figcaption

then it behaves as I think it should (but of course, the necessary change might be different). Every other chocolate box also corrects itself

1.

.mathbook-content .sidebyside figcaption mathbook-add-on.css:240

removing "padding-top: 20px" helps

1.

Figures 22.4, 22.5, 22.6

  • Purple = .sidebyside, There seems to be consistent vertical space at the bottom within the purple box(which I can't locate)
  • Green = .sbsrow, The sbsrow holding the captions, the space above the chocolate figcaption boxes. Could this be reduced some? 2.

Look at the titles of the poems in XXXX

Yellow = .sbsheader .h5

If I set

.mathbook-content h5 "margin-top: 0"

I get the desired look. Perhaps an h5 is inappropriate - happy to change.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LGNGskRel2zvQD8GkWarZekjAR Moks5qow_MgaJpZM4J50L8.gif]

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/387# issuecomment-246557240, or mute the thread https://github.com/notifications/unsubscribe-auth/ ABy2cuFc4A6UYWnO9rephX04axkWCD71ks5qpg2xgaJ pZM4J50L8.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LN4zmCJQXB-aBrz-micyvei6kTfWks5qphnmgaJpZM4J50 L8.gif]

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/387# issuecomment-246650406, or mute the thread

https://github.com/notifications/unsubscribe-auth/ AEg3AEgfjlsyIMmDIaeU8dza4ajevAzfks5qpoZrgaJ pZM4J50L8 .

Alex Jordan Mathematics Instructor Portland Community College

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/387# issuecomment-246753197, or mute the thread https://github.com/notifications/unsubscribe-auth/ ABy2cv7bXaYLt59nb6iTjhMIxMnzKV07ks5qptj9gaJ pZM4J50L8.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LF81E8VyIFtYLE_y5JLajGOvCCgmks5qqA-vgaJpZM4J50L8.gif]

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/rbeezer/mathbook/issues/387#issuecomment-247049918 , or mute the thread https://github.com/notifications/unsubscribe-auth/ AEg3ANBXuzsYYaKtHji1vYtS9g7JUmFjks5qqBE8gaJ pZM4J50L8 .

Alex Jordan Mathematics Instructor Portland Community College

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LOEqPhNLJvqB9eGIVFFw947Hqz7hks5qqBRygaJpZM4J50L8.gif]

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/387#issuecomment-247055799, or mute the thread https://github.com/notifications/unsubscribe-auth/AEg3AEF5H52VS1qxKs1zWiAX0OMc_-MEks5qqBVJgaJpZM4J50L8 .

Alex Jordan Mathematics Instructor Portland Community College

rbeezer commented 8 years ago

Got it. Thanks, Alex and David.

I always knew scaling images was going to be a tar pit. I thought we would be in better shape by now. We'll get there eventually.

On 09/14/2016 08:36 AM, Alex Jordan wrote:

I can remove that CSS. The motivation is that I would like two-panel sbs figures/images (which may ultimately have widths="48% 48%" or something like that) to have the same width as a single figure/image. I was cheating to use CSS to scale all figure/images instead of writing a width into the source (yet).

On Wed, Sep 14, 2016 at 8:22 AM, davidfarmer notifications@github.com wrote:

There is an apex.css, hosted by Alex, that has width: 50% .

That is why the image captions are centered in APEX html, but not in the sample article.

On Wed, 14 Sep 2016, Rob Beezer wrote:

There is discussion about scaling images.

The only place width="48% 48%" shows up (I think) is in specifying side-by-side panels.

So I am confused by this remark. Which widths are you talking about?

On 09/13/2016 10:10 AM, Alex Jordan wrote:

I'm not treating widths in APEX seriously yet until we decide on some sort of standard. I don't want to hard code widths="48% 48%" or anything like that until there is some kind of discussion.

On Tue, Sep 13, 2016 at 4:18 AM, davidfarmer <notifications@github.com

wrote:

"Captions on Figures elsewhere look to be flush left now

  • I expect we'll get comments on that?"

This is not a change from yesterday (reload, because I have made some more changes.)

Compare Figure 5.2: http://spot.pcc.edu/math/APEXCalculus/sec_derivative.html

With Figure 2.1.12: http://mathbook.pugetsound.edu/beta/sbs-only-add-on/section-5.html

Alex has a width: 50% in apex.css We need to discuss the right way to handle this.

On Mon, 12 Sep 2016, Rob Beezer wrote:

Everything looks great! Consecutive sbs look good next to each other, and spacing within, and without, all look good. I checked it all out with the sbs.debug option on.

Captions on Figures elsewhere look to be flush left now - I expect we'll get comments on that?

Does the poem behavior have anything to do with the presence or absence of an author? I can't quite tell exactly what is going on (and therefore, not too concerned).

Thanks for the work on this one.

Rob

On 09/12/2016 07:42 PM, davidfarmer wrote:

I think I fixed all of these: please check.

In the poems, .poem gets a small left margin (which maybe arises from centering?), and .stanza gets no left margin (unless it is wrapped in a poem).

The way it is now doesn't look right to me, but I'd like to see a few more real examples before suggesting how to change it. Maybe just ignore for now.

One of the changes may have messed up how sidebysides interact with the following text, or possibly the case of consecutive sidebysides. If you can look at some other examples, please let me know if something seems amiss.

David

On Sat, 10 Sep 2016, Rob Beezer wrote:

(Enough time wasted fighting Markdown - sorry)

Live example of debug-marked side-by-side at:

http://mathbook.pugetsound.edu/beta/sbs-only-add-on/ section-side-by-side.html

This includes non-public code to not write out totally empty "sbsrow".

  1. Figure 22.1, "figcaption" (a), inside a "chocolate" box, if I uncheck

"margin: 0 auto" in mathbook-3.css:4447 .mathbook-content figcaption

then it behaves as I think it should (but of course, the necessary change might be different). Every other chocolate box also corrects itself

1.

.mathbook-content .sidebyside figcaption mathbook-add-on.css:240

removing "padding-top: 20px" helps

1.

Figures 22.4, 22.5, 22.6

  • Purple = .sidebyside, There seems to be consistent vertical space at the bottom within the purple box(which I can't locate)
  • Green = .sbsrow, The sbsrow holding the captions, the space above the chocolate figcaption boxes. Could this be reduced some? 2.

Look at the titles of the poems in XXXX

Yellow = .sbsheader .h5

If I set

.mathbook-content h5 "margin-top: 0"

I get the desired look. Perhaps an h5 is inappropriate - happy to change.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LGNGskRel2zvQD8GkWarZekjAR Moks5qow_MgaJpZM4J50L8.gif]

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/387# issuecomment-246557240, or mute the thread https://github.com/notifications/unsubscribe-auth/ ABy2cuFc4A6UYWnO9rephX04axkWCD71ks5qpg2xgaJ pZM4J50L8.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LN4zmCJQXB-aBrz-micyvei6kTfWks5qphnmgaJpZM4J50L8.gif]

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/387# issuecomment-246650406, or mute the thread

https://github.com/notifications/unsubscribe-auth/ AEg3AEgfjlsyIMmDIaeU8dza4ajevAzfks5qpoZrgaJ pZM4J50L8 .

Alex Jordan Mathematics Instructor Portland Community College

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/387#issuecomment-246753197, or mute the thread https://github.com/notifications/unsubscribe-auth/ ABy2cv7bXaYLt59nb6iTjhMIxMnzKV07ks5qptj9gaJ pZM4J50L8.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.[AAM6LF81E8VyIFtYLE_y5JLajGOvCCgmks5qqA-vgaJpZM4J50L8.gif]

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/387#issuecomment-247049918, or mute the thread

https://github.com/notifications/unsubscribe-auth/AEg3ANBXuzsYYaKtHji1vYtS9g7JUmFjks5qqBE8gaJpZM4J50L8 .

Alex Jordan Mathematics Instructor Portland Community College

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/387#issuecomment-247054593, or mute the thread https://github.com/notifications/unsubscribe-auth/ABy2chuzkHUUm7reTLjt1OL3l6LxTMMfks5qqBRygaJpZM4J50L8.

rbeezer commented 7 years ago

I'm closing this as I don't see anything specific to do.

Discussion can happen on pretext-dev about scaling generally.