NOMBRE = libro
BIB =  ../../textos/conolibre

include ../../makegral 

texto.tex: ../../main.tex ../../textos/$(NOMBRE).s.tex ../../textos/conocimiento.s.tex ../../textos/conspiracion.s.tex  ../../textos/eleccionlibre.s.tex ../../textos/contexto.s.tex ../../textos/discusion.s.tex ../../textos/internetg.s.tex ../../textos/ontologiaI.s.tex ../../textos/venezuela.s.tex ../../textos/planes.s.tex ../../textos/creacioncomunitaria.s.tex ../../textos/ontologiaC.s.tex ../../textos/neutro.s.tex ../../textos/comprasg.s.tex ../../textos/requisitos.s.tex ../../textos/cursos.s.tex ../../textos/diccionario.s.tex ../../textos/distros.s.tex ../../textos/economia.s.tex ../../textos/hipatiam2.s.tex
	cp ../../mainbook.tex ../../main.tex 
	rm preambulo.tex
	$(STEX) textoinfo.tex 0 0 <../../textos/$(NOMBRE).s.tex >texto.tex; \
	$(STEX) contexto.info.tex A 1 <../../textos/contexto.s.tex >contexto.tex;
	$(STEX) discusion.info.tex A 2 <../../textos/discusion.s.tex >discusion.tex;
	$(STEX) conocimiento.info.tex A 1 <../../textos/conocimiento.s.tex >conocimiento.tex;
	$(STEX) conspiracion.info.tex A 1 <../../textos/conspiracion.s.tex >conspiracion.tex;
	$(STEX) eleccionlibre.info.tex A 1 <../../textos/eleccionlibre.s.tex  >eleccionlibre.tex;
	$(STEX) internetg.info.tex A 1 <../../textos/internetg.s.tex  >internetg.tex;
	$(STEX) creacioncomunitaria.info.tex A 1 <../../textos/creacioncomunitaria.s.tex  >creacioncomunitaria.tex;
	$(STEX) planes.info.tex A 1 <../../textos/planes.s.tex  >planes.tex;
	$(STEX) venezuela.info.tex A 1 <../../textos/venezuela.s.tex  >venezuela.tex;
	$(STEX) ontologiaI.info.tex A 2 <../../textos/ontologiaI.s.tex  >ontologiaI.tex;
	$(STEX) ontologiaC.info.tex A 2 <../../textos/ontologiaC.s.tex  >ontologiaC.tex;
	$(STEX) neutro.info.tex A 1 <../../textos/neutro.s.tex  >neutro.tex;
	$(STEX) comprasg.info.tex A 1 <../../textos/comprasg.s.tex  >comprasg.tex;
	$(STEX) requisitos.info.tex A 1 <../../textos/requisitos.s.tex  >requisitos.tex;
	$(STEX) cursos.info.tex A 1 <../../textos/cursos.s.tex  >cursos.tex;
	$(STEX) diccionario.info.tex A 1 <../../textos/diccionario.s.tex  >diccionario.tex;
	$(STEX) distros.info.tex A 1 <../../textos/distros.s.tex  >distros.tex;
	$(STEX) economia.info.tex A 1 <../../textos/economia.s.tex  >economia.tex;
	$(STEX) hipatiam2.info.tex A 1 <../../textos/hipatiam2.s.tex  >hipatiam2.tex;



	#cp ../../textos/$(NOMBRE).s.tex DIST/
	#cp ../../textos/conspiracion.s.tex DIST/
	#cp ../../textos/eleccionlibre.s.tex DIST/

# hay que resolver mejor esto, y los clean de los info y tex tambien


#tuve que usar rm mainaux para arreglar problema
# quizas poner Makefile makegral como parte de las dependecias de este make
