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
Add list-of-vignettes feature to all vignettes #261
Currently, the intro vignette hyperSpec.Rmd has code to insert a file list-of-vignettes.md as well as internal links that point to the inserted code. This greatly reduces the need to edit the files if the name of the vignettes change, their links change or more vignettes are added, as everything is centralized.
These features should be added to the other vignettes when they are reviewed:
The hySpc.ggplot2 and the other vignettes in hySpc packages should also be
included in this list.
2020 rugp. 17, pr 22:36, Bryan Hanson <[email protected]> rašė:
Currently, the intro vignette hyperSpec.Rmd has code to insert a file
list-of-vignettes.md as well as internal links that point to the inserted
code. This greatly reduces the need to edit the files if the name of the
vignettes change, their links change or more vignettes are added, as
everything is centralized.
These features should be added to the other vignettes when they are
reviewed:
- Fixed in baseline.Rmd
- Fixed in chondro.Rmd
- Fixed in flu.Rmd
- Fixed in fileio.Rmd
- Fixed in plotting.Rmd
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#261>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADBC43EFG5J6ESS7UKYJK43SBGBFRANCNFSM4QCDEL4Q>
.
Good point. Probably we should not edit the ones here in hyperSpec that have been moved to other repos, and instead edit them there, eventually deleting them here. What do you think @GegznaV ?
Did @GegznaV fix this? One of his commits mentioned cross-references but that was probably section references(?).
But generally, mention of a different vignette (vig 2) somewhere deep in vig1 is marked by an internal link like this:
In addition, [`laser`](#list-of-vignettes)...
which when clicked takes the reader to the top of vig1 where they see the colored box with information about all vignettes that are available. This colored box is placed in (eventually) every vig by this code near the very top:
Did @GegznaV fix this? One of his commits mentioned cross-references but that was probably section references(?).
But generally, mention of a different vignette (vig 2) somewhere deep in vig1 is marked by an internal link like this:
In addition, [`laser`](#list-of-vignettes)...
which when clicked takes the reader to the top of vig1 where they see the colored box with information about all vignettes that are available. This colored box is placed in (eventually) every vig by this code near the very top:
OK, getting up to speed at >40 messages... 270 is a different issue from the internal links. I just checked and the internal links work in the intro vignette, but there are some cross references that are broken as reported in 270. Are we on the same page? I'm a little confused.
OK, getting up to speed at >40 messages... 270 is a different issue from the internal links. I just checked and the internal links work in the intro vignette, but there are some cross references that are broken as reported in 270. Are we on the same page? I'm a little confused.
You are correct. There is some small difference between the two referencing environments.
I think I had this problem about 3 weeks ago converting the ChemoSpec vignette. This is what I put in ChemoSpec.Rmd in the yaml at the top:
output:
# bookdown::html_document2: # use for pkgdown site
bookdown::pdf_document2: # use for CRAN to keep size down
toc: yes
toc_depth: 2
fig_caption: yes
number_sections: true # needed for section cross-refs to work
Note the note I left myself. I'm busy outside right now but you might look and see what the settings are in the hyperSpec vignettes that are mis-behaving on cross-referencing. I recall having to troubleshoot quite a while. Also, the pdf vs html -- that's issue #259.
Activity
GegznaV commentedon Aug 17, 2020
bryanhanson commentedon Aug 17, 2020
Good point. Probably we should not edit the ones here in
hyperSpecthat have been moved to other repos, and instead edit them there, eventually deleting them here. What do you think @GegznaV ?bryanhanson commentedon Aug 17, 2020
Maybe I should move this issue to the
r-hyperspec.githhub.ioissue list?eoduniyi commentedon Aug 20, 2020
@bryanhanson Let me make sure I got this straight: vignettes should point to each other via the
list-of-vignettesand internal links.hySpc.read.txt(vignette) <-> hyperSpec(vignette)bryanhanson commentedon Aug 20, 2020
Did @GegznaV fix this? One of his commits mentioned cross-references but that was probably section references(?).
But generally, mention of a different vignette (vig 2) somewhere deep in vig1 is marked by an internal link like this:
which when clicked takes the reader to the top of vig1 where they see the colored box with information about all vignettes that are available. This colored box is placed in (eventually) every vig by this code near the very top:
eoduniyi commentedon Aug 20, 2020
@bryanhanson have you seen issue #270
bryanhanson commentedon Aug 20, 2020
OK, getting up to speed at >40 messages... 270 is a different issue from the internal links. I just checked and the internal links work in the intro vignette, but there are some cross references that are broken as reported in 270. Are we on the same page? I'm a little confused.
eoduniyi commentedon Aug 22, 2020
Oh okay, I will get back up to speed myself
bryanhanson commentedon Aug 22, 2020
You are correct. There is some small difference between the two referencing environments.
I think I had this problem about 3 weeks ago converting the
ChemoSpecvignette. This is what I put inChemoSpec.Rmdin theyamlat the top:Note the note I left myself. I'm busy outside right now but you might look and see what the settings are in the
hyperSpecvignettes that are mis-behaving on cross-referencing. I recall having to troubleshoot quite a while. Also, the pdf vs html -- that's issue #259.GegznaV commentedon Aug 31, 2020
Let's focus on "Add list-of-vignettes feature to all vignettes" here and open separate issues for all other topics.