You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Lint: warn users about headers in divs in revealjs (was: Odd behavior in Print View) #5978
I am trying to print my revealjs presentation, but when I press E to enter Print View mode, two slide titles appear above my first slide and I can't print it.
My current workaround is to print only slides 3-21. Any idea on what is happening?
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.1.2: OK
Dart Sass version 1.55.0: OK
NOTE: Deno version 1.33.2 is too old. Please upgrade to 1.33.1 or later.
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.4.60
Path: /Applications/quarto/bin
As I thought, you can't embed h1/h2/h3 inside a div with slide content:
Wrong
Good
## Methodology
::: {style="font-size: 0.7em"}
### First challenge: lack of regional data* Framework: Interregional Input-Output Setting (IIOAS)
+@haddad2017a+ Homogenous production and utility functions across regions
+ Consistent with national aggregates
+ 15 regions, 20 sectors
* Trade matrices between regions
+ Supply: $TOTSUP := DOMSUP + EXP$
+ Exports data ($EXP$) known for each region and sector
+ Domestic supply ($DOMSUP$): labor microdata as proxy
:::
## Methodology### First challenge: lack of regional data
::: {style="font-size: 0.7em"}
* Framework: Interregional Input-Output Setting (IIOAS)
+@haddad2017a+ Homogenous production and utility functions across regions
+ Consistent with national aggregates
+ 15 regions, 20 sectors
* Trade matrices between regions
+ Supply: $TOTSUP := DOMSUP + EXP$
+ Exports data ($EXP$) known for each region and sector
+ Domestic supply ($DOMSUP$): labor microdata as proxy
:::
Wrong
Good
## Methodology
::: {style="font-size: 0.7em"}
### Second challenge: tourism is a cross-sector industry* Common approach: tourism satellite account (TSA)
+ Not available for the state
* Our approach:
+ Estimate tourism shares in each sector and region
+ Tourism Characteristic Activities (TCA)s, classified by the state government
+ Sensitivity analysis + state survey
+ Apply shares as extraction coefficient
Example: if 10% of a sector's output in a city is tourism-related, then 10% of the sector is extracted.
:::
## Methodology### Second challenge: tourism is a cross-sector industry
::: {style="font-size: 0.7em"}
* Common approach: tourism satellite account (TSA)
+ Not available for the state
* Our approach:
+ Estimate tourism shares in each sector and region
+ Tourism Characteristic Activities (TCA)s, classified by the state government
+ Sensitivity analysis + state survey
+ Apply shares as extraction coefficient
Example: if 10% of a sector's output in a city is tourism-related, then 10% of the sector is extracted.
:::
changed the title [-]Odd behavior in Print View[/-][+]Lint: warn users about headers in divs in revealjs (was: Odd behavior in Print View)[/+]on Jun 20, 2023
Activity
mcanouil commentedon Jun 19, 2023
Did you follow https://quarto.org/docs/presentations/revealjs/presenting.html#print-to-pdf and/or https://revealjs.com/pdf-export/?
You probably have a syntax error somewhere after "Methodology".
Also, execute key does not have the following sub-keys:
While
fig-formatandfig-dpican be top-level options,dev: pngis aknitrspecific option, see https://quarto.org/docs/computations/r.html#knitr-options:mcanouil commentedon Jun 19, 2023
As I thought, you can't embed h1/h2/h3 inside a div with slide content:
[-]Odd behavior in Print View[/-][+]Lint: warn users about headers in divs in revealjs (was: Odd behavior in Print View)[/+]cscheid commentedon Jun 20, 2023
(Reopening this one as a good target for our future linting work. Ideally, we'd be able to tell users that this syntax isn't allowed.)