L.S.
Como se explica en la página de wiki de lingtrans, es posible utilizar el campo de ubicación en \fig de Paratext para indicar si una imagen es para uso en Impresión, App o Web. En esa página de wiki se hace referencia al siguiente documento con las siguientes palabras: "Su tipógrafo / creador de la app necesitará usar reglas similares para filtrar las figuras que no pertenecen a la salida que están creando."
Los detalles se pueden encontrar aquí: Indic Typesetting Collaboration Document - Google Docs
Allí dice: … “En SAB, para filtrar las imágenes que no deben usarse en una app ('a'), use reglas de expresión regular que filtren las imágenes que son solo para 'p' o 'w':”
Find:
(?i)\fig ([^|]|){3}([pw]+)|[^]\fig* Reemplazar con nada. (Para USFM 2)
(?i)\fig [^]\bloc="[pw]+"[^]\fig* Reemplazar con nada. (Para USFM 3)
¿Alguien ha usado estas expresiones regulares y las ha hecho funcionar? Yo las he usado, pero no parecen funcionar. Agradezco cualquier ayuda o orientación que puedan dar.
goodgoan
ps Acabo de publicar esto también en el foro de SAB, y espero recibir alguna opinión sobre expresiones regulares aquí también. Gracias de antemano.
L.S.
As explained on the lingtrans wiki page, it is possible to use the location field in \fig Paratext to indicated whether an image is for Print, App or Web use. On that wiki page it refers to the document below with the following words :" Your typesetter / app creator will need to use similar rules to filter out figures that do not belong in the output that they are creating. "
Details can be found here : Indic Typesetting Collaboration Document - Google Docs
It says there: … “In SAB, to filter out images that should not be used in an app (‘a’), use regex rules that filter out images that are only for ‘p’ or ‘w’:”
Find:
(?i)\fig ([^|]|){3}([pw]+)|[^]\fig* Replace with nothing. (For USFM 2)
(?i)\fig [^]\bloc="[pw]+"[^]\fig* Replace with nothing. (For USFM 3)
Has somebody used these regexes and got them working ? I have but they do not seem to work. Any help or guidance you can give is appreciated.
goodgoan
ps Just posted this in the SAB forum as well, and hoping for some regex input here as well. Thanks in advance.
Traducción automática desde English