bibledit / cloud

Source code for Bibledit core library and Cloud binary
GNU General Public License v3.0
12 stars 3 forks source link

feature request: Slight improvement to the Web export #902

Closed warpok closed 1 year ago

warpok commented 1 year ago

We have decided that we will use the web export feature in Whatsapp groups that will be giving comments on our drafts of some OT books.

  1. Could Teus (or maybe Aranggi) increase the font size of the text?
  2. Could we have a horizontal line dividing the verse text from the footnotes at the end of the chapter?

One nice way to increase the text would be to make it so that the reader could use two fingers to expand the text size. The user can in fact increase the text size by that method now, but the text does not re-flow to fit the screen width.

teusbenschop commented 1 year ago
  1. Could Teus (or maybe Aranggi) increase the font size of the text?

The font size of the text can be set through the stylesheets mechanism. The font size for paragraph of text can be set in that stylesheet through the font size for that paragraph style.

  1. Could we have a horizontal line dividing the verse text from the footnotes at the end of the chapter?

Likely this could be done in one way or another through a software update.

One nice way to increase the text would be to make it so that the reader could use two fingers to expand the text size. The user can in fact increase the text size by that method now, but the text does not re-flow to fit the screen width.

The zoom with two fingers does not cause the text to reflow to fit the screen width. Browsers have features to permanently increase or decrease the text size and then the reflow will happen.

warpok commented 1 year ago

It's good to hear that the font size can be changed through the stylesheet, and I assume that this would be the Export stylesheet. So I assume that would mean changing all the most common styles, such as s, p, m, pi, mi, q1 2 3, li1 2 3.

I will try it and comment again.

Is there a way that we can also change to a serif font via the stylesheet?

Thanks!

teusbenschop commented 1 year ago

Is there a way that we can also change to a serif font via the stylesheet?

The font cannot be changed to a Serif font via de stylesheet.

But hacking the exported file stylesheet.css can be done manually after export, and then everything can be changed manually, including font family.

warpok commented 1 year ago

Thanks, We think that this export will work wonderfully for our new WA groups.