I am new to LaTeX basically a perl developer,
I am trying to automate Bibliographies styles by providing separate tags for each and every fields like shown in the below, and also I am trying to create the output for that coding like I shown below, I am getting errors when a newline is inside bibitem and also creating extra space, how to rectify this updated Sample:
\documentclass{article}
\newcommand\JRNL[1]{#1}
\newcommand\AUGRP[1]{{#1}}
\newcommand\AUTHOR[1]{#1}
\newcommand\SNM[1]{#1}
\newcommand\INITS[1]{#1}
\newcommand\SEP[1]{#1}
\newcommand\ATITLE[1]{#1}
\newcommand\JTITLE[1]{{\em #1}}
\newcommand\VOLUME[1]{#1}
\newcommand\YEAR[1]{#1}
\newcommand\FPAGE[1]{#1}
\newcommand\LPAGE[1]{#1}
\begin{document}
\begin{thebibliography}{9}
\bibitem{bib1}
\JRNL{\AUGRP{\AUTHOR{\INITS{A.}\SEP{ }\SNM{Chorry}}\SEP{, }
\AUTHOR{\INITS{B.}\SEP{ }\SNM{Patkddds}}\SEP{, `}}
\ATITLE{intersections in spaces}\SEP{', }
\JTITLE{Ser. A}\SEP{ }
\VOLUME{117}\SEP{ (}
\YEAR{2010}\SEP{) }
\FPAGE{1095}\SEP{--}
\LPAGE{1106}\SEP{.}}
\end{thebibliography}
\end{document}
Output:
A. Chorry, B. Patkddds, `Intersections in spaces', Ser. A. 117 (2010), 1095--1106.
actual problem for me is, I just need to hide the space created by Latex inside bibitem after the single newline character, is it possible to Deactivate the automatic space created by latex after that single newline??, other style related things, i managed myself, for example:
\VOLUME{117}\SEP{ (}
\YEAR{2010}\SEP{) }
I don't want the automatic space generated by Latex after "("
My output is looking like this
A. Chorry, B. Patkddds, `Intersections in spaces', Ser. A. 117 ( 2010), 1095--1106.
Please guide me

biblatex. Therefor you have to save your bibliography material inside a separatebib-file. Here at TeX.SX you will find a lot of examples. http://tex.stackexchange.com/questions/tagged/biblatex?sort=votes&pageSize=50 – Marco Daniel Dec 13 '13 at 11:42biblatexis absolutely recommended. – Marco Daniel Dec 13 '13 at 12:25\bibitem-output. Which tool do you use? – Marco Daniel Dec 13 '13 at 12:38%. – StrongBad Dec 13 '13 at 12:39\ignorespaces-- I hope it is what you want. – Marco Daniel Dec 13 '13 at 12:48