Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

html format book length needs a new framework #26

Open
eddelbuettel opened this issue Apr 9, 2018 · 8 comments
Open

html format book length needs a new framework #26

eddelbuettel opened this issue Apr 9, 2018 · 8 comments

Comments

@eddelbuettel
Copy link
Owner

The tufte-book class made the tintBook pdf variant possible.

There is nothing (yet) for html that is really comparable. The gitbook default for bookdown has a tufte variant but I find it lacking. The navigation bar is pretty awful.

We would need some proper js / css / html help, and it may be a fair amount of work. In the meantime, the pdf variant is functional.

@eddelbuettel
Copy link
Owner Author

I had jotted down some possible alternatives in other places; maybe having them here is fine too:

@coatless
Copy link

Reach out to @kjhealy via academic mail (email) and the new thingie all kids do nowadays (twitter) to no avail.

I'll likely have time to work on modifying a theme in mid-May for the html books. Until then, I'll enable the pdf tint version on the repos.

@coatless
Copy link

coatless commented May 6, 2018

tint::tintBook() doesn't respect the output_dir parameter for render()

bookdown::render_book("index.Rmd", "tint::tintBook", output_dir = "./_book/")

@eddelbuettel
Copy link
Owner Author

Hm.

@lf-araujo
Copy link

lf-araujo commented Jul 14, 2018

Since @coatless pointed it out here I will piggyback:

  1. I can confirm the output directory is not respected and
  2. for some reason internal references of the form @ref(fig:ambiente) are not working in tintBook

Also, is natbib the default? In order to use citeproc, I have to citation_package: none

@eddelbuettel
Copy link
Owner Author

Sure. I don't use output_dir=... so many things could go on there.

Ditto for bibliographies. I happen to use natbib and like it. The principal client of the package is ... me.

But this discussion is entirely on the wrong issue ticket, so can we please stop it now? This ticket is about the need for html extensions. Thanks.

@ssp3nc3r
Copy link

ssp3nc3r commented Mar 9, 2019

Looks like Kealy has a repo for another book with either the same or similar formatting:

https://github.com/kjhealy/plain-text.co

Is this what you need?

@coatless
Copy link

coatless commented Mar 9, 2019

@ssp3nc3r yes. Exactly. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants