Mailing List CyrTeX-ru@vsu.ru Message #498
From: regonly noreply <CyrTeX-ru@vsu.ru>
Subject: Чем лучше делать иллюстрации?
Date: Thu, 7 Aug 2008 18:24:39 +0400
To: Cyrillic TeX Users Group <CyrTeX-ru@vsu.ru>
Добрый день, уважаемые TeXперты!

Понадобилось мне сделать диаграмму (кстати, не уверен в правильности
словоупотребления), иллюстрирующую  некую схему.

Надо сказать, что я её пока сам точно не представляю, как раз
обдумываю в процессе. По идее, мне нужен визуальный редактор, который
помог бы мне прежде всего самому разобраться в материале, а уж потом
сделать качественную иллюстрацию. Но такой, увы, мне найти не удалось.
Я в этом году испробовал целую кучу программ, так или иначе связанных
с построением схем, но вынужден констатировать, что проще взять
карандаш и бумагу. Если для скурпулёзного "вырисовывания" кое-какие из
них ещё годятся (и то с большими натяжками), то для самого
мыслительного процесса и быстрых набросков по ходу дела ни одна не
подошла.

Для TeX-а я нашёл (под Windows) ipe, TpX и jfig (пишут, что аналог
хfig). Всё, что написано на Java, можно сразу выбрасывать - это уж я
по опыту знаю. jfig тормозит настолько, что использовать его
решительно невозможно. Остаются ipe и TpX. Их я глянул мельком.
Юзабилити просто ужасное. Для рисования по ходу обдумывания они точно
не подходят, не уверен, что подойдут и для "чистовой" графики.

Наверное, могли бы помочь векторные редакторы вроде Adobe Illustrator
или Inkscape (т. е. не специально для диаграмм, а общего назначения),
но я в них работать совсем не умею.

Одним словом, думаю так: придётся рисовать на бумажке, а затем
программировать. Посоветуте, пожалуйста, к изучению чего лучше
приступить, чтобы потом на полпути не пришлось переучиваться?

В "The TikZ and PGF Packages. Manual for version 2.00" (2008 г., файл
pgfmanual, стр. 17) пишут:
--------------------------------------------------
1.2    Comparison with Other Graphics Packages

PGF is not the only graphics package for TEX. In the following, I try
to give a reasonably fair comparison of
the pgf-system and other packages.

1.  The standard LATEX {picture} environment allows you to create
simple graphics, but little more. This
is certainly not due to a lack of knowledge or imagination on the part
of LATEX's designer(s). Rather,
this is the price paid for the {picture} environments portability: It
works together with all backend
drivers.

2.  The pstricks package is certainly powerful enough to create any
conceivable kind of graphic, but it
is not portable at all. Most importantly, it does not work with pdftex
nor with any other driver that
produces anything but PostScript code.
Compared to PGF, pstricks has a broader support base.  There are many
nice extra packages for
special purpose situations that have been contributed by users over
the last decade.
The TikZ syntax is more consistent than the pstricks syntax as TikZ
was developed "in a more
centralized manner" and also "with the shortcomings on pstricks in mind".
Note that a number of neat tricks that pstricks can do are impossible
in PGF. In particular, pstricks
has access to the powerful PostScript programming language,  which
allows trickery such as inline
function plotting.

3.  The xypic package is an older package for creating graphics.
However, it is more difficult to use and
to learn because the syntax and the documentation are a bit cryptic.

4.  The dratex package is a small graphic package for creating a
graphics. Compared to the other package,
including PGF, it is very small, which may or may not be an advantage.

5.  The metapost program is a very powerful alternative to PGF.
However, it is an external program,
which entails a bunch of problems. The time needed both to create a
small graphic and also to compile
it is much greater than in PGF. The main problem with metapost,
however, is the inclusion of labels.
This is MUCH easier to achieve using PGF.

6.  The xfig program is an important alternative to TikZ for users who
do not wish to "program" their
graphics as is necessary with TikZ and the other packages above. Their
is a conversion program that
will convert xfig graphics to both TikZ and for PGF, but it is still
under construction.
--------------------------------------------------

А что посоветуете вы?
Мне как новичку трудно сделать выбор - metapost, xypic, pstricks или PGF/TikZ?

Да, забыл сказать, что итоговые документы должны быть, конечно, в PDF,
а не PostScript.
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster