change the language in citations











up vote
0
down vote

favorite












I am writing my phd thesis in Albanian language. And I am encountering some issues with citations into the text.
I would like to replace Levinsohn and Petrin (2003) into Levinsohn
dhe Petrin (2003).



do you have any suggestions?










share|improve this question














bumped to the homepage by Community 2 days ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 1




    Can you please make a minimal working example with bibliography (MWEB)?
    – samcarter
    Sep 20 at 21:57










  • documentclass[12pt]{mitthesis} usepackage{natbib} usepackage[english]{babel} begin{document} include{contents} include{chap1} include{chap2} include{biblio} end{document} ii use as well bibliographystyle{chicagoa} bibliography{referencaphd} where one of my articles is @article{de2014firm, title={Firm performance in a global market}, author={De Loecker, Jan and Goldberg, Pinelopi Koujianou}, journal={Annu. Rev. Econ.}, volume={6}, number={1}, pages={201--227}, year={2014}, publisher={Annual Reviews} }
    – Klodi Gj
    Sep 20 at 22:52

















up vote
0
down vote

favorite












I am writing my phd thesis in Albanian language. And I am encountering some issues with citations into the text.
I would like to replace Levinsohn and Petrin (2003) into Levinsohn
dhe Petrin (2003).



do you have any suggestions?










share|improve this question














bumped to the homepage by Community 2 days ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 1




    Can you please make a minimal working example with bibliography (MWEB)?
    – samcarter
    Sep 20 at 21:57










  • documentclass[12pt]{mitthesis} usepackage{natbib} usepackage[english]{babel} begin{document} include{contents} include{chap1} include{chap2} include{biblio} end{document} ii use as well bibliographystyle{chicagoa} bibliography{referencaphd} where one of my articles is @article{de2014firm, title={Firm performance in a global market}, author={De Loecker, Jan and Goldberg, Pinelopi Koujianou}, journal={Annu. Rev. Econ.}, volume={6}, number={1}, pages={201--227}, year={2014}, publisher={Annual Reviews} }
    – Klodi Gj
    Sep 20 at 22:52















up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am writing my phd thesis in Albanian language. And I am encountering some issues with citations into the text.
I would like to replace Levinsohn and Petrin (2003) into Levinsohn
dhe Petrin (2003).



do you have any suggestions?










share|improve this question













I am writing my phd thesis in Albanian language. And I am encountering some issues with citations into the text.
I would like to replace Levinsohn and Petrin (2003) into Levinsohn
dhe Petrin (2003).



do you have any suggestions?







citing languages






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 20 at 21:54









Klodi Gj

15




15





bumped to the homepage by Community 2 days ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 2 days ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.










  • 1




    Can you please make a minimal working example with bibliography (MWEB)?
    – samcarter
    Sep 20 at 21:57










  • documentclass[12pt]{mitthesis} usepackage{natbib} usepackage[english]{babel} begin{document} include{contents} include{chap1} include{chap2} include{biblio} end{document} ii use as well bibliographystyle{chicagoa} bibliography{referencaphd} where one of my articles is @article{de2014firm, title={Firm performance in a global market}, author={De Loecker, Jan and Goldberg, Pinelopi Koujianou}, journal={Annu. Rev. Econ.}, volume={6}, number={1}, pages={201--227}, year={2014}, publisher={Annual Reviews} }
    – Klodi Gj
    Sep 20 at 22:52
















  • 1




    Can you please make a minimal working example with bibliography (MWEB)?
    – samcarter
    Sep 20 at 21:57










  • documentclass[12pt]{mitthesis} usepackage{natbib} usepackage[english]{babel} begin{document} include{contents} include{chap1} include{chap2} include{biblio} end{document} ii use as well bibliographystyle{chicagoa} bibliography{referencaphd} where one of my articles is @article{de2014firm, title={Firm performance in a global market}, author={De Loecker, Jan and Goldberg, Pinelopi Koujianou}, journal={Annu. Rev. Econ.}, volume={6}, number={1}, pages={201--227}, year={2014}, publisher={Annual Reviews} }
    – Klodi Gj
    Sep 20 at 22:52










1




1




Can you please make a minimal working example with bibliography (MWEB)?
– samcarter
Sep 20 at 21:57




Can you please make a minimal working example with bibliography (MWEB)?
– samcarter
Sep 20 at 21:57












documentclass[12pt]{mitthesis} usepackage{natbib} usepackage[english]{babel} begin{document} include{contents} include{chap1} include{chap2} include{biblio} end{document} ii use as well bibliographystyle{chicagoa} bibliography{referencaphd} where one of my articles is @article{de2014firm, title={Firm performance in a global market}, author={De Loecker, Jan and Goldberg, Pinelopi Koujianou}, journal={Annu. Rev. Econ.}, volume={6}, number={1}, pages={201--227}, year={2014}, publisher={Annual Reviews} }
– Klodi Gj
Sep 20 at 22:52






documentclass[12pt]{mitthesis} usepackage{natbib} usepackage[english]{babel} begin{document} include{contents} include{chap1} include{chap2} include{biblio} end{document} ii use as well bibliographystyle{chicagoa} bibliography{referencaphd} where one of my articles is @article{de2014firm, title={Firm performance in a global market}, author={De Loecker, Jan and Goldberg, Pinelopi Koujianou}, journal={Annu. Rev. Econ.}, volume={6}, number={1}, pages={201--227}, year={2014}, publisher={Annual Reviews} }
– Klodi Gj
Sep 20 at 22:52












1 Answer
1






active

oldest

votes

















up vote
0
down vote













You will need to create your own bibtex style to do this, but this need not be as painful as it sounds. Indeed, here is a post which does some simple customization, and we'll use that as a template here: How to suppress some fields in abbrv.bst



You haven't specified which bibliographystyle you want to use. I'll work with abbrv here, but the same principal applies to others.




  1. Make a copy of abbrv.bst somewhere that TeX will be able to find it (e.g. the same folder as your .tex file if you don't want to play with texmf trees), and name it something like abbrv-alb.bst. [You can find abbrv.bst in your tex installation, or you can download it from here: https://ctan.org/tex-archive/biblio/bibtex/base?lang=en ]

  2. Open abbrv-alb.bst in a plain text editor, and find the following piece of code:




FUNCTION {format.names}
{ 's :=
#1 'nameptr :=
s num.names$ 'numnames :=
numnames 'namesleft :=
{ namesleft #0 > }
{ s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
nameptr #1 >
{ namesleft #1 >
{ ", " * t * }
{ numnames #2 >
{ "," * }
'skip$
if$
t "others" =
{ " et~al." * }
{ " and " * t * }
if$
}
if$
}
't
if$
nameptr #1 + 'nameptr :=
namesleft #1 - 'namesleft :=
}
while$
}



  1. Replace the line { " and " * t * } with (in your case) { " dhe " * t * }. Save the .bst file and close it.


  2. In your .tex file, be sure to replace bibliographystyle{abbrv} with bibliographystyle{abbrv-alb}, before re-compiling with latex, bibtex, latex, latex.







share|improve this answer

















  • 1




    Postscript: A broader guide to doing this more generally can be found on this great post: tex.stackexchange.com/questions/12806/…
    – rbrignall
    Sep 20 at 23:25










  • thank you for your comment, I was trying the same thing.. is it possible that I don't have at all in my folder a chicagoa.bst file??
    – Klodi Gj
    Sep 20 at 23:27










  • I only saw your comment after writing my answer. Perhaps save a copy of this file: ftp.math.utah.edu/pub/tex/bibtex/chicagoa.bst
    – rbrignall
    Sep 20 at 23:29












  • I should mention that in my folder I don't have a chicagoa.bst file... is it possible?? I have a chicagoa.tex file..in this file I made all the correction as proposed above, but now I lost all my citations and all my bibliography at the end of the document..
    – Klodi Gj
    Sep 21 at 9:30











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f451798%2fchange-the-language-in-citations%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













You will need to create your own bibtex style to do this, but this need not be as painful as it sounds. Indeed, here is a post which does some simple customization, and we'll use that as a template here: How to suppress some fields in abbrv.bst



You haven't specified which bibliographystyle you want to use. I'll work with abbrv here, but the same principal applies to others.




  1. Make a copy of abbrv.bst somewhere that TeX will be able to find it (e.g. the same folder as your .tex file if you don't want to play with texmf trees), and name it something like abbrv-alb.bst. [You can find abbrv.bst in your tex installation, or you can download it from here: https://ctan.org/tex-archive/biblio/bibtex/base?lang=en ]

  2. Open abbrv-alb.bst in a plain text editor, and find the following piece of code:




FUNCTION {format.names}
{ 's :=
#1 'nameptr :=
s num.names$ 'numnames :=
numnames 'namesleft :=
{ namesleft #0 > }
{ s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
nameptr #1 >
{ namesleft #1 >
{ ", " * t * }
{ numnames #2 >
{ "," * }
'skip$
if$
t "others" =
{ " et~al." * }
{ " and " * t * }
if$
}
if$
}
't
if$
nameptr #1 + 'nameptr :=
namesleft #1 - 'namesleft :=
}
while$
}



  1. Replace the line { " and " * t * } with (in your case) { " dhe " * t * }. Save the .bst file and close it.


  2. In your .tex file, be sure to replace bibliographystyle{abbrv} with bibliographystyle{abbrv-alb}, before re-compiling with latex, bibtex, latex, latex.







share|improve this answer

















  • 1




    Postscript: A broader guide to doing this more generally can be found on this great post: tex.stackexchange.com/questions/12806/…
    – rbrignall
    Sep 20 at 23:25










  • thank you for your comment, I was trying the same thing.. is it possible that I don't have at all in my folder a chicagoa.bst file??
    – Klodi Gj
    Sep 20 at 23:27










  • I only saw your comment after writing my answer. Perhaps save a copy of this file: ftp.math.utah.edu/pub/tex/bibtex/chicagoa.bst
    – rbrignall
    Sep 20 at 23:29












  • I should mention that in my folder I don't have a chicagoa.bst file... is it possible?? I have a chicagoa.tex file..in this file I made all the correction as proposed above, but now I lost all my citations and all my bibliography at the end of the document..
    – Klodi Gj
    Sep 21 at 9:30















up vote
0
down vote













You will need to create your own bibtex style to do this, but this need not be as painful as it sounds. Indeed, here is a post which does some simple customization, and we'll use that as a template here: How to suppress some fields in abbrv.bst



You haven't specified which bibliographystyle you want to use. I'll work with abbrv here, but the same principal applies to others.




  1. Make a copy of abbrv.bst somewhere that TeX will be able to find it (e.g. the same folder as your .tex file if you don't want to play with texmf trees), and name it something like abbrv-alb.bst. [You can find abbrv.bst in your tex installation, or you can download it from here: https://ctan.org/tex-archive/biblio/bibtex/base?lang=en ]

  2. Open abbrv-alb.bst in a plain text editor, and find the following piece of code:




FUNCTION {format.names}
{ 's :=
#1 'nameptr :=
s num.names$ 'numnames :=
numnames 'namesleft :=
{ namesleft #0 > }
{ s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
nameptr #1 >
{ namesleft #1 >
{ ", " * t * }
{ numnames #2 >
{ "," * }
'skip$
if$
t "others" =
{ " et~al." * }
{ " and " * t * }
if$
}
if$
}
't
if$
nameptr #1 + 'nameptr :=
namesleft #1 - 'namesleft :=
}
while$
}



  1. Replace the line { " and " * t * } with (in your case) { " dhe " * t * }. Save the .bst file and close it.


  2. In your .tex file, be sure to replace bibliographystyle{abbrv} with bibliographystyle{abbrv-alb}, before re-compiling with latex, bibtex, latex, latex.







share|improve this answer

















  • 1




    Postscript: A broader guide to doing this more generally can be found on this great post: tex.stackexchange.com/questions/12806/…
    – rbrignall
    Sep 20 at 23:25










  • thank you for your comment, I was trying the same thing.. is it possible that I don't have at all in my folder a chicagoa.bst file??
    – Klodi Gj
    Sep 20 at 23:27










  • I only saw your comment after writing my answer. Perhaps save a copy of this file: ftp.math.utah.edu/pub/tex/bibtex/chicagoa.bst
    – rbrignall
    Sep 20 at 23:29












  • I should mention that in my folder I don't have a chicagoa.bst file... is it possible?? I have a chicagoa.tex file..in this file I made all the correction as proposed above, but now I lost all my citations and all my bibliography at the end of the document..
    – Klodi Gj
    Sep 21 at 9:30













up vote
0
down vote










up vote
0
down vote









You will need to create your own bibtex style to do this, but this need not be as painful as it sounds. Indeed, here is a post which does some simple customization, and we'll use that as a template here: How to suppress some fields in abbrv.bst



You haven't specified which bibliographystyle you want to use. I'll work with abbrv here, but the same principal applies to others.




  1. Make a copy of abbrv.bst somewhere that TeX will be able to find it (e.g. the same folder as your .tex file if you don't want to play with texmf trees), and name it something like abbrv-alb.bst. [You can find abbrv.bst in your tex installation, or you can download it from here: https://ctan.org/tex-archive/biblio/bibtex/base?lang=en ]

  2. Open abbrv-alb.bst in a plain text editor, and find the following piece of code:




FUNCTION {format.names}
{ 's :=
#1 'nameptr :=
s num.names$ 'numnames :=
numnames 'namesleft :=
{ namesleft #0 > }
{ s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
nameptr #1 >
{ namesleft #1 >
{ ", " * t * }
{ numnames #2 >
{ "," * }
'skip$
if$
t "others" =
{ " et~al." * }
{ " and " * t * }
if$
}
if$
}
't
if$
nameptr #1 + 'nameptr :=
namesleft #1 - 'namesleft :=
}
while$
}



  1. Replace the line { " and " * t * } with (in your case) { " dhe " * t * }. Save the .bst file and close it.


  2. In your .tex file, be sure to replace bibliographystyle{abbrv} with bibliographystyle{abbrv-alb}, before re-compiling with latex, bibtex, latex, latex.







share|improve this answer












You will need to create your own bibtex style to do this, but this need not be as painful as it sounds. Indeed, here is a post which does some simple customization, and we'll use that as a template here: How to suppress some fields in abbrv.bst



You haven't specified which bibliographystyle you want to use. I'll work with abbrv here, but the same principal applies to others.




  1. Make a copy of abbrv.bst somewhere that TeX will be able to find it (e.g. the same folder as your .tex file if you don't want to play with texmf trees), and name it something like abbrv-alb.bst. [You can find abbrv.bst in your tex installation, or you can download it from here: https://ctan.org/tex-archive/biblio/bibtex/base?lang=en ]

  2. Open abbrv-alb.bst in a plain text editor, and find the following piece of code:




FUNCTION {format.names}
{ 's :=
#1 'nameptr :=
s num.names$ 'numnames :=
numnames 'namesleft :=
{ namesleft #0 > }
{ s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
nameptr #1 >
{ namesleft #1 >
{ ", " * t * }
{ numnames #2 >
{ "," * }
'skip$
if$
t "others" =
{ " et~al." * }
{ " and " * t * }
if$
}
if$
}
't
if$
nameptr #1 + 'nameptr :=
namesleft #1 - 'namesleft :=
}
while$
}



  1. Replace the line { " and " * t * } with (in your case) { " dhe " * t * }. Save the .bst file and close it.


  2. In your .tex file, be sure to replace bibliographystyle{abbrv} with bibliographystyle{abbrv-alb}, before re-compiling with latex, bibtex, latex, latex.








share|improve this answer












share|improve this answer



share|improve this answer










answered Sep 20 at 23:12









rbrignall

514311




514311








  • 1




    Postscript: A broader guide to doing this more generally can be found on this great post: tex.stackexchange.com/questions/12806/…
    – rbrignall
    Sep 20 at 23:25










  • thank you for your comment, I was trying the same thing.. is it possible that I don't have at all in my folder a chicagoa.bst file??
    – Klodi Gj
    Sep 20 at 23:27










  • I only saw your comment after writing my answer. Perhaps save a copy of this file: ftp.math.utah.edu/pub/tex/bibtex/chicagoa.bst
    – rbrignall
    Sep 20 at 23:29












  • I should mention that in my folder I don't have a chicagoa.bst file... is it possible?? I have a chicagoa.tex file..in this file I made all the correction as proposed above, but now I lost all my citations and all my bibliography at the end of the document..
    – Klodi Gj
    Sep 21 at 9:30














  • 1




    Postscript: A broader guide to doing this more generally can be found on this great post: tex.stackexchange.com/questions/12806/…
    – rbrignall
    Sep 20 at 23:25










  • thank you for your comment, I was trying the same thing.. is it possible that I don't have at all in my folder a chicagoa.bst file??
    – Klodi Gj
    Sep 20 at 23:27










  • I only saw your comment after writing my answer. Perhaps save a copy of this file: ftp.math.utah.edu/pub/tex/bibtex/chicagoa.bst
    – rbrignall
    Sep 20 at 23:29












  • I should mention that in my folder I don't have a chicagoa.bst file... is it possible?? I have a chicagoa.tex file..in this file I made all the correction as proposed above, but now I lost all my citations and all my bibliography at the end of the document..
    – Klodi Gj
    Sep 21 at 9:30








1




1




Postscript: A broader guide to doing this more generally can be found on this great post: tex.stackexchange.com/questions/12806/…
– rbrignall
Sep 20 at 23:25




Postscript: A broader guide to doing this more generally can be found on this great post: tex.stackexchange.com/questions/12806/…
– rbrignall
Sep 20 at 23:25












thank you for your comment, I was trying the same thing.. is it possible that I don't have at all in my folder a chicagoa.bst file??
– Klodi Gj
Sep 20 at 23:27




thank you for your comment, I was trying the same thing.. is it possible that I don't have at all in my folder a chicagoa.bst file??
– Klodi Gj
Sep 20 at 23:27












I only saw your comment after writing my answer. Perhaps save a copy of this file: ftp.math.utah.edu/pub/tex/bibtex/chicagoa.bst
– rbrignall
Sep 20 at 23:29






I only saw your comment after writing my answer. Perhaps save a copy of this file: ftp.math.utah.edu/pub/tex/bibtex/chicagoa.bst
– rbrignall
Sep 20 at 23:29














I should mention that in my folder I don't have a chicagoa.bst file... is it possible?? I have a chicagoa.tex file..in this file I made all the correction as proposed above, but now I lost all my citations and all my bibliography at the end of the document..
– Klodi Gj
Sep 21 at 9:30




I should mention that in my folder I don't have a chicagoa.bst file... is it possible?? I have a chicagoa.tex file..in this file I made all the correction as proposed above, but now I lost all my citations and all my bibliography at the end of the document..
– Klodi Gj
Sep 21 at 9:30


















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f451798%2fchange-the-language-in-citations%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

サソリ

広島県道265号伴広島線

Accessing regular linux commands in Huawei's Dopra Linux