Skip to content

Commit

Permalink
Fix PDF only content appearing on HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
mine-cetinkaya-rundel committed Sep 10, 2023
1 parent 7b8d252 commit c0f769b
Show file tree
Hide file tree
Showing 21 changed files with 145 additions and 96 deletions.
43 changes: 28 additions & 15 deletions 03-data-applications.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -279,41 +279,51 @@ Navigate the concepts you've learned in this chapter in R using the following se
All you need is your browser to get started!

::: {.alltutorials data-latex=""}
[Tutorial 1: Introduction to data](https://openintrostat.github.io/ims-tutorials/01-data/)\
::: {.content-visible when-format="pdf"} https://openintrostat.github.io/ims-tutorials/01-data
[Tutorial 1: Introduction to data](https://openintrostat.github.io/ims-tutorials/01-data/)

::: {.content-hidden unless-format="pdf"}
https://openintrostat.github.io/ims-tutorials/01-data
:::

:::

::: {.singletutorial data-latex=""}
[Tutorial 1 - Lesson 1: Language of data](https://openintro.shinyapps.io/ims-01-data-01/)\
::: {.content-visible when-format="pdf"} https://openintro.shinyapps.io/ims-01-data-01
[Tutorial 1 - Lesson 1: Language of data](https://openintro.shinyapps.io/ims-01-data-01/)

::: {.content-hidden unless-format="pdf"}
https://openintro.shinyapps.io/ims-01-data-01
:::

:::

::: {.singletutorial data-latex=""}
[Tutorial 1 - Lesson 2: Types of studies](https://openintro.shinyapps.io/ims-01-data-02/)\
::: {.content-visible when-format="pdf"} https://openintro.shinyapps.io/ims-01-data-02
[Tutorial 1 - Lesson 2: Types of studies](https://openintro.shinyapps.io/ims-01-data-02/)

::: {.content-hidden unless-format="pdf"}
https://openintro.shinyapps.io/ims-01-data-02
:::

:::

::: {.singletutorial data-latex=""}
[Tutorial 1 - Lesson 3: Sampling strategies and experimental design](https://openintro.shinyapps.io/ims-01-data-03/)\
::: {.content-visible when-format="pdf"} https://openintro.shinyapps.io/ims-01-data-03
[Tutorial 1 - Lesson 3: Sampling strategies and experimental design](https://openintro.shinyapps.io/ims-01-data-03/)

::: {.content-hidden unless-format="pdf"}
https://openintro.shinyapps.io/ims-01-data-03
:::

:::

::: {.singletutorial data-latex=""}
[Tutorial 1 - Lesson 4: Case study](https://openintro.shinyapps.io/ims-01-data-04/)\
::: {.content-visible when-format="pdf"} https://openintro.shinyapps.io/ims-01-data-04
[Tutorial 1 - Lesson 4: Case study](https://openintro.shinyapps.io/ims-01-data-04/)

::: {.content-hidden unless-format="pdf"}
https://openintro.shinyapps.io/ims-01-data-04
:::

:::

::: {.content-visible when-format="pdf"}
::: {.content-hidden unless-format="pdf"}
You can also access the full list of tutorials supporting this book at\
<https://openintrostat.github.io/ims-tutorials>.
:::
Expand All @@ -327,12 +337,15 @@ You can also access the full list of tutorials supporting this book [here](https
Further apply the concepts you've learned in this part in R with computational labs that walk you through a data analysis case study.

::: {.singlelab data-latex=""}
[Intro to R - Birth rates](https://www.openintro.org/go?id=ims-r-lab-intro-to-r)\
::: {.content-visible when-format="pdf"} https://www.openintro.org/go?i
d=ims-r-lab-intro-to-r \`\`\`
[Intro to R - Birth rates](https://www.openintro.org/go?id=ims-r-lab-intro-to-r)

::: {.content-hidden unless-format="pdf"}
https://www.openintro.org/go?id=ims-r-lab-intro-to-r
:::

:::

::: {.content-visible when-format="pdf"}
::: {.content-hidden unless-format="pdf"}
You can also access the full list of labs supporting this book at\
<https://www.openintro.org/go?id=ims-r-labs>.
:::
Expand Down
23 changes: 14 additions & 9 deletions 06-explore-applications.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -351,40 +351,45 @@ All you need is your browser to get started!

::: {.alltutorials data-latex=""}
[Tutorial 2: Exploratory data analysis](https://openintrostat.github.io/ims-tutorials/02-explore/)\
::: {.content-visible when-format="pdf"} https://openintrostat.github.io/ims-tutorials/02-explore
::: {.content-hidden unless-format="pdf"}
https://openintrostat.github.io/ims-tutorials/02-explore
:::

:::

::: {.singletutorial data-latex=""}
[Tutorial 2 - Lesson 1: Visualizing categorical data](https://openintro.shinyapps.io/ims-02-explore-01/)\
::: {.content-visible when-format="pdf"} https://openintro.shinyapps.io/ims-02-explore-01
::: {.content-hidden unless-format="pdf"}
https://openintro.shinyapps.io/ims-02-explore-01
:::

:::

::: {.singletutorial data-latex=""}
[Tutorial 2 - Lesson 2: Visualizing numerical data](https://openintro.shinyapps.io/ims-02-explore-02/)\
::: {.content-visible when-format="pdf"} https://openintro.shinyapps.io/ims-02-explore-02
::: {.content-hidden unless-format="pdf"}
https://openintro.shinyapps.io/ims-02-explore-02
:::

:::

::: {.singletutorial data-latex=""}
[Tutorial 2 - Lesson 3: Summarizing with statistics](https://openintro.shinyapps.io/ims-02-explore-03/)\
::: {.content-visible when-format="pdf"} https://openintro.shinyapps.io/ims-02-explore-03
::: {.content-hidden unless-format="pdf"}
https://openintro.shinyapps.io/ims-02-explore-03
:::

:::

::: {.singletutorial data-latex=""}
[Tutorial 2 - Lesson 4: Case study](https://openintro.shinyapps.io/ims-02-explore-04/)\
::: {.content-visible when-format="pdf"} https://openintro.shinyapps.io/ims-02-explore-04
::: {.content-hidden unless-format="pdf"}
https://openintro.shinyapps.io/ims-02-explore-04
:::

:::

::: {.content-visible when-format="pdf"}
::: {.content-hidden unless-format="pdf"}
You can also access the full list of tutorials supporting this book at\
<https://openintrostat.github.io/ims-tutorials>.
:::
Expand All @@ -399,13 +404,13 @@ Further apply the concepts you've learned in this part in R with computational l

::: {.singlelab data-latex=""}
[Intro to data - Flight delays](https://www.openintro.org/go?id=ims-r-lab-intro-to-data)\
::: {.content-visible when-format="pdf"} https://www.openintro.org/go?i
d=ims-r-lab-intro-to-data
::: {.content-hidden unless-format="pdf"}
https://www.openintro.org/go?id=ims-r-lab-intro-to-data
:::

:::

::: {.content-visible when-format="pdf"}
::: {.content-hidden unless-format="pdf"}
You can also access the full list of labs supporting this book at\
<https://www.openintro.org/go?id=ims-r-labs>.
:::
Expand Down
41 changes: 26 additions & 15 deletions 10-model-applications.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -471,82 +471,93 @@ All you need is your browser to get started!

::: {.alltutorials data-latex=""}
[Tutorial 3: Regression modeling](https://openintrostat.github.io/ims-tutorials/03-model/)\
::: {.content-visible when-format="pdf"} https://openintrostat.github.io/ims-tutorials/03-model
::: {.content-hidden unless-format="pdf"}
https://openintrostat.github.io/ims-tutorials/03-model
:::

:::

::: {.singletutorial data-latex=""}
[Tutorial 3 - Lesson 1: Visualizing two variables](https://openintro.shinyapps.io/ims-03-model-01/)\
::: {.content-visible when-format="pdf"} https://openintro.shinyapps.io/ims-03-model-01
::: {.content-hidden unless-format="pdf"}
https://openintro.shinyapps.io/ims-03-model-01
:::

:::

::: {.singletutorial data-latex=""}
[Tutorial 3 - Lesson 2: Correlation](https://openintro.shinyapps.io/ims-03-model-02/)\
::: {.content-visible when-format="pdf"} https://openintro.shinyapps.io/ims-03-model-02
::: {.content-hidden unless-format="pdf"}
https://openintro.shinyapps.io/ims-03-model-02
:::

:::

::: {.singletutorial data-latex=""}
[Tutorial 3 - Lesson 3: Simple linear regression](https://openintro.shinyapps.io/ims-03-model-03/)\
::: {.content-visible when-format="pdf"} https://openintro.shinyapps.io/ims-03-model-03
::: {.content-hidden unless-format="pdf"}
https://openintro.shinyapps.io/ims-03-model-03
:::

:::

::: {.singletutorial data-latex=""}
[Tutorial 3 - Lesson 4: Interpreting regression models](https://openintro.shinyapps.io/ims-03-model-04/)\
::: {.content-visible when-format="pdf"} https://openintro.shinyapps.io/ims-03-model-04
::: {.content-hidden unless-format="pdf"}
https://openintro.shinyapps.io/ims-03-model-04
:::

:::

::: {.singletutorial data-latex=""}
[Tutorial 3 - Lesson 5: Model fit](https://openintro.shinyapps.io/ims-03-model-05/)\
::: {.content-visible when-format="pdf"} https://openintro.shinyapps.io/ims-03-model-05
::: {.content-hidden unless-format="pdf"}
https://openintro.shinyapps.io/ims-03-model-05
:::

:::

::: {.singletutorial data-latex=""}
[Tutorial 3 - Lesson 6: Parallel slopes](https://openintro.shinyapps.io/ims-03-model-06/)\
::: {.content-visible when-format="pdf"} https://openintro.shinyapps.io/ims-03-model-06
::: {.content-hidden unless-format="pdf"}
https://openintro.shinyapps.io/ims-03-model-06
:::

:::

::: {.singletutorial data-latex=""}
[Tutorial 3 - Lesson 7: Evaluating and extending parallel slopes model](https://openintro.shinyapps.io/ims-03-model-07/)\
::: {.content-visible when-format="pdf"} https://openintro.shinyapps.io/ims-03-model-07
::: {.content-hidden unless-format="pdf"}
https://openintro.shinyapps.io/ims-03-model-07
:::

:::

::: {.singletutorial data-latex=""}
[Tutorial 3 - Lesson 8: Multiple regression](https://openintro.shinyapps.io/ims-03-model-08/)\
::: {.content-visible when-format="pdf"} https://openintro.shinyapps.io/ims-03-model-08
::: {.content-hidden unless-format="pdf"}
https://openintro.shinyapps.io/ims-03-model-08
:::

:::

::: {.singletutorial data-latex=""}
[Tutorial 3 - Lesson 9: Logistic regression](https://openintro.shinyapps.io/ims-03-model-09/)\
::: {.content-visible when-format="pdf"} https://openintro.shinyapps.io/ims-03-model-09
::: {.content-hidden unless-format="pdf"}
https://openintro.shinyapps.io/ims-03-model-09
:::

:::

::: {.singletutorial data-latex=""}
[Tutorial 3 - Lesson 10: Case study: Italian restaurants in NYC](https://openintro.shinyapps.io/ims-03-model-10/)\
::: {.content-visible when-format="pdf"} https://openintro.shinyapps.io/ims-03-model-10
::: {.content-hidden unless-format="pdf"}
https://openintro.shinyapps.io/ims-03-model-10
:::

:::

::: {.content-visible when-format="pdf"}
::: {.content-hidden unless-format="pdf"}
You can also access the full list of tutorials supporting this book at\
<https://openintrostat.github.io/ims-tutorials>.
:::
Expand All @@ -561,13 +572,13 @@ Further apply the concepts you've learned in this part in R with computational l

::: {.singlelab data-latex=""}
[Introduction to linear regression - Human Freedom Index](https://www.openintro.org/go?id=ims-r-lab-model)\
::: {.content-visible when-format="pdf"} https://www.openintro.org/go?i
d=ims-r-lab-model
::: {.content-hidden unless-format="pdf"}
https://www.openintro.org/go?id=ims-r-lab-model
:::

:::

::: {.content-visible when-format="pdf"}
::: {.content-hidden unless-format="pdf"}
You can also access the full list of labs supporting this book at\
<https://www.openintro.org/go?id=ims-r-labs>.
:::
Expand Down
27 changes: 16 additions & 11 deletions 15-foundations-applications.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -261,40 +261,45 @@ All you need is your browser to get started!

::: {.alltutorials data-latex=""}
[Tutorial 4: Foundations of inference](https://openintrostat.github.io/ims-tutorials/04-foundations/)\
::: {.content-visible when-format="pdf"} https://openintrostat.github.io/ims-tutorials/04-foundations
::: {.content-hidden unless-format="pdf"}
https://openintrostat.github.io/ims-tutorials/04-foundations
:::

:::

::: {.singletutorial data-latex=""}
[Tutorial 4 - Lesson 1: Sampling variability](https://openintro.shinyapps.io/ims-04-foundations-01/)\
::: {.content-visible when-format="pdf"} https://openintro.shinyapps.io/ims-04-foundations-01
::: {.content-hidden unless-format="pdf"}
https://openintro.shinyapps.io/ims-04-foundations-01
:::

:::

::: {.singletutorial data-latex=""}
[Tutorial 4 - Lesson 2: Randomization test](https://openintro.shinyapps.io/ims-04-foundations-02/)\
::: {.content-visible when-format="pdf"} https://openintro.shinyapps.io/ims-04-foundations-02
::: {.content-hidden unless-format="pdf"}
https://openintro.shinyapps.io/ims-04-foundations-02
:::

:::

::: {.singletutorial data-latex=""}
[Tutorial 4 - Lesson 3: Errors in hypothesis testing](https://openintro.shinyapps.io/ims-04-foundations-03/)\
::: {.content-visible when-format="pdf"} https://openintro.shinyapps.io/ims-04-foundations-03
::: {.content-hidden unless-format="pdf"}
https://openintro.shinyapps.io/ims-04-foundations-03
:::

:::

::: {.singletutorial data-latex=""}
[Tutorial 4 - Lesson 4: Parameters and confidence intervals](https://openintro.shinyapps.io/ims-04-foundations-04/)\
::: {.content-visible when-format="pdf"} https://openintro.shinyapps.io/ims-04-foundations-04
::: {.content-hidden unless-format="pdf"}
https://openintro.shinyapps.io/ims-04-foundations-04
:::

:::

::: {.content-visible when-format="pdf"}
::: {.content-hidden unless-format="pdf"}
You can also access the full list of tutorials supporting this book at\
<https://openintrostat.github.io/ims-tutorials>.
:::
Expand All @@ -309,21 +314,21 @@ Further apply the concepts you've learned in this part in R with computational l

::: {.singlelab data-latex=""}
[Sampling distributions - Does science benefit you?](https://www.openintro.org/go?id=ims-r-lab-foundations-1)\
::: {.content-visible when-format="pdf"} https://www.openintro.org/go?i
d=ims-r-lab-foundations-1
::: {.content-hidden unless-format="pdf"}
https://www.openintro.org/go?id=ims-r-lab-foundations-1
:::

:::

::: {.singlelab data-latex=""}
[Confidence intervals - Climate change](https://www.openintro.org/go?id=ims-r-lab-foundations-2)\
::: {.content-visible when-format="pdf"} https://www.openintro.org/go?i
d=ims-r-lab-foundations-2
::: {.content-hidden unless-format="pdf"}
https://www.openintro.org/go?id=ims-r-lab-foundations-2
:::

:::

::: {.content-visible when-format="pdf"}
::: {.content-hidden unless-format="pdf"}
You can also access the full list of labs supporting this book at\
<https://www.openintro.org/go?id=ims-r-labs>.
:::
Expand Down
Loading

0 comments on commit c0f769b

Please sign in to comment.