@Matthew_Lee Aquí hay una expresión regular para Regex Pal para corregir los marcadores de cierre en las notas al pie:
Buscar:
(?<=\\([f])\s)(?s).*?(?=\\\1\*):::(?<=\\(f\w+\s)([^\\]|\\(?!f))*?\\(f\w+).*?)\\\3\*(\s*)(\\\1)?
Reemplazar:
\4\\\1
Lo que hace esto es tomar algo como:
\ft Text \fqa Alternate Text\fqa* More text.\f*
Y cambiarlo a:
\ft Text \fqa Alternate Text \ft More text.\f*
El primer \ft se captura y se usa para reemplazar \fqa*, y el espacio antes de “More Text” se captura y se mueve antes del \ft.
Agrega esto a userMenu.txt:
Fix footnote closers#r#(?<=\\([f])\s)(?s).*?(?=\\\1\*):::(?<=\\(f\w+\s)([^\\]|\\(?!f))*?\\(f\w+).*?)\\\3\*(\s*)(\\\1)?#\4\\\1
@Matthew_Lee Here is a regex for Regex Pal to fix closing markers in footnotes:
Find:
(?<=\\([f])\s)(?s).*?(?=\\\1\*):::(?<=\\(f\w+\s)([^\\]|\\(?!f))*?\\(f\w+).*?)\\\3\*(\s*)(\\\1)?
Replace:
\4\\\1
What this does is take something like:
\ft Text \fqa Alternate Text\fqa* More text.\f*
And change it to:
\ft Text \fqa Alternate Text \ft More text.\f*
The first \ft is captured and is used to replace \fqa* and the space before “More Text” is captured and moved before the \ft .
Add this to userMenu.txt:
Fix footnote closers#r#(?<=\\([f])\s)(?s).*?(?=\\\1\*):::(?<=\\(f\w+\s)([^\\]|\\(?!f))*?\\(f\w+).*?)\\\3\*(\s*)(\\\1)?#\4\\\1
Traducción automática desde English Mostrar original