I use notes as biographical introductions to be read by French-speaking and Spanish-speaking relatives. Is it possible to divide the text into two columns with the 2 languages side by side, instead of one version following the other?
Can’'t you use CSS and “column-count”?
or “two-column” with “flexbox”?
I can’t enough html and CSS to know how, I just know these two in my research to do the same in Markdown…
I wouldn’t mix presentation and semantic meaning (which btw is also the reason why I wouldn’t use CSS-formatted HTML notes). Two columns might look good on a big screen, but not on a phone.
Actually, Gramps Web automatically wraps long notes into columns, the number of columns depending on the screen width, so if you have a normally sized screen and two roughly equally sized blocks of text, it might end up looking just as intended.
I’ve done exactly that with one text block in French and the other in Spanish side by side. It looks good on my PC screen which is large enough, but not on a laptop where one block follows the other. And most people use laptops. Another solution would be to write two notes with the same content but in different languages. But then I come across another difficulty. With Gramps desktop we can choose one font and its size among many when writing a note. I chose Garamond. I was pleased to find all the imported notes again with the same font in grampsweb. But when I try to write a new note there is no choice of font nor of it size. The final result doesn’t look good. One note comes on top of the other in completely different font styles and sizes. Wouldn’t it be possible to have a choice of fonts however limited and of their sizes?
Gramps bundles and serves all needed fonts, I don’t think it’s good to allow arbitrary fonts (and honestly I’ve never understood why Gramps supports it). Font sizes is something that could be supported, if somebody wants to go ahead and implement it.
Here are two notes with the same content but in different languages. The first one was imported, and the second one added in grampsweb. The fonts sizes and styles can’t be modified in either of them. The effect is jarring, most of all because of the difference of font sizes. The ability to manage the sizes would go some way towards a more coherent layout.