catdvi (and pstotext) seem to try mimicing latex's way of making page layout. that way these scripts (which i recon is both frontends to ghostscript) introduces form feeds in the text document, where latex whould have introduced a page break. also footnotes and page numbers are placed within the text in a peculiar way (not to say line numbers!).
also, all lines are wrapped and i would like newlines to appear only after paragraphs - that way one have a crude way of converting lyx to something that lyx-readers can import and work on (e.g. word). maybe postprocessing of catdvi, pstotext or ghostscript output might work - allthough i dont see how one can parse footnotes from the resulting text files ... martin On 23/08/05, Angus Leeming <[EMAIL PROTECTED]> wrote: > Martin A. Hansen wrote: > > > i am not sure this is simple - at least not for me. > > > > if ones does: > > > > 1) export lyx to latex. > > 2) run latex and bibtex in order to generate the .bbl file containing > > the bibliographic data. > > 3) convert the latex file to txt file (is that groff's doing?). > > 4) concatenate the bibliographic data to the txt file. > > > > now, the citation keys within the text also needs to be substituted > > with respect to the bibliography style selected (numbered, alphabetic, > > sorted etc.). that is tricky?!? > > Ahhhh. I see that there is no "plaintext" function within InsetBibtex. It > would be easy enough to add one to output what appears on the screen but > more than that would indeed require you to compile the LaTeX file as you > describe above. > > However, once you have the .dvi file, can't you just use that? Why not use > catdvi (catdvi.sourceforge.net) to do the work for you? > > -- > Angus > > -- Martin A. Hansen M. Sc. (Biochemistry) University Department of Growth and Reproduction Rigshospitalet Section GR 5064 Blegdamsvej 9, Copenhagen DK-2100 Denmark phone +45 35 45 51 27 fax +45 35 45 60 54 http://www.maasha.dk
