Advertisement
Guest User

Untitled

a guest
Aug 20th, 2017
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.76 KB | None | 0 0
  1. Package csquotes Warning: Load 'inputenc' before 'csquotes' on input line XXX.
  2. Package csquotes Info: Checking for multilingual support...
  3. Package csquotes Info: ... found 'babel' package.
  4. Package csquotes Info: Adjusting default style.
  5. Package csquotes Warning: No style for language 'polish'.
  6.  
  7. documentclass[a4paper,twoside,openright]{report}
  8. ...
  9. usepackage[polish]{babel}
  10. usepackage{polski}
  11. usepackage{csquotes}
  12. usepackage[T1]{fontenc}
  13. usepackage[utf8]{inputenc}
  14. usepackage[
  15. style=numeric, % numeric, alphabetic, authoryear, ect.
  16. sorting=nty,
  17. isbn=false,
  18. backend=biber,]{biblatex}
  19. addbibresource{bibliography.bib}
  20. ...
  21. begin{document}
  22.  
  23. % include some chapters
  24. include{chap_prolog}
  25. ...
  26.  
  27. printbibliography
  28. end{document}
  29.  
  30. @Book{KrysWlod99,
  31. author = {Włodzimierz Krysicki and Lech Włodarski},
  32. title = {Analiza matematyczna w zadaniach},
  33. publisher = {Wydawnictwo Naukowe PWN},
  34. year = {1999},
  35. part={1},
  36. address = {Warszawa},
  37. isbn = {83-01-01460-1}
  38. }
  39.  
  40. @Article{Popper84,
  41. author = {Popper K. R.},
  42. title = {Literatura na świecie},
  43. journaltitle = {Epistemologia bez podmiotu poznającego},
  44. year = {1984},
  45. number = {12}
  46. }
  47.  
  48. documentclass[a4paper,twoside,openright,polish]{report}
  49. usepackage[utf8]{inputenc}
  50. usepackage[T1]{fontenc}
  51. usepackage{lmodern}
  52.  
  53. usepackage{babel}
  54. usepackage{csquotes}
  55. DeclareQuoteAlias{croatian}{polish}
  56. usepackage[%
  57. style=numeric, % numeric, alphabetic, authoryear, ect.
  58. sorting=nty,
  59. isbn=false,
  60. abbreviate = false,
  61. backend=biber,]{biblatex}
  62. addbibresource{polbiblio.bib}
  63.  
  64. renewcommand*{newunitpunct}{addcommaspace}
  65. renewbibmacro*{in:}{}
  66.  
  67. usepackage{xpatch}
  68.  
  69. xpatchbibdriver{book}{%
  70. newunit
  71. iffieldundef{maintitle}
  72. {printfield{volume}%
  73. printfield{part}}
  74. {}%
  75. }
  76. {%
  77. }{}{}
  78.  
  79. xpatchbibdriver{book}{%
  80. usebibmacro{publisher+location+date}%
  81. }
  82. {%
  83. usebibmacro{publisher+location+date}%
  84. newunit
  85. printfield{volume}%
  86. printfield{part}
  87. usebibmacro{finentry}
  88. }{}{}
  89.  
  90. DeclareFieldFormat{journaltitle}{mkbibquote{#1}}
  91. DeclareFieldFormat[article,periodical]{number}{nr. #1}% number of a journal
  92.  
  93. DeclareFieldFormat
  94. [article,inbook,incollection,inproceedings,patent,thesis,unpublished]
  95. {title}{mkbibemph{#1}}
  96. %
  97. renewbibmacro*{journal+issuetitle}{%
  98. usebibmacro{journal}%
  99. setunit*{addspace}%
  100. iffieldundef{series}
  101. {}
  102. {newunit
  103. printfield{series}%
  104. setunit{addspace}}%
  105. usebibmacro{issue+date}%
  106. setunit{addspace}%
  107. usebibmacro{issue}%
  108. setunit{addspace}%
  109. usebibmacro{volume+number+eid}%
  110. newunit}
  111.  
  112. renewbibmacro*{issue+date}{%
  113. iffieldundef{issue}
  114. {usebibmacro{date}}
  115. {printfield{issue}%
  116. setunit*{addspace}%
  117. usebibmacro{date}}%
  118. newunit}
  119.  
  120. renewbibmacro*{publisher+location+date}{%
  121. printlist{publisher}%
  122. iflistundef{publisher}
  123. {setunit*{addcommaspace}}
  124. {setunit*{addcommaspace}}%
  125. printlist{location}%
  126. setunit*{addspace}%
  127. usebibmacro{date}%
  128. newunit}
  129.  
  130. begin{document}
  131.  
  132. nocite{*}
  133.  
  134. printbibliography
  135.  
  136. end{document}
  137.  
  138. documentclass[a4paper,twoside,openright]{report}
  139.  
  140. usepackage[utf8]{inputenc}
  141. usepackage[T1]{fontenc}
  142. usepackage[polish]{babel}
  143. usepackage{polski}
  144.  
  145. usepackage{csquotes}
  146. DeclareQuoteStyle[quotes]{polish}
  147. {quotedblbase}
  148. {textquotedblright}
  149. [0.05em]
  150. {quotesinglbase}
  151. {fixligaturestextquoteright}
  152. DeclareQuoteAlias[quotes]{polish}{polish}
  153. DeclareQuoteOption{polish}
  154.  
  155. usepackage[
  156. style=numeric, % numeric, alphabetic, authoryear, ect.
  157. sorting=nty,
  158. isbn=false,
  159. backend=biber,]{biblatex}
  160. addbibresource{bibliography.bib}
  161. begin{document}
  162.  
  163. enquote{Najstarsze zdanie w języku polskim enquote{Day, ut ia pobrusa, a ti poziwai} zapisano w 1270 rokudots}
  164.  
  165. nocite{*}
  166.  
  167. printbibliography
  168. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement