usgpo / bulk-data

User Guides for XML on the govinfo Bulk Data Repository. For information about Bill Status XML Bulk Data, see https://github.com/usgpo/bill-status.
https://www.govinfo.gov/bulkdata
272 stars 100 forks source link

Rendering/Display issues using cfr.xsl #63

Open anuraggulati opened 4 years ago

anuraggulati commented 4 years ago
  1. Font changes from sans-serif family (Helvetica) to serif-family Times New Roman
  2. The space between section and the title. (between section 43.1 and the Purpose, Scope and rules of construction, for example. Happens consistently for all section numbers and section headings)

See screenshots.

Screenshot 2020-08-19 at 6 38 08 am Screenshot 2020-08-19 at 6 37 53 am
jonquandt commented 4 years ago

Thanks for reporting this. We'll take a look at it. It appears that the space between the section number and the section title is intentional, though it is acting in a responsive manner, so the wider your window is, the wider the gap. That may not be ideal. The equivalent PDF has a gap as well, but the pdf is in a two column layout, which would force a smaller space.

See via the UI: Details xml pdf

Note that the xml for the UI is broken down to the section level compared to the volume level breakdown in the bulkdata repository.

Need to do a little investigation on the sans-serif to serif issue, since the xsl doesn't reference serif fonts at all. all of the font-family declarations simply state "sans-serif", though one for .GID has Sans-serif. I don't think that would affect anything, but may be an issue.

Adding to our backlog to address.

I also discovered a slight discrepancy between the cfr.xsl used in our bulkdata repository and the UI (/content/pkg) version . Will look at that as well.

anuraggulati commented 4 years ago

Thanks Jon. I do hope these findings are helpful.

I am happy to help test these should you need.

On Fri, 28 Aug 2020 at 10:04 pm, Jon Quandt notifications@github.com wrote:

Thanks for reporting this. We'll take a look at it. It appears that the space between the section number and the section title is intentional, though it is acting in a responsive manner, so the wider your window is, the wider the gap. That may not be ideal. The equivalent PDF has a gap as well, but the pdf is in a two column layout, which would force a smaller space.

See via the UI:

Details https://www.govinfo.gov/app/details/CFR-2020-title17-vol2/CFR-2020-title17-vol2-sec43-1

xml https://www.govinfo.gov/content/pkg/CFR-2020-title17-vol2/xml/CFR-2020-title17-vol2-sec43-1.xml

pdf https://www.govinfo.gov/content/pkg/CFR-2020-title17-vol2/pdf/CFR-2020-title17-vol2-sec43-1.pdf

Note that the xml for the UI is broken down to the section level compared to the volume level breakdown in the bulkdata repository.

Need to do a little investigation on the sans-serif to serif issue, since the xsl doesn't reference serif fonts at all. all of the font-family declarations simply state "sans-serif", though one for .GID has Sans-serif. I don't think that would affect anything, but may be an issue.

Adding to our backlog to address.

I also discovered a slight discrepancy between the cfr.xsl used in our bulkdata repository and the UI (/content/pkg) version . Will look at that as well.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/usgpo/bulk-data/issues/63#issuecomment-682840536, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBUZ5VDO7VT26XCGMMTAO3SC7L75ANCNFSM4QEMBQXA .