BibTeX, biblatex and biberFormat specific words in citations and bibliography in Bibtex

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
Diogo Remoaldo
Posts: 26
Joined: Mon Apr 06, 2015 8:24 pm

Format specific words in citations and bibliography in Bibtex

Post by Diogo Remoaldo »

Hi, I have the following Latex code

Code: Select all

Code, edit and compile here:
\documentclass[openright,a4paper,12pt,twoside]{report}
\usepackage[utf8]{inputenc}
\usepackage[portuguese]{babel}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{epstopdf}
\usepackage{float}
\usepackage{graphicx}
\usepackage[hidelinks]{hyperref}
\usepackage{url}
\usepackage[all]{hypcap}
\usepackage{caption}
\usepackage[paper=a4paper,top=2cm,bottom=2cm,right=2.5cm,left=2.5cm,twoside ,bindingoffset=1cm,marginparwidth=0in,marginparsep=0in]{geometry}
\usepackage{array}
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage{indentfirst}
\usepackage[export]{adjustbox}
\usepackage[font=small,labelfont=bf]{caption}
\usepackage{enumitem}
\usepackage[titletoc]{appendix}
\usepackage{titlesec}
\usepackage{multirow}
\captionsetup[table]{position=above}
\usepackage{siunitx}
%\usepackage[stretch=10,shrink=10]{microtype}
\newcolumntype{C}{>{\centering\arraybackslash}m}
\sisetup{per-mode=symbol}
\usepackage{hhline}
\captionsetup[table]{position=above}
\setcounter{secnumdepth}{4}
\DeclareSIUnit{\year}{ano}
\titleformat{\paragraph}
{\normalfont\normalsize\bfseries}{\theparagraph}{1em}{}
\titlespacing*{\paragraph}
{0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}
\usepackage{eurosym}
\usepackage{makeidx}
\usepackage{subcaption}
 
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
And the following bibtex code

Code: Select all

@Misc{Sousa2012,
Title = {{Energy Rehabilitation of Portuguese Residential Building Stock Through its Transformation into NZEB}},
Author = {Sousa, Joana and Silva, Sandra},
Year = {2012},
Publisher = {Tortellini 2006},
Pages = {41--48},
}
@Misc{kyoto,
author = {{United Nations}},
title = {{KYOTO PROTOCOL TO THE UNITED NATIONS FRAMEWORK CONVENTION ON CLIMATE CHANGE}},
year = {1998}
}
@Article{Chau2015395,
Title = {A review on Life Cycle Assessment, Life Cycle Energy Assessment and Life Cycle Carbon Emissions Assessment on buildings },
Author = {C.K. Chau and T.M. Leung and W.Y. Ng},
Journal = {Applied Energy },
Year = {2015},
Number = {0},
Pages = {395 - 413},
Volume = {143},
Abstract = {Abstract This paper provides a review on three streams of life cycle studies that have been frequently applied to evaluate the environmental impacts of building construction with a major focus on whether they can be used for decision making. The three streams are Life Cycle Assessment (LCA), Life Cycle Energy Assessment (LCEA) and Life Cycle Carbon Emissions Assessment (LCCO2A). They were compared against their evaluation objectives, methodologies, and findings. Although they share similar objectives in evaluating the environmental impacts over the life cycle of building construction, they show some differences in the major focuses of evaluation and methodologies employed. Generally, it has been revealed that quite consistent results can be derived from the three streams with regard to the relative contribution of different phases of life cycle. However, discrepancies occur among the findings obtained from the three streams when different compositions of fuel mixes are used in power generation, or when the overall impacts are not contributed mostly by greenhouse gases emissions. The use of different functional units in different studies also makes it difficult to compare results with benchmarks or results from previous studies. Besides, there are drawbacks in boundary scoping, methodology framework, data inventory and practices which impair their usefulness as a decision making support tool for sustainable building designs. },
Doi = {http://dx.doi.org/10.1016/j.apenergy.2015.01.023},
ISSN = {0306-2619},
Keywords = {Life Cycle Assessment},
Url = {http://www.sciencedirect.com/science/article/pii/S030626191500029X}
}
@Misc{Edifeenergia,
author = {Filipa Cardoso},
title = {NZEB: Uma definição incompleta para um conceito em evolução},
howpublished = {Edifícios e Energia},
month = {Julho},
year = {2016},
note = {Acedido em: 2019-01-18},
url = {http://www.edificioseenergia.pt/pt/noticia/nzeb-uma-definicao-incompleta-para-um-conceito-em-evolucao2607},
}
 
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
I would like to do the following corrections:

- Change the "und" to "e" that appear in both citations and bibliography;

- Change the "In" that appears in some bibliography to "Em".

I am writting a bachelor thesis and I would really appreciate if someone could lend me a hand in formatting my bibliography :D

I also sent and attachment highlighting some fields I want to be changed.



Best regards,

Diogo Remoaldo
Attachments
2.png
2.png (174.72 KiB) Viewed 3141 times
1.png
1.png (155.71 KiB) Viewed 3141 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Format specific words in citations and bibliography in Bibtex

Post by kaiserkarl13 »

You're using dinat.bst, which is a "Bi­b­li­og­ra­phy style for Ger­man texts"; there is a similar one called "spain.bst" that is for Spanish texts a level or two up in the same CTAN directory tree.

One (hack-ish) way is to make a copy of dinat.bst and change the functions at the top (push.und and push.in) to the things you want them to be. A better way would be to use a style file for the language you're using, or to generate one with "latex makebst" (I don't know how well that works with non-English bibliographies).

Good luck!
Diogo Remoaldo
Posts: 26
Joined: Mon Apr 06, 2015 8:24 pm

Format specific words in citations and bibliography in Bibtex

Post by Diogo Remoaldo »

Hi, mister kaiser how can I locate the dinar.bst on my pc. After that I just have to copy it and modify it in other folder right? I am using windows. Best regards
Post Reply