Guest User

Untitled

a guest
Dec 18th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. documentclass{article}
  2.  
  3. % https://texfaq.org/FAQ-isitanum
  4. defIsPositive#1{%
  5. TTfi%
  6. ifcat_ifnum0<0#1 _else Afi%
  7. }
  8.  
  9. newcommand*{RequirePosInt}[1]{%
  10. ifIsPositive{#1}%
  11. typeout{Is positive integer: #1}%
  12. else%
  13. PackageError{requireinteger}{Positive integer expected: #1}{}%
  14. fi%
  15. }
  16.  
  17. usepackage{hyperref}
  18. newcommand*{OCLC}[1]{OCLC: href{https://www.worldcat.org/oclc/#1}{#1}RequirePosInt{#1}}
  19.  
  20. usepackage[style=numeric,backend=biber,natbib=true]{biblatex}
  21. usepackage{filecontents}
  22. begin{filecontents}{jobname.bib}
  23. @inproceedings{huh_phenomenological_1991,
  24. location = {{Tsukuba, Japan}},
  25. title = {A Phenomenological Model of Diesel Spray Atomization},
  26. volume = {2},
  27. booktitle = {Proceedings of the International Conference on Multiphase Flows},
  28. author = {Huh, K. Y. and Gosman, A. D.},
  29. editor = {Matsui, G.},
  30. date = {1991},
  31. pages = {515--518},
  32. addendum = {OCLC{831380048}}
  33. }
  34.  
  35. @article{huh_diesel_1998,
  36. title = {Diesel Spray Atomization Model Considering Nozzle Exit Turbulence Conditions},
  37. volume = {8},
  38. issn = {1044-5110},
  39. doi = {10.1615/AtomizSpr.v8.i4.60},
  40. number = {4},
  41. journaltitle = {Atomization and Sprays},
  42. author = {Huh, Kang Y. and Lee, Eunju and Koo, Jaye},
  43. date = {1998},
  44. pages = {453--469}
  45. }
  46. end{filecontents}
  47.  
  48. addbibresource{jobname.bib}
  49.  
  50. DeclareSourcemap{
  51. maps[datatype=bibtex]{
  52. map[overwrite]{
  53. step[fieldsource=entrykey, match={huh_phenomenological_1991}, final]
  54. step[fieldset=addendum, fieldvalue={OCLC{831380048} (See the citation for citet{huh_diesel_1998} for a note about an error in this paper.)}]
  55. }
  56. }
  57. }
  58.  
  59. begin{document}
  60. nocite{huh_phenomenological_1991}
  61.  
  62. printbibliography
  63.  
  64. end{document}
Add Comment
Please, Sign In to add comment