mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 22:06:15 +00:00
fix 459; support epsi and fig formats; fix bug in hu.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4527 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
64f38ce0cb
commit
3fac52583e
@ -1,3 +1,7 @@
|
|||||||
|
2002-06-19 Herbert Voss <voss@perce.de>
|
||||||
|
|
||||||
|
* configure.m4: add converters for epsi and (x)fig
|
||||||
|
|
||||||
2002-07-03 Vitaly Lipatov <LAV@VL3143.spb.edu>
|
2002-07-03 Vitaly Lipatov <LAV@VL3143.spb.edu>
|
||||||
|
|
||||||
* languages: add support for belarusian and kazakh
|
* languages: add support for belarusian and kazakh
|
||||||
|
@ -489,6 +489,14 @@ EOF
|
|||||||
### the graphic converter part with the predefined ones
|
### the graphic converter part with the predefined ones
|
||||||
#### Search for tne nonstandard converting progs
|
#### Search for tne nonstandard converting progs
|
||||||
#
|
#
|
||||||
|
SEARCH_PROG([for an FIG -> EPS/XPM converter], FIG2DEV, fig2dev)
|
||||||
|
if test "$FIG2DEV" = "fig2dev"; then
|
||||||
|
cat >>$outfile <<EOF
|
||||||
|
\\converter fig eps "fig2dev -L eps \$\$i \$\$o" ""
|
||||||
|
\\converter fig xpm "fig2dev -L xpm \$\$i \$\$o" ""
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
|
||||||
SEARCH_PROG([for an TIFF -> PS converter], TIFF2PS, tiff2ps)
|
SEARCH_PROG([for an TIFF -> PS converter], TIFF2PS, tiff2ps)
|
||||||
if test "$TIFF2PS" = "tiff2ps"; then
|
if test "$TIFF2PS" = "tiff2ps"; then
|
||||||
cat >>$outfile <<EOF
|
cat >>$outfile <<EOF
|
||||||
@ -510,7 +518,15 @@ SEARCH_PROG([for an EPS -> PDF converter], EPSTOPDF, epstopdf)
|
|||||||
if test "$EPSTOPDF" = "epstopdf"; then
|
if test "$EPSTOPDF" = "epstopdf"; then
|
||||||
cat >>$outfile <<EOF
|
cat >>$outfile <<EOF
|
||||||
\\converter eps pdf "epstopdf --outfile=\$\$o \$\$i" ""
|
\\converter eps pdf "epstopdf --outfile=\$\$o \$\$i" ""
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
|
||||||
|
SEARCH_PROG([for an EPSI -> EPS/XPM converter], EPS2EPS, eps2eps)
|
||||||
|
if test "$EPS2EPS" = "eps2eps"; then
|
||||||
|
cat >>$outfile <<EOF
|
||||||
\\converter epsi pdf "epstopdf --outfile=\$\$o \$\$i" ""
|
\\converter epsi pdf "epstopdf --outfile=\$\$o \$\$i" ""
|
||||||
|
\\converter epsi eps "eps2eps \$\$i $$o" ""
|
||||||
|
\\converter epsi xpm "eps2eps -sOutputFile=- \$\$i dummy.eps | convert - \$\$o" ""
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2002-07-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||||
|
|
||||||
|
* hu.po: remove space as binding of 'replace all' in search dialog
|
||||||
|
|
||||||
2002-06-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
2002-06-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||||
|
|
||||||
* ru.po: update from Vitaly Lipatov
|
* ru.po: update from Vitaly Lipatov
|
||||||
|
2
po/hu.po
2
po/hu.po
@ -4927,7 +4927,7 @@ msgstr "Cser
|
|||||||
#: src/ext_l10n.h:1127
|
#: src/ext_l10n.h:1127
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "Replace &All "
|
msgid "Replace &All "
|
||||||
msgstr "Mindet|#M "
|
msgstr "Mindet|#M"
|
||||||
|
|
||||||
#: src/ext_l10n.h:1128
|
#: src/ext_l10n.h:1128
|
||||||
msgid "Search &backwards"
|
msgid "Search &backwards"
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
|
||||||
|
|
||||||
|
* ControlInclude.C: Add warning if absolute path name and
|
||||||
|
check_typeset is used together
|
||||||
|
|
||||||
2002-06-28 Angus Leeming <leeming@lyx.org>
|
2002-06-28 Angus Leeming <leeming@lyx.org>
|
||||||
|
|
||||||
* ControlGraphics.C: changes associated with the name changes
|
* ControlGraphics.C: changes associated with the name changes
|
||||||
|
@ -78,10 +78,21 @@ void ControlInclude::load(string const & file)
|
|||||||
|
|
||||||
bool ControlInclude::fileExists(string const & file)
|
bool ControlInclude::fileExists(string const & file)
|
||||||
{
|
{
|
||||||
string const fileWithAbsPath = MakeAbsPath(file, OnlyPath(params().masterFilename_));
|
string const fileWithAbsPath = MakeAbsPath(file, OnlyPath(params().masterFilename_));
|
||||||
if (IsFileReadable(fileWithAbsPath))
|
|
||||||
return true;
|
if (params().noload){
|
||||||
else
|
|
||||||
Alert::alert(_("Specified file doesn't exist !"));
|
if (prefixIs(file, "../") || prefixIs(file, "/"))
|
||||||
return false;
|
Alert::alert(_("Warning!"),
|
||||||
|
_("On some systems, with this options only relative path names"),
|
||||||
|
_("inside the master file dir are allowed. You might get a LaTeX error!"));
|
||||||
|
}
|
||||||
|
|
||||||
|
if (IsFileReadable(fileWithAbsPath))
|
||||||
|
return true;
|
||||||
|
|
||||||
|
else
|
||||||
|
Alert::alert(_("Warning!"),
|
||||||
|
_("Specified file doesn't exist"));
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
|
||||||
|
|
||||||
|
* FormInclude.C: Comment out unneeded and wrong update mechanism
|
||||||
|
(related to bug #459)
|
||||||
|
*forms/form_include.fd: define missing callbacks (bug #459)
|
||||||
|
|
||||||
2002-07-03 Vitaly Lipatov <LAV@VL3143.spb.edu>
|
2002-07-03 Vitaly Lipatov <LAV@VL3143.spb.edu>
|
||||||
|
|
||||||
* FormDocument.C (build): add pt154 encoding
|
* FormDocument.C (build): add pt154 encoding
|
||||||
|
@ -52,6 +52,9 @@ void FormInclude::build()
|
|||||||
|
|
||||||
void FormInclude::update()
|
void FormInclude::update()
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
|
// I believe this is not needed.
|
||||||
|
// Anyway, it is plain wrong (JSpitzm 3/7/02)
|
||||||
if (controller().params().noload) {
|
if (controller().params().noload) {
|
||||||
fl_set_input(dialog_->input_filename, "");
|
fl_set_input(dialog_->input_filename, "");
|
||||||
fl_set_button(dialog_->check_typeset, 0);
|
fl_set_button(dialog_->check_typeset, 0);
|
||||||
@ -63,6 +66,7 @@ void FormInclude::update()
|
|||||||
fl_set_object_lcol(dialog_->check_visiblespace, FL_INACTIVE);
|
fl_set_object_lcol(dialog_->check_visiblespace, FL_INACTIVE);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
fl_set_input(dialog_->input_filename,
|
fl_set_input(dialog_->input_filename,
|
||||||
controller().params().cparams.getContents().c_str());
|
controller().params().cparams.getContents().c_str());
|
||||||
|
@ -81,8 +81,8 @@ shortcut:
|
|||||||
resize: FL_RESIZE_ALL
|
resize: FL_RESIZE_ALL
|
||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: check_typeset
|
name: check_typeset
|
||||||
callback:
|
callback: C_FormBaseInputCB
|
||||||
argument:
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_BUTTON
|
class: FL_BUTTON
|
||||||
@ -171,8 +171,8 @@ shortcut:
|
|||||||
resize: FL_RESIZE_ALL
|
resize: FL_RESIZE_ALL
|
||||||
gravity: FL_NoGravity FL_NoGravity
|
gravity: FL_NoGravity FL_NoGravity
|
||||||
name: check_visiblespace
|
name: check_visiblespace
|
||||||
callback:
|
callback: C_FormBaseInputCB
|
||||||
argument:
|
argument: 0
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
class: FL_BEGIN_GROUP
|
class: FL_BEGIN_GROUP
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2002-06-20 Herbert Voss <voss@perce.de>
|
||||||
|
|
||||||
|
* filetools.[C]: (readExtFromContents) add support for
|
||||||
|
(x)fig format images
|
||||||
|
|
||||||
2002-06-26 André Pönitz <poenitz@gmx.net>
|
2002-06-26 André Pönitz <poenitz@gmx.net>
|
||||||
|
|
||||||
|
@ -993,6 +993,7 @@ string const GetExtension(string const & name)
|
|||||||
// EPS %!PS-Adobe-3.0 EPSF...
|
// EPS %!PS-Adobe-3.0 EPSF...
|
||||||
// EPSI like EPS and with
|
// EPSI like EPS and with
|
||||||
// %%BeginPreview...
|
// %%BeginPreview...
|
||||||
|
// FIG #FIG...
|
||||||
// FITS ...BITPIX...
|
// FITS ...BITPIX...
|
||||||
// GIF GIF...
|
// GIF GIF...
|
||||||
// JPG JFIF
|
// JPG JFIF
|
||||||
@ -1054,10 +1055,6 @@ string const getExtFromContents(string const & filename)
|
|||||||
}
|
}
|
||||||
|
|
||||||
getline(ifs, str);
|
getline(ifs, str);
|
||||||
|
|
||||||
lyxerr[Debug::GRAPHICS] << "Scanstring: " << str.substr(0,60)
|
|
||||||
<< endl;
|
|
||||||
|
|
||||||
string const stamp = str.substr(0,2);
|
string const stamp = str.substr(0,2);
|
||||||
if (firstLine && str.size() >= 2) {
|
if (firstLine && str.size() >= 2) {
|
||||||
// at first we check for a zipped file, because this
|
// at first we check for a zipped file, because this
|
||||||
@ -1105,6 +1102,9 @@ string const getExtFromContents(string const & filename)
|
|||||||
} else if (prefixIs(str,"%TGIF")) {
|
} else if (prefixIs(str,"%TGIF")) {
|
||||||
format = "tgif";
|
format = "tgif";
|
||||||
|
|
||||||
|
} else if (prefixIs(str,"#FIG")) {
|
||||||
|
format = "fig";
|
||||||
|
|
||||||
} else if (prefixIs(str,"GIF")) {
|
} else if (prefixIs(str,"GIF")) {
|
||||||
format = "gif";
|
format = "gif";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user