%{ #include #include int i=0; %} PALAVRA [a-zA-Z&0-9\[\]]+ BLANK [ \t\n] PONTUACAO [:\.;',?!\-_] TEXTO ({BLANK}*{PALAVRA}{BLANK}*{PONTUACAO}*{BLANK}*)+ NUMINT [0-9]+ NUMREAL {NUMINT}\.{NUMINT} %% \\pi printf("π"); \\normalsize ; \\desc\[aZZ=''\] ; \\espaco ; \\espacamento\{{NUMINT}\}|\\espacamento\{{NUMREAL}\} ; \\vspace\{{NUMINT}(cm)\}|\\vspace\{{NUMREAL}(cm)\} ; \\hspace\{{NUMINT}(cm)\}|\\hspace\{{NUMREAL}(cm)\} ; \\livro\[\] ; \\input\{defs\} ; \\thispagestyle\{empty\} ; \\noindent ; \\vspace\*\{{BLANK}*{NUMINT}(cm)\} ; \\parbox\{{NUMINT}(cm)\} ; \\parbox\{{NUMREAL}(cm)\} ; \\mbox\{(.+)\} { i=6; while(yytext[i]!='}'){ printf("%c",yytext[i]); i++;} } \\lac(_)* printf(" Anastácio da Cunha, 1990 "); \\hom printf(" Em Homenagem,1989 "); (\\\\)|(_\\\\) printf("\n"); ^\n printf("\n"); \\linha {printf("");} \\aspas\{{TEXTO}\} {i=7; printf("\""); while(yytext[i]!='}'){ printf("%c", yytext[i]); i++;} printf("\""); } \\aspas\{\{(.+)\}\} {i=7; printf("\""); while(i