On Sun, 5 May 2013, Mark A. Hershberger wrote:
On 05/05/2013 06:23 AM, Dmitrii Kouznetsov wrote:
Is it possible to make the <pdf> program
to get the data about sizes of the PDF figure from the included file?
I think it
should be possible.
Consider to make it default.
I read, you
suggest 400px as default size of the figure...
That was just something I suggested
for no particular reason. I
certainly would give that opinion any more weight than any other.
My needs may be
pretty different from needs of the most of users;
so, consider them critically.
Is it possible
to ask the <pdf> to scale the figure to fit the frame
indicated, as a default?
I'm sure this would be possible with Javascript, But
I think you are
asking for a fixed max size which is based on a default of 800x600 or
the user preference from a list of sizes. It would certainly be
possible to respect the user's preferences.
My preference would be, if the PDF
files can be loaded in the same way,
as I load the JPG,GIF and PNG.
I would use this in tens (or even hundreds) of pages.
As for the special key to zoom only the PDF images, this may be useful for
few pages; perhaps, in some appendices, for some fractals, etc.
Is that something you want to try to add? ..
Mark, not yet. I am still beginner.
Yet, I cannot add my contribution to the software.
I can only run that you do and indicate the cases,
when the MediaWiki and its extensions do something
different from that I would like them to do.
I could not install the ShortURL,
I could not install the Extension:PdfHandler.
(And I still do not understand, why the PDF files should be handled in
a way, pretty different from that for JPG, GIF and PNG.)
I could not even make a copy the "Vector" skin
(In order to leave more place for the main text,
I have to modify the original skin).
And there are many other things I still cannot do.
The version you offer seems to be very good;
but I think, it could be much better.
From my point of view, the scripts, that determine the
skins,
are too complicated. Moving one button often affects many others.
I do not unrarstand, why the sintax for the left hand side menu bar is
so different from the sintax of the regular pages.
I did not find a way to reduce the active area for the logo;
in many cases, it extends much farther than the logo image.
And there are many other things I would do in different way.
May be, one day I'll be able to make my own skin.
Below I explain, why do I learn this.
My initial intent was to use the software, that supports the formula
typing, cross-references, image uploading, and keeps memory about previous
versions; in order not to learn HTML, Java, PHP, MuSQL, nor MediaWiki..
Then in happened, that in our University, there is no one honest
specialist, that could handle MediaWiki; but there are some vandals, who
seem to be bribed by my scientific opponents, and pretend to be
specialists.. They attacked wiki "TORI", without to make any critical note
on its content at the discussion pages. They plundered its URL, and I had
to raise the international scandal in order to get it back.
My goal is not a scandal, but the simple and robust database to store my
results and links to the publications I consider to be important.
For this reason I test your MediaWiki.
I often use the equipment, and, in particular, the software, in a way,
pretty different from that the creators usually keep in thier minds.
For this reason, I catch many problems; some of them are my
errors, but other are just bugs of the software.
I already got the working version of Mediawiki, that seems to be
sufficient for my needs; but it is difficult to stop, while I see
that the installation can be done even better..
I am not sure if you understand my motivation..
I usually work on things, that are believed to be IMPOSSIBLE.
I dislike to write scripts, that can be easily programmed by the
professionals.
I could contribute, making holomorphic function(s) with required
properties (and the efficient numeric implementations),
if you need some. But I suspect, this is off-topic..