L.S.
Conforme explicado na página do wiki do lingtrans, é possível usar o campo de localização em \fig no Paratext para indicar se uma imagem é para uso em Impressão, Aplicativo ou Web. Nessa página do wiki, refere-se ao documento abaixo com as seguintes palavras: "Seu tipógrafo / criador do aplicativo precisará usar regras semelhantes para filtrar figuras que não pertencem à saída que estão criando. "
Os detalhes podem ser encontrados aqui: Documento de Colaboração de Tipografia - Google Docs
Lá diz: … “No SAB, para filtrar imagens que não devem ser usadas em um aplicativo ('a'), use regras de regex que filtrem imagens que são apenas para 'p' ou 'w':”
Find:
(?i)\fig ([^|]|){3}([pw]+)|[^]\fig* Substituir por nada. (Para USFM 2)
(?i)\fig [^]\bloc="[pw]+"[^]\fig* Substituir por nada. (Para USFM 3)
Alguém usou essas regexes e conseguiu fazê-las funcionar? Eu usei, mas elas não parecem funcionar. Qualquer ajuda ou orientação que você possa dar é apreciada.
goodgoan
p.s. Acabei de postar isso no fórum do SAB também, e espero por alguma contribuição de regex aqui também. Agradeço desde já.
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.
Tradução automática de English