File Converter



File Converter 一覧
txt2html テキストファイル HTML変換
latex2html TeXファイル HTML変換
dvi2html DVIファイル HTML変換
ps2html PostScriptファイル HTML変換
pdftohtml PDFファイル HTML変換
pdftotext PDFファイル TEXT変換
ps2pdf PostScriptファイル PDF変換
ps2pdf12 (Acrobat3-and-later compatibe)
ps2pdf13 (Acrobat4-and-later compatibe)

  1. 「txt2html」使用方法
    ※テキストファイルの日本語文字コードはEUCである事が前提となっております。
     EUC以外の場合はnkfコマンドで変換下さい。

    【変換例】
    %nkf -euc sample.txt > sample_euc.txt (SJIS、UTF8の場合)
    %txt2html -8 sample_euc.txt --outfile sample.html

    ※その他のコマンドオプションは「--manpage」でお調べ下さい。

  2. 「latex2html」使用方法
    ※TEXファイルの日本語文字コードはEUCである事が前提となっております。
     EUC以外の場合はnkfコマンドで変換下さい。

    【変換例】
    %nkf -euc sample.tex > sample_euc.tex (SJIS、UTF8の場合)
    %latex2html sample_euc.tex

    ※TEXファイル名(.tex拡張子を除く)のディレクトリが作成されます。
     その他のコマンドオプションは”--help”でお調べ下さい。

  3. 「dvi2html」使用方法
    「comand-syntax」
    dvi2html <options> <dvifile-without-extension> <targetdir>
    ※DVIファイル指定時は拡張子(.dvi)を付けないでください。
    <options>
     -r for landscape
     -b URL for the return address
     -a text to be included in the ADDRESS area

    【変換例】
    %dvi2html -r -b ../index.html sample sample

  4. 「ps2html」使用方法
    「command-syntax」
    Usage:ps2html [options] psfile.ps
    Options:
    -z Page numbering starts with zero
    -l Rotates landscapes by -90 degrees
    -r res Resolution [dpi]
    -t title Page title
    -a page Abstract page [html/gif]
    -c page Contents page [html/gif]
    -m page Main page
    -html Html output only (no gifs)
    --help This help screen

    【変換例】
    %ps2html sample.ps

  5. 「pdftohtml」使用方法
    「command-syntax」
    Usage:pdftohtml [options] <PDF-file> [<html-file> <xml-file>]
    Options:
    -f <int> first page to convert
    -l <int> last page to convert
    -q don't print any messages or errors
    -h print usage information
    -help print usage information
    -p exchange .pdf links by .html
    -c generate complex document
    -i ignore images
    -noframes generate no frames
    -stdout use standard output
    -zoom <fp> zoom the pdf document (default 1.5)
    -xml output for XML post-processing
    -hidden output hidden text
    -nomerge do not merge paragraphs
    -enc <string> output text encoding name
    -dev <string> output device name for Ghostscript (png16m, jpeg etc)
    -v print copyright and version info
    -opw <string> owner password (for encrypted files)
    -upw <string> user password (for encrypted files)

    【変換例】
    %pdftohtml -c sample.pdf

    ※標準のエンコーディングはEUC-JPになっております。
     EUC以外の場合は以下のオプションを付与下さい。
      -enc [Shift-JIS or UTF-8]

  6. 「pdftotext」使用方法
    「command-syntax」
    Usage:pdftotext [options] <PDF-file> [<text-file>]
    Options:
    -f <int> first page to convert
    -l <int> last page to convert
    -layout maintain original physical layout
    -raw keep strings in content stream order
    -htmlmeta generate a simple HTML file, including the meta information
    -enc <string> output text encoding name
    -eol <string> output end-of-line convention (unix, dos, or mac)
    -nopgbrk don't insert page breaks between pages
    -opw <string> owner password (for encrypted files)
    -upw <string> user password (for encrypted files)
    -q don't print any messages or errors
    -cfg <string> configuration file to use in place of .xpdfrc
    -v print copyright and version info
    -h print usage information
    -help print usage information
    --help print usage information
    -? print usage information

    【変換例】
    %pdftotext sample.pdf sample.txt

    ※標準のエンコーディングはEUC-JPになっております。
     EUC以外の場合は以下のオプションを付与下さい。
      -enc [Shift-JIS or UTF-8]

  7. 「ps2pdf」「ps2pdf12」「ps2pdf13」使用方法
    「command-syntax」
    Usage:ps2pdfwr [options...] (input.[e]ps|-) [output.pdf|-]

    【変換例】
    %ps2pdf sample.ps sample.pdf



トップページに戻る