WindowsXP에서 DocBook 문서를 pdf로 변환하는데 오

닥북 활용에 대한 모든 질문과 답변

WindowsXP에서 DocBook 문서를 pdf로 변환하는데 오

전체글글쓴이: 손님 » 2004-06-08 10:00 pm

windowsXP에 docbook-xml-20030411.zip를 설치한 다음 example 디렉토리에 있는 example.xml을 html로 변환하는 작업은 성공적으로 실행됩니다.
그런데 pdf로 변환하면

C:\docbook\example>docbook2pdf example.xml example.pdf
옵션 -URIResolver의 클래스 파일을 찾을 수 없습니다.

와 같이 오류가 발생합니다.
참고로 이 시스템에는 자바 런타임 라이브러리 1.4가 설치되어 있습니다.
이것과 관련있는 것 같지는 않습니다만...

무슨 옵션이 잘못 지정된 것 같은 생각이 드는데 뭐가 문제 일까요?
좀 도와 주십시요.
손님
 

전체글글쓴이: 태근 » 2004-06-09 8:43 am

저도 같은 오류가 일어납니다.
원인은 모르겠구요.
모음집 설치하고 시험삼아 예제폴더의 xml파일을 변환해 보았는데요.
html로의 변환은 잘되었고, pdf로의 변환은 위와 같이 변환이 안되었습니다.

README.txt에 적혀있는데로 환경변수등의 수정은 다 했습니다.

제 환경은 다음과 같습니다.
WindowXP, JAVA 런타임 라이브러리는 1.4.2가 설치되어 있습니다.
태근
 

전체글글쓴이: 염태근 » 2004-06-11 12:40 am

java sdk 1.3.1 을 설치했더니 변환이 잘 되었습니다.
다만 몇가지 에러메시지가 뜨더군요.

코드: 모두 선택
C:\docbook\example>docbook2pdf example.xml example.pdf
file:/c:/docbook/stylesheet/docbook-xsl-1.60.1/fo/docbook.xsl; 행 #182; 열 #16; Making portrait pages on A4 paper (210mmx297mm)

[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] FOP 0.20.5rc2
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] building formatting object tree
[INFO] setting up fonts
[ERROR] property - "background-position-horizontal" is not implemented yet.
[ERROR] property - "background-position-vertical" is not implemented yet.
[ERROR] property - "background-position-horizontal" is not implemented yet.
[ERROR] property - "background-position-vertical" is not implemented yet.
[ERROR] property - "background-position-horizontal" is not implemented yet.
[ERROR] property - "background-position-vertical" is not implemented yet.
[ERROR] property - "background-position-horizontal" is not implemented yet.
[ERROR] property - "background-position-vertical" is not implemented yet.
[ERROR] property - "background-position-horizontal" is not implemented yet.
[ERROR] property - "background-position-vertical" is not implemented yet.
[ERROR] property - "background-position-horizontal" is not implemented yet.
[ERROR] property - "background-position-vertical" is not implemented yet.
[ERROR] property - "background-position-horizontal" is not implemented yet.
[ERROR] property - "background-position-vertical" is not implemented yet.
[ERROR] property - "background-position-horizontal" is not implemented yet.
[ERROR] property - "background-position-vertical" is not implemented yet.
[ERROR] property - "background-position-horizontal" is not implemented yet.
[ERROR] property - "background-position-vertical" is not implemented yet.
[ERROR] property - "background-position-horizontal" is not implemented yet.
[ERROR] property - "background-position-vertical" is not implemented yet.
[ERROR] property - "background-position-horizontal" is not implemented yet.
[ERROR] property - "background-position-vertical" is not implemented yet.
[ERROR] property - "background-position-horizontal" is not implemented yet.
[ERROR] property - "background-position-vertical" is not implemented yet.
[ERROR] property - "background-position-horizontal" is not implemented yet.
[ERROR] property - "background-position-vertical" is not implemented yet.
[ERROR] property - "background-position-horizontal" is not implemented yet.
[ERROR] property - "background-position-vertical" is not implemented yet.
[ERROR] property - "background-position-horizontal" is not implemented yet.
[ERROR] property - "background-position-vertical" is not implemented yet.
[ERROR] property - "background-position-horizontal" is not implemented yet.
[ERROR] property - "background-position-vertical" is not implemented yet.
[ERROR] property - "background-position-horizontal" is not implemented yet.
[ERROR] property - "background-position-vertical" is not implemented yet.
[ERROR] property - "background-position-horizontal" is not implemented yet.
[ERROR] property - "background-position-vertical" is not implemented yet.
[ERROR] property - "background-position-horizontal" is not implemented yet.
[ERROR] property - "background-position-vertical" is not implemented yet.
[ERROR] Unknown enumerated value for property 'relative-align': baseline
[ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Unknown enumerated value for property 'relative-align': baseline
[ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Unknown enumerated value for property 'relative-align': baseline
[ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Unknown enumerated value for property 'relative-align': baseline
[ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Unknown enumerated value for property 'relative-align': baseline
[ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Unknown enumerated value for property 'relative-align': baseline
[ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Unknown enumerated value for property 'relative-align': baseline
[ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Unknown enumerated value for property 'relative-align': baseline
[ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Unknown enumerated value for property 'relative-align': baseline
[ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Unknown enumerated value for property 'relative-align': baseline
[ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Unknown enumerated value for property 'relative-align': baseline
[ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Unknown enumerated value for property 'relative-align': baseline
[ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] region-name 'xsl-footnote-separator' doesn't exist in the layout-master-set.
[ERROR] Unknown enumerated value for property 'relative-align': baseline
[ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Unknown enumerated value for property 'relative-align': baseline
[ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Unknown enumerated value for property 'relative-align': baseline
[ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Unknown enumerated value for property 'relative-align': baseline
[ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Unknown enumerated value for property 'relative-align': baseline
[ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Unknown enumerated value for property 'relative-align': baseline
[ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Unknown enumerated value for property 'relative-align': baseline
[ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Unknown enumerated value for property 'relative-align': baseline
[ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Unknown enumerated value for property 'relative-align': baseline
[ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Unknown enumerated value for property 'relative-align': baseline
[ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Unknown enumerated value for property 'relative-align': baseline
[ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Unknown enumerated value for property 'relative-align': baseline
[ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in column-width property value '33%': org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in column-width property value '33%': org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in column-width property value '33%': org.apache.fop.fo.expr.PropertyException: No conversion defined
[INFO] [1]
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[ERROR] At least one of minimum, optimum, or maximum IPD must be specified on table.
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[ERROR] Couldn't find hyphenation pattern ko
[ERROR] Error building hyphenation tree for language ko
[INFO] [2]
[ERROR] Couldn't find hyphenation pattern ko
[ERROR] Error building hyphenation tree for language ko
[ERROR] Couldn't find hyphenation pattern ko
[ERROR] Error building hyphenation tree for language ko
[INFO] [3]
[INFO] Parsing of document complete, stopping renderer


하지만 변환은 되었구요. 문서도 제대로 보였습니다.
혹시 위의 에러가 무엇을 뜻하는지 아시는분 계신지요?
xml문서는 docbook 패키지안의 example.xml 파일을 사용하였습니다.
염태근
사용자
 
전체글: 1
가입일: 2004-06-09 8:44 am
사는 곳: 부산

FOP의 문제입니다

전체글글쓴이: 김민식 » 2004-06-11 8:58 am

FO를 PDF로 변환해주는 FOP가 아직 완전하지 않아서 그렇습니다. 출력물에 크게 영향을 주진 않으니, FOP가 개선될때까지 그냥 쓰는게 최선일 듯 싶습니다.
김민식
운영자
 
전체글: 40
가입일: 2003-12-28 3:55 am


다시 돌아감: 질문과 답변

접속 중인 사용자

이 포럼에 접속 중인 사용자: 접속한 회원이 없음 그리고 손님들 5 명

cron