Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2017
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.38 KB | None | 0 0
  1. Milnor, J.:
  2. 1. Construction of universal bundles: I, Ann. Math., (2)63:272-284 (1956).
  3. 2. Construction of universal bundles: II, Ann. Math., (2)63: 430-436 (1956).
  4. 3. On manifolds homeomorphic to the 7-sphere, Ann. Math., (2)64: 399-405
  5. (1956).
  6. 4. The theory of characteristic classes, mimeographed, Princeton University,
  7. Princeton, N.J., 1957.
  8. Milnor, J., and M. A. Kervaire:
  9. 1. Bernoulli numbers, homotopy groups, and a theorem of Rohlin, Proc. Intern.
  10. Congr. Math., 1958.
  11. Milnor, J., and E. Spanier:
  12. 1. Two remarks on fibre homotopy type, Pacific J. Math., 10: 585-590 (1960).
  13.  
  14. documentclass{article}
  15. usepackage{filecontents}
  16.  
  17. begin{filecontents*}{jobname.bib}
  18. @book{fruits,
  19. title = {The apple and the banana},
  20. publisher = {Tomatopress},
  21. editor = {Straw Berry},
  22. author = {Annoying Orange},
  23. year = {1970}
  24. }
  25. @book{fruits2,
  26. title = {The pineapple and the banana},
  27. publisher = {Tomatopress},
  28. editor = {Straw Berry},
  29. author = {Annoying Orange},
  30. year = {1971}
  31. }
  32. @book{fruits3,
  33. title = {The mangos and the banana and other tropical fruits},
  34. publisher = {Tomatopress},
  35. editor = {Straw Berry},
  36. author = {Annoying Orange and Peachy Pear},
  37. year = {1970}
  38. }
  39. end{filecontents*}
  40.  
  41.  
  42. usepackage[utf8]{inputenc}
  43. usepackage[firstinits]{biblatex}
  44.  
  45. addbibresource{jobname.bib}
  46.  
  47. makeatletter
  48. newcommand{@currentauthor}{}
  49. newcommand{@current}{}
  50. newcounter{@mybibcounter}
  51. setcounter{@mybibcounter}{0}
  52.  
  53. AtEveryBibitem{%
  54. savename{labelname}{@current}%
  55. ifdefstrequal{@currentauthor}{@current}
  56. {par}
  57. {setcounter{@mybibcounter}{0}item[]%
  58. printnames[last-first/first-last]{labelname}]par}%
  59. usedriver{}{special}%
  60. refstepcounter{@mybibcounter}expandafterlabel{thefield{entrykey}}%
  61. makebox[0em][r]{the@mybibcounter. }%
  62. }
  63.  
  64. DeclareBibliographyDriver{special}{%
  65. savename{labelname}{@currentauthor}%
  66. }
  67. makeatother
  68.  
  69. renewbibmacro{editor+others}{}
  70. renewbibmacro{author/translator+others}{}
  71. renewbibmacro{author/editor+others/translator+others}{}
  72.  
  73. defbibenvironment{bibliography}
  74. {list
  75. {}
  76. {setlength{itemindent}{-3em}%
  77. setlength{leftmargin}{3em}%
  78. setlength{itemsep}{bibitemsep}%
  79. setlength{parsep}{bibparsep}}}
  80. {endlist}
  81. {}
  82.  
  83. DeclareCiteCommand{cite}
  84. {}
  85. {printnames{labelname}~mkbibbrackets{ref{thefield{entrykey}}}}
  86. {addcommaaddspace}
  87. {}
  88.  
  89. begin{document}
  90. Hello world cite{fruits,fruits2,fruits3}.
  91.  
  92. printbibliography
  93.  
  94. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement