Edit Links |
Tips /
UsingMakefileToExportPDFPlease categorize this page. << | Page list | >>How you can use a Makefile to create PDF-files from LyX-filesThis mail on the users list LyxUsersThread:13877 talks about how, if you have a directory with small LyX-files, you can use a Makefile to convert them into PDF-files. Here is one solution from LyxUsersPost:13880: .SUFFIXES: .pdf .lyx SOURCES = a.lyx b.lyx c.lyx TARGETS = $(SOURCES:.lyx=.pdf) .pdf.lyx: lyx -e pdf2 $< all:$TARGETS
LYX_FILES = $(wildcard *.lyx) PDF_FILES = $(patsubst %.lyx,%.pdf,$(LYX_FILES)) all: $(PDF_FILES) |