Jean Abou Samra
Joined 15 October 2025
→cropped SVG images: Reply |
→Some CSS code for <samp>: new section |
||
| Line 29: | Line 29: | ||
:Seems a bit overkill to me. I've added a simple workaround to that snippet. [[User:Jean Abou Samra|Jean Abou Samra]] ([[User talk:Jean Abou Samra|talk]]) 12:41, 25 November 2025 (UTC) | :Seems a bit overkill to me. I've added a simple workaround to that snippet. [[User:Jean Abou Samra|Jean Abou Samra]] ([[User talk:Jean Abou Samra|talk]]) 12:41, 25 November 2025 (UTC) | ||
::Nice, thanks! I didn't think of this simple fix. -- [[User:Lemzwerg|Lemzwerg]] ([[User talk:Lemzwerg|talk]]) 13:27, 25 November 2025 (UTC) | ::Nice, thanks! I didn't think of this simple fix. -- [[User:Lemzwerg|Lemzwerg]] ([[User talk:Lemzwerg|talk]]) 13:27, 25 November 2025 (UTC) | ||
== Some CSS code for <nowiki><samp></nowiki> == | |||
Jean, what do you think of adding something like the following | |||
<pre> | |||
body { quotes: '‘' '’'; } | |||
samp:before { content: open-quote; } | |||
samp:after { content: close-quote; } | |||
</pre> | |||
to the Wiki CSS for the sake of better conversion to Texinfo? My reasoning is as follows. | |||
There is a strong visual difference between <code><nowiki><code></nowiki></code> in the Wiki and <code>@code</code> in Texinfo output: the former produces typewriter text in a box, the latter uses just typewriter. This is fine with the fonts used for Texinfo output except for marking single letters: in Texinfo it is better to use <code>@samp</code> for this situation, producing typewriter text in quotes. | |||
On the Wiki side I would thus like to use <code><nowiki><samp></nowiki></code>, which <code>makelsr.pl</code> converts to <code>@samp</code>. However, it currently produces plain typewriter in the Wiki, which isn't ideal since the contrast to plain text isn't large enough IMHO. | |||
Example: The letter <samp>s</samp> is marked with <code><nowiki><samp></nowiki></code>. My suggestion: The letter ‘<samp>s</samp>’ is marked with <code><nowiki><samp></nowiki></code>. | |||
An alternative would be to give <code><nowiki><samp></nowiki></code> the same appearance as <code><nowiki><code></nowiki></code>. -- [[User:Lemzwerg|Lemzwerg]] ([[User talk:Lemzwerg|talk]]) 17:15, 30 November 2025 (UTC) | |||