Footnote number padding in LibreWriter

LibreWriter doesn’t provide (so far) a smart way to set a “styled” space between the number of a footnote and the text (of that footnote).

Therefore you should add a (or more than) space in each footnote. But it would be a bad way to solve the problem.

A workaround can be to set the footnote characters (in styles) with a) a border (with an invisible color, such a s white over a white background) and b) a right padding. You can see in the following image:

Espanso

A very useful feature of espanso (a text expander also for wayland) is the possibility to convert the clipboard content to lowercase (with ::low) or to uppercase (with ::up).

php include: no absolute path

To get include command working you should avoid an absolute path: i.g. not

http://somepath/somefile

But, i.g.:

../somepath/somefile

2) In localhost it would be possible this workaround:

$yourvariablepath = realpath($_SERVER["DOCUMENT_ROOT"] . "/a/path");

But this doesn’t work in remote.

3) Another workaround to include a content from a file in another absolute path could be the object tag:

<object data=”your-file-even-on-another-server” />

But an object in another page is an island, a stranger “guest”, without any sharing with the “host” page.

4) Another way (for short text) is to use javascript.

Regex : an alphabetic letter

To mean one letter, such as ‘a’ or ‘G’, you can use [A-z].

I.g. if you want find any occurrence of strings such as 7956A, 5476H, 3865V, you can use

\d\d\d\d[A-z]