-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internacionalizar abntex2cite - "e" e "and" em citações e "Acesso em" e "Disponível em" em Referências #97
Comments
Original comment by |
Original comment by Attachments: |
Original comment by |
Original comment by |
Original comment by
|
Original comment by
|
Original comment by
|
Hello. I'm writing my thesis (with 4 manuscripts) and one of my manuscripts is in english and all the rest is written in Brazilian portuguese. Is there a way to establish the 'abnt.and.type' in the bibliography style for a specific chapter? My problem raises because whatever I choose "e" or "and" it applies to the whole document. Thanks! |
Alguma solução que não envolva mexer no "abntex2-alf.bst"? Estou utilizando o Overleaf. |
rodrigovimieiro, conseguiu resolver? Caso não, vc pode criar um file no Overleaf e copiar o código alterado da "abntex2-alf.bst". Nomeie o file da forma que quiser, mas coloque a extensão .bst (por ex.: abntex2-cite-min.bst). Quando vc for colocar a referência, faça assim: \bibliographystyle{abntex2-cite-min} Vou colocar abaixo o código completo, caso não o tenha. Ele está, inclusive, num template do overleaf (https://pt.overleaf.com/latex/templates/abntex-2-template-geral-para-teses-e-dissertacoes-em-ingles/ckzvkmkfbcmz). Vc só precisa alterar as partes conforme falaram acima. No código q envio abaixo, as partes já estão alteradas.
ENTRY %revision string %general purpose strings %variables needed to implement the various abnt options %needed for title formatting %needed for controlling the sentence position %needed for url identification %static values for options %values for url types FUNCTION {init.state.consts} %output.nonnull decides what is written before the argument s, if a comma, period etc. FUNCTION {new.block} FUNCTION {date.block} {new.block} FUNCTION {not} FUNCTION {tie.or.space.prefix} %if text length less than 3 chars. uses a tie FUNCTION {no.space} { { "" } swap$ } FUNCTION {space.word} { " " swap$ * " " * } FUNCTION {bbl.and} MACRO {jan} {"Jan."} FUNCTION {is.num} FUNCTION {write.field.verbatim} FUNCTION {write.entry.verbatim1} FUNCTION {write.entry.verbatim} STRINGS { bibinfo} FUNCTION {get.person} {"{vv }{ll}{, jj}{, ff}" format.name$} FUNCTION {recompose.name} FUNCTION {format.single.name} if$ %from plain.bst FUNCTION {format.authors} FUNCTION {format.authors.plain} FUNCTION {get.bbl.editor} { editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ } FUNCTION {format.book.pages} FUNCTION {format.issn} FUNCTION {format.note} FUNCTION {format.howpublished} %ABNT styles require that the title acts as an author if %compares current title with the title of the previous entry FUNCTION {apply.title.command} FUNCTION {format.title} FUNCTION {n.dashify} FUNCTION {word.in} { bbl.in " " * } FUNCTION {format.month} FUNCTION {format.date} FUNCTION {format.volume} %leaves formatted or empty volume on the stack FUNCTION {format.number} %leaves formatted or empty number on the stack FUNCTION {format.patent.number} FUNCTION {format.bvolume} FUNCTION {format.bvolume.if.no.series} FUNCTION {format.number.or.volume} FUNCTION {format.volume.and.number} FUNCTION {format.volume.number.series} FUNCTION {extract.num} FUNCTION {format.edition} FUNCTION {get.url.type} FUNCTION {expand.doi} INTEGERS {url.pos url.length} FUNCTION {compose.url}
FUNCTION {format.conference.info} FUNCTION {format.chapter.pages} FUNCTION {format.booktitle} FUNCTION {format.year} FUNCTION {format.year.presented} FUNCTION {format.field.address} FUNCTION {format.address} FUNCTION {format.publisher.address} FUNCTION {format.publisher.address.relax} FUNCTION {format.organization.address} %retains current authorship for future use FUNCTION {format.author.or.organization} FUNCTION {format.editor.or.organization} FUNCTION {format.author.or.editor.or.organization} FUNCTION {format.reprint} FUNCTION {format.journal} %generates the first label in \abntrefinfo to be used with \citeonline %generates the second label in \abntrefinfo to be used with \cite FUNCTION {format.title.for.label} %cvs keys have the general form %generates and extended label of type {Author}{AUTHOR}{YEAR} FUNCTION {output.bibitem} FUNCTION { abnt.display.options} abnt.show.options #2 = % "list" FUNCTION { abnt-options1 }
}
}
abnt.show.options #2 = 'fin.entry 'skip$ if$ %we had to break this function in two parts because of the following message: FUNCTION { abnt-options } FUNCTION { iso-options } { abnt-options } FUNCTION { iso.year.label } FUNCTION { iso.date } FUNCTION { non.iso.date } FUNCTION {article} FUNCTION {hidden} FUNCTION {inbook} FUNCTION {incollection} FUNCTION {misc} FUNCTION {patent} FUNCTION {format.thesis.type}
FUNCTION {phdthesis} { thesis } FUNCTION {proceedings} FUNCTION {techreport} {manual} FUNCTION {unpublished} FUNCTION {default.type} { misc } FUNCTION {sort.format.title} FUNCTION {presort} FUNCTION {set.default.abnt.variables} FUNCTION {reverse.pass} ` |
Obrigado pela resposta @LuizFilippe1995!! Eu acabei usando um modelo novo da biblioteca da USP que já arrumou esse problema. De qualquer forma, muito obrigado! Abs. |
Para modificar "e" para "and" basta realizar as seguintes substituições onde houver abnt.and.type e abnt-and-type na linha 245:
para
na linha 1509, substituí
por
na linha 2035, substituí
por
Obs.: O arquivo com todas as modificações está anexo. Para mudar o nome de como as coisas são escritas em inglês nas referências bibliográficas como:
Basta modificar os seguintes campos a partir da linha 245:
Novamente em qualquer alteração exclua os arquivos auxiliares abaixo: |
Original issue reported on code.google.com by
laurocesar
on 6 Nov 2013 at 9:52The text was updated successfully, but these errors were encountered: