binb icon indicating copy to clipboard operation
binb copied to clipboard

Possible IQSS theme improvements

Open eddelbuettel opened this issue 7 years ago • 5 comments

In no particular order, and in comparison to the demo.tex-based demo.pdf of the LaTeX variant:

  • [x] Libertinus font requirement currently a hard constraint, might be nicer to make it soft ie warn but proceed rather than fail
  • [ ] Title changed to not be on dark background, could make that a toggle in YAML header
  • [ ] Table of content line and paragraph breaks look different
  • [ ] Need to find a trick to do the \item[] placement in one of the examples
  • [ ] Make the header.png file an option for the YAML header

eddelbuettel avatar Sep 20 '18 13:09 eddelbuettel

For the record, got a first "bug report" over email where IQSS failed for someone ... who didn't read the README and did not have Libertinus installed.

eddelbuettel avatar Oct 01 '18 19:10 eddelbuettel

Yes, I've also had people reporting the same issue. I'm working on making Libertinus optional now.

--Ista

On Mon, Oct 1, 2018 at 3:03 PM Dirk Eddelbuettel [email protected] wrote:

For the record, got a first "bug report" over email where IQSS failed for someone ... who didn't read the README and did not have Libertinus installed.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/eddelbuettel/binb/issues/2#issuecomment-426024681, or mute the thread https://github.com/notifications/unsubscribe-auth/AATm0_kmDkKhBui1Xhw07_sZyp8hG0Omks5ugmbwgaJpZM4WyLo5 .

-- Ista Zahn Data Science Specialist The Institute for Quantitative Social Science at Harvard http://dss.iq.harvard.edu

izahn avatar Oct 01 '18 19:10 izahn

I poked at tex.stackexchange.com to see if one could test "presence or absence of font" but it seems less than straightforward. Ideally we would go into a "yes ... but" mode also informing people that they should install the font.

eddelbuettel avatar Oct 01 '18 19:10 eddelbuettel

There is code for checking for the availability of fonts in the metropolis theme. I'm trying to decide whether to copy it or just depend on the metropolis theme.

izahn avatar Oct 02 '18 00:10 izahn

Oh, nice. I am sure we can borrow that with credit.

But when you say 'depend on the metropolis theme' you don't mean to switch whole-hog, right? I quite like Libertinus. But maybe Fira or others as fallbacks?

Over here (as opposed to the plain latex side) it is also easy to make fonts options in yaml header.

eddelbuettel avatar Oct 02 '18 00:10 eddelbuettel