diff --git a/command-line/css/print.css b/command-line/css/print.css index d8203b5..042575d 100644 --- a/command-line/css/print.css +++ b/command-line/css/print.css @@ -86,8 +86,8 @@ body{ letter-spacing: 0.01em; /*hyphens: auto;*/ /*-webkit-hyphenate-limit-chars: 8 2 4;*/ /* word length, minimum number of characters before and after the hyphen -- does not work in chrome */ - orphans: 0; /* Default is 2. These might trigger disappearing sentences at pagebreak? https://mattermost.pagedmedia.org/pagedmedia/pl/xsetebgcbbddzggwbbn93e5k1a */ - widows: 0; /* Default is 2. These might trigger disappearing sentences at pagebreak? https://mattermost.pagedmedia.org/pagedmedia/pl/xsetebgcbbddzggwbbn93e5k1a */ + orphans: 0 !important; /* Default is 2. These might trigger disappearing sentences at pagebreak? https://mattermost.pagedmedia.org/pagedmedia/pl/xsetebgcbbddzggwbbn93e5k1a */ + widows: 0 !important; /* Default is 2. These might trigger disappearing sentences at pagebreak? https://mattermost.pagedmedia.org/pagedmedia/pl/xsetebgcbbddzggwbbn93e5k1a */ } @page{ @@ -97,7 +97,7 @@ body{ /*size: 576px 864px;*/ size: 152mm 229mm; bleed: 3mm; - marks: crop; + /*marks: crop;*/ @bottom-center{ content: counter(page); @@ -109,13 +109,17 @@ body{ /*margin: 55px 18mm 80px 29.125mm;*/ /*margin: 14.758mm 18mm 21.225mm 29.125mm;*/ /* --- new margins after final trim size is 0.4mm less wide --- */ - margin: 55px 17.8mm 80px 28.975mm; + /*margin: 55px 17.8mm 80px 28.975mm;*/ + /* --- missing sentences debugging margins --- */ + margin: 55px 17.8mm 73px 28.975mm; } @page:left{ /*margin: 55px 29.125mm 80px 18mm;*/ /*margin: 14.758mm 29.125mm 21.225mm 18mm;*/ /* --- new margins after final trim size is 0.4mm less wide --- */ - margin: 55px 28.975mm 80px 17.8mm; + /*margin: 55px 28.975mm 80px 17.8mm;*/ + /* --- missing sentences debugging margins --- */ + margin: 55px 28.975mm 73px 17.8mm; } @page:right{ /* running header: contribution title (taken from the h2 of the contribution) */ @@ -1053,7 +1057,7 @@ pre{ hyphens: none; white-space: pre-line; margin: calc(var(--line-height) - 1px) 0 calc(var(--line-height) - 1px) var(--second-indent); - border: 1px solid rgba(0,0,0,0.2); + border: 1px solid rgb(220,220,220); padding: calc(var(--line-height) / 2) var(--line-height); page-break-inside: avoid; } diff --git a/command-line/screenshots/uncaught-typeerror-cannot-read-the-property-of-null.png b/command-line/screenshots/uncaught-typeerror-cannot-read-the-property-of-null.png new file mode 100644 index 0000000..4a3c2ba Binary files /dev/null and b/command-line/screenshots/uncaught-typeerror-cannot-read-the-property-of-null.png differ diff --git a/command-line/update.py b/command-line/update.py index 447e475..611b96b 100644 --- a/command-line/update.py +++ b/command-line/update.py @@ -174,7 +174,6 @@ def tweaking(html): html = html.replace('

The Industrial Continuum of 3D

', '

The Industrial Continuum
of 3D

') html = html.replace('

Depths and Densities: Accidented and dissonant spacetimes

', '

Depths and Densities:
Accidented
and dissonant
spacetimes

') html = html.replace('

Open Boundary Conditions: a grid for intensive study

', '

Open Boundary Conditions:
a grid for intensive study

') - html = html.replace('T*fRP', 'T✶fRP') html = html.replace('trans*', 'trans✶') html = html.replace('Trans*', 'trans✶') @@ -219,6 +218,9 @@ def tweaking(html): # print(match) # html = html.replace(match, f'{ match }') + html = html.replace('.png', '.jpg') # Using only jpg version of the images, June 2022 + html = html.replace('.gif', '.jpg') # Using only jpg version of the images, June 2022 + return html def clean_up(html):