doraTeX / TeX2img

TeX2img for macOS
https://tex2img.tech
Other
26 stars 2 forks source link

余白・解像度レベルの設定UIをWindows版に合わせる #53

Closed doraTeX closed 9 years ago

doraTeX commented 9 years ago

Windows版

Mac版

Mac版の設定UIにおけるスライダーは,場所をとる割にあまり便利ではない。それよりも,Windows版のように上下左右の余白設定が上下左右に配置されていた方が分かりやすい。Windows版の設定UIにならうのがよいのではないか。

aminophen commented 9 years ago

余白に関しては Win 版の UI のほうがわかりやすいと思っていたのは事実です。/margins オプションとの整合性の件もありましたし、変更していただけると良いですね。

doraTeX commented 9 years ago

今UIの整理に取り組んでいます。 最新のWindows版では,「元のページサイズを維持する」は「共通設定」の方に入っているのでしょうか?

aminophen commented 9 years ago

うちの解説の更新が滞りすぎていますね… Win 版はこういう感じです:

tex2imgwin163-opt002

GIF 出力自体が隠し機能なので、アニメに関する UI がないところも違っていますね。

doraTeX commented 9 years ago

ありがとうございます。Windows版にできるだけ近づけてみます。 (細かいですが,余白の単位の /BMP の前にだけスペースありませんね。)

doraTeX commented 9 years ago

こうなりました。

2015-10-19 1 18 54
abenori commented 9 years ago

ここの設定画面のUIは1.1.4からあまり変わっていないですね.(オプションが増えたのと余白を減らして詰め込んだくらい.)

(細かいですが,余白の単位の /BMP の前にだけスペースありませんね。)

ありゃ,本当ですね.ありがとうございます.手元で直しておきました.

aminophen commented 9 years ago

わかりやすい UI になったと思います。Lion で起動すると微妙に UI が切れてしまっていますが…

tex2imgmac206b1

doraTeX commented 9 years ago

ありがとうございます。OSバージョン間の表示のずれ,毎度悩まされますね……。 Lionでも正しく表示されるように調整した Ver. 2.0.6 beta 2 を作りました。 英語・日本語両リソース調整済みです。

doraTeX commented 9 years ago

CUI版の Ver. 2.0.6 beta2 も作りました。 ヘルプメッセージにおけるオプション一覧を,GUI版同様に分類して見やすくしてみました。

tex2img Ver.2.0.6b2
Usage: tex2img [options] InputFile OutputFile

Arguments:
  InputFile  : path of a TeX source or PDF/PS/EPS file
  OutputFile : path of an output file
               (*extension: eps/pdf/svg/jpg/png/gif/tiff/bmp)

Conversion Settings:
  --latex      COMPILER      : set the LaTeX compiler (default: platex)
   *synonym: --compiler
  --kanji      ENCODING      : set the Japanese encoding (no|utf8|sjis|jis|euc) (default: no)
  --[no-]guess-compile       : disable/enable guessing the appropriate number of compilation (default: enabled)
  --num        NUMBER        : set the (maximal) number of compilation
  --dvidriver  DRIVER        : set the DVI driver    (default: dvipdfmx)
   *synonym: --dviware, --dvipdfmx
  --gs         GS            : set ghostscript (default: gs)
  --resolution RESOLUTION    : set the resolution level (default: 15)
  --[no-]ignore-errors       : disable/enable ignoring nonfatal errors (default: disabled)
  --[no-]utf-export          : disable/enable substitution of \UTF{xxxx} for non-JIS X 0208 characters (default: disabled)
  --[no-]quick               : disable/enable speed priority mode (default: disabled)

Image Settings:
  --margins    "VALUE"       : set the margins (default: "0 0 0 0")
   *VALUE format:
      a single value : used for all margins
      two values     : left/right and top/bottom margins
      four values    : left, top, right, and bottom margin respectively
  --left-margin    MARGIN    : set the left margin   (default: 0)
  --top-margin     MARGIN    : set the top margin    (default: 0)
  --right-margin   MARGIN    : set the right margin  (default: 0)
  --bottom-margin  MARGIN    : set the bottom margin (default: 0)
  --unit UNIT                : set the unit of margins to "px" or "bp" (default: px)
                               (*bp is always used for EPS/PDF/SVG)
  --[no-]keep-page-size      : disable/enable keeping the original page size (default: disabled)
  --pagebox BOX              : select the page box type used as the page size (media|crop|bleed|trim|art) (default: crop)

Image Settings (peculiar to image formats):
  --[no-]transparent         : disable/enable transparent PNG/TIFF/GIF (default: enabled)
  --[no-]with-text           : disable/enable text-embedded PDF (default: disabled)
  --[no-]plain-text          : disable/enable outputting EPS as a plain text (default: disabled)
  --[no-]merge-output-files  : disable/enable merging products as a single file (PDF/TIFF) or animated GIF (default: disabled)
  --animation-delay TIME     : set the delay time (sec) of an animated GIF (default: 1)
  --animation-loop  NUMBER   : set the number of times to repeat an animated GIF (default: 0 (infinity))
  --[no-]delete-display-size : disable/enable deleting width and height attributes of SVG (default: disabled)

Behavior After Compiling:
  --[no-]preview             : disable/enable opening products (default: disabled)
  --[no-]delete-tmpfiles     : disable/enable deleting temporary files (default: enabled)
  --[no-]embed-source        : disable/enable embedding of the source in products (default: enabled)
  --[no-]copy-to-clipboard   : disable/enable copying products to the clipboard (default: disabled)

Other Options:
  --[no-]quiet               : disable/enable quiet mode (default: disabled)
  --version                  : display version info
doraTeX commented 9 years ago

仮想マシン上で 10.6, 10.7, 10.8, 10.9, 10.10 を起動し,それぞれ英語環境・日本語環境の両方で起動して,UIの崩れを全て取り除きました。これでたぶん大丈夫なはずです。

Ver. 2.0.6 としてリリースしておきました。