mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-21 17:51:03 +00:00
Whitespace, nothing but whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9131 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e5706b107d
commit
eb00187fea
@ -319,7 +319,7 @@ translation percentage of at least 50%.
|
||||
+----------------------------------------------------+
|
||||
af am ar az be bg bs ca cs da de el en en_GB eo es
|
||||
4 0 0 1 9 4 1 40 41 60 78 17 1 5 13 68
|
||||
|
||||
|
||||
et eu fa fi fr ga gl he hr hu id is it ja ko lg
|
||||
+-------------------------------------------------+
|
||||
a2ps | [] [] [] () () |
|
||||
@ -456,7 +456,7 @@ translation percentage of at least 50%.
|
||||
+-------------------------------------------------+
|
||||
et eu fa fi fr ga gl he hr hu id is it ja ko lg
|
||||
22 2 1 26 106 28 24 8 10 41 33 1 26 33 12 0
|
||||
|
||||
|
||||
lt lv mk mn ms mt nb nl nn no nso pl pt pt_BR ro ru
|
||||
+-----------------------------------------------------+
|
||||
a2ps | [] [] () () [] [] [] |
|
||||
@ -593,7 +593,7 @@ translation percentage of at least 50%.
|
||||
+-----------------------------------------------------+
|
||||
lt lv mk mn ms mt nb nl nn no nso pl pt pt_BR ro ru
|
||||
1 2 0 3 12 0 10 69 6 7 1 40 26 36 76 63
|
||||
|
||||
|
||||
sk sl sr sv ta th tr uk ven vi wa xh zh_CN zh_TW zu
|
||||
+-----------------------------------------------------+
|
||||
a2ps | [] [] [] [] | 16
|
||||
|
42
ANNOUNCE
42
ANNOUNCE
@ -6,7 +6,7 @@ We are glad to announce the release of LyX 1.3.0.
|
||||
As with the previous major version 1.2.0, many things make this new
|
||||
release an exciting one. One of the major projects that has been going
|
||||
on behind the scenes is the so-called GUI-independence project. We are
|
||||
glad to announce that version 1.3.0 shows the first results of this.
|
||||
glad to announce that version 1.3.0 shows the first results of this.
|
||||
LyX now comes in two flavours: Qt-LyX and xforms-LyX!
|
||||
|
||||
Although this is the most visible change in version 1.3, this should not
|
||||
@ -18,12 +18,12 @@ http://www.lyx.org/ has to say on the subject:
|
||||
|
||||
LyX is an advanced open source document processor that encourages an
|
||||
approach to writing based on the structure of your documents, not their
|
||||
appearance. LyX lets you concentrate on writing, leaving details of
|
||||
appearance. LyX lets you concentrate on writing, leaving details of
|
||||
visual layout to the software.
|
||||
|
||||
LyX runs on many Unix platforms (including MacOS X), OS/2, and under
|
||||
Windows/Cygwin. Note that all these ports use the same xforms interface
|
||||
and therefore need an X server.
|
||||
Windows/Cygwin. Note that all these ports use the same xforms interface
|
||||
and therefore need an X server.
|
||||
|
||||
You can download LyX 1.3.0 here :
|
||||
|
||||
@ -39,17 +39,17 @@ and it should shortly propagate to the following mirrors :
|
||||
ftp://ftp.icm.edu.pl/vol/rzm0/lyx/stable/lyx-1.3.0.tar.gz
|
||||
|
||||
|
||||
Prebuild binaries (mainly rpms for linux distributions) should soon be
|
||||
Prebuild binaries (mainly rpms for linux distributions) should soon be
|
||||
available at
|
||||
ftp://ftp.lyx.org/pub/lyx/bin/1.3.0
|
||||
|
||||
|
||||
If you find what you think is a bug in LyX 1.3.0, you may either
|
||||
e-mail the LyX developers' mailing list (lyx-devel@lists.lyx.org), or open
|
||||
a bug report at http://bugzilla.lyx.org
|
||||
|
||||
If you're having trouble using the new version of LyX, or have a question,
|
||||
first check out http://www.lyx.org/help/, and e-mail the LyX users' list
|
||||
(lyx-users@lists.lyx.org) if you can't find an answer there.
|
||||
first check out http://www.lyx.org/help/, and e-mail the LyX users' list
|
||||
(lyx-users@lists.lyx.org) if you can't find an answer there.
|
||||
|
||||
Enjoy!
|
||||
|
||||
@ -77,15 +77,15 @@ Note also that the xforms library has been very recently updated to
|
||||
version 1.0. This version has been released under the LGPL (Lesser
|
||||
General Public License), and the availability of the source means that
|
||||
many bugs that have been plaguing LyX have been fixed in xforms. You
|
||||
are advised to upgrade to xforms 1.0 to enjoy all these new fixes.
|
||||
are advised to upgrade to xforms 1.0 to enjoy all these new fixes.
|
||||
In fact, LyX 1.3.0 no longer supports versions of xforms older than 0.89.5.
|
||||
Moreover, support for xforms older than 1.0 will be removed in the next
|
||||
release. You have been warned ;-)
|
||||
|
||||
In most cases the dialogs have been designed to make it impossible to input
|
||||
invalid parameters. The exception to this rule is the input of length data.
|
||||
Power LaTeX users can still input obtuse "glue lengths", but the widgets are
|
||||
highlighted in red if this input is invalid or incomplete. This visual
|
||||
In most cases the dialogs have been designed to make it impossible to input
|
||||
invalid parameters. The exception to this rule is the input of length data.
|
||||
Power LaTeX users can still input obtuse "glue lengths", but the widgets are
|
||||
highlighted in red if this input is invalid or incomplete. This visual
|
||||
feedback makes it easy to see why LyX won't allow you to Apply your changes.
|
||||
|
||||
** Gnome frontend
|
||||
@ -98,8 +98,8 @@ developer's list.
|
||||
** Instant preview
|
||||
|
||||
preview-latex is an emacs package for LaTeX that allows "instant previews"
|
||||
of LaTeX code, so you can immediately see the visual rendering of the
|
||||
LaTeX in the document. Its project home page can be found at
|
||||
of LaTeX code, so you can immediately see the visual rendering of the
|
||||
LaTeX in the document. Its project home page can be found at
|
||||
http://sourceforge.net/projects/preview-latex. With the help of David
|
||||
Kastrup, the author, LyX 1.3.0 can harness this functionality to
|
||||
allow instant previews in the LyX window of math equations and
|
||||
@ -116,7 +116,7 @@ a formula, showing the nesting by small purple decorations in the
|
||||
formula itself and revealing the names of the nesting levels in the
|
||||
minibuffer. There is now native support for symbols from the wasy
|
||||
package containing e.g. the zodiac symbols. New also is the internal
|
||||
structure of font changes which are now proper "insets", just like
|
||||
structure of font changes which are now proper "insets", just like
|
||||
anything else from a square root to an array. This not only simplifies
|
||||
the code greatly but also allows the same editing tricks as for the
|
||||
"regular" math. However, it was not possible to tweak the visible
|
||||
@ -138,8 +138,8 @@ trickery is not needed anymore. The most visible changes are the following:
|
||||
** Reading old files
|
||||
|
||||
LyX now has a new script lyx2lyx which enables the reading of any file
|
||||
produced by LyX versions as old as 0.12. Work is in progress on files
|
||||
created with LyX 0.10 (LyX 1.4 time-line) and still older files are
|
||||
produced by LyX versions as old as 0.12. Work is in progress on files
|
||||
created with LyX 0.10 (LyX 1.4 time-line) and still older files are
|
||||
in the forge. Basically if lyx wrote it LyX will read it. :-)
|
||||
|
||||
There is also a strong demand to be able to read files produced by
|
||||
@ -153,11 +153,11 @@ to do such things, the filters to `downgrade' LyX files (from 1.3.0 to
|
||||
equations if they are available (it is not necessary anymore to
|
||||
configure your font server).
|
||||
|
||||
- The Insert>Short Title allows the addition of an optional text
|
||||
for section headings and captions that is designed to be used in
|
||||
- The Insert>Short Title allows the addition of an optional text
|
||||
for section headings and captions that is designed to be used in
|
||||
tables of contents.
|
||||
|
||||
- The Insert>Float>Floatflt Figure menu item restores the ability
|
||||
- The Insert>Float>Floatflt Figure menu item restores the ability
|
||||
to wrap text around an image which was present in 1.1.6 and
|
||||
removed in 1.2.0
|
||||
|
||||
|
1572
ChangeLog.1
1572
ChangeLog.1
File diff suppressed because it is too large
Load Diff
6
INSTALL
6
INSTALL
@ -7,12 +7,12 @@ Quick compilation guide
|
||||
These four steps will compile, test and install LyX:
|
||||
|
||||
0) Linux users beware: if compiling the Qt frontend, you need
|
||||
qt and qt-devel packages of the same version to compile LyX.
|
||||
qt and qt-devel packages of the same version to compile LyX.
|
||||
|
||||
1) ./configure
|
||||
configures LyX to your system. By default, LyX configures
|
||||
the xforms frontend, use --with-frontend=qt to build a Qt
|
||||
version. You may have to set
|
||||
version. You may have to set
|
||||
--with-qt-dir=<path-to-your-qt-installation> to succeed.
|
||||
|
||||
2) make
|
||||
@ -169,7 +169,7 @@ flags:
|
||||
|
||||
You can use this feature to install more than one version of LyX
|
||||
on the same system. You can optionally specify a "version" of your
|
||||
own, by doing something like :
|
||||
own, by doing something like :
|
||||
./configure --with-version-suffix=-latestcvs
|
||||
|
||||
Note that the standard configure options --program-prefix,
|
||||
|
494
OLD-CHANGES
494
OLD-CHANGES
File diff suppressed because it is too large
Load Diff
@ -7,17 +7,17 @@ Qt/Mac library, and a custom application bundle.
|
||||
|
||||
You will need the MacOSX development tools. The procedure described
|
||||
here builds LyX linked with a static Qt library. If you are using the
|
||||
tcsh shell, change the "export VAR=value" statements to
|
||||
tcsh shell, change the "export VAR=value" statements to
|
||||
"setenv VAR value".
|
||||
|
||||
1. Download the GPL-licensed Qt/Mac Free Edition library source code
|
||||
from <http://www.trolltech.com/download/qt/mac.html>, untar in a
|
||||
convenient directory, cd to the top of the Qt source hierarcy, and:
|
||||
|
||||
export QTDIR=`pwd`
|
||||
export QTDIR=`pwd`
|
||||
sudo gcc_select 3.3
|
||||
./configure -static -no-exceptions [for Panther, use "./configure -static -no-exceptions -lresolv"]
|
||||
make
|
||||
make
|
||||
rm lib/libqt.la
|
||||
|
||||
2. Download the LyX/Mac skeleton from
|
||||
@ -25,7 +25,7 @@ convenient directory, cd to the top of the Qt source hierarcy, and:
|
||||
unpack it in /Applications. Change the references to "1.4.0" in
|
||||
/Applications/LyX.app/Contents/Info.plist to reflect the current
|
||||
version number.
|
||||
|
||||
|
||||
3. Using the same terminal session you used to build the Qt library,
|
||||
cd to the top of the LyX source hierarchy, and:
|
||||
|
||||
|
@ -191,7 +191,7 @@ SET LANGUAGE=de_DE rem german menus and messages
|
||||
of Warp, I recommend:
|
||||
|
||||
1) In filenames use only A-Z, a-z, 1-9.
|
||||
|
||||
|
||||
2) Use a recent LaTeX package inputenc.sty. Select
|
||||
Layout->Document->Encoding:latin1, so that LyX adds
|
||||
the LaTeX command '\usepackage[latin1]{inputenc}'.
|
||||
|
@ -19,7 +19,7 @@
|
||||
* delim.xbm:
|
||||
* delim1.xpm: Redesign of Delimiters dialogue in mathed.
|
||||
Cleaner, smaller.
|
||||
|
||||
|
||||
2002-06-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||
|
||||
* delim1.xpm: new file
|
||||
@ -54,7 +54,7 @@
|
||||
2002-03-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||
|
||||
* style.xbm:
|
||||
* font.xbm:
|
||||
* font.xbm:
|
||||
* deco.xbm: remove first, empty line (again!)
|
||||
|
||||
2002-03-07 Martin Vermeer <martin.vermeer@hut.fi>
|
||||
|
@ -88,7 +88,7 @@ IE-mail: ron@18james.com
|
||||
@bHartmut Haase (HHa)
|
||||
@iE-mail: hha4491@atomstromfrei.de
|
||||
German translation of the documentation
|
||||
@bHelge Hafting
|
||||
@bHelge Hafting
|
||||
@iE-mail: helgehaf@aitel.hist.no
|
||||
Norwegian documentation and localization
|
||||
@bClaus Hentschel
|
||||
@ -162,7 +162,7 @@ IE-mail: ron@18james.com
|
||||
Qt2 frontend, GUII work, bugfixes
|
||||
@bLing Li
|
||||
@iE-mail: ling@caltech.edu
|
||||
added native support for \makebox to mathed. Several bug fixes,
|
||||
added native support for \makebox to mathed. Several bug fixes,
|
||||
both to the source code and to the llncs layout file.
|
||||
@bJosé Matos
|
||||
@iE-mail: jamatos@novalis.fc.up.pt
|
||||
|
@ -2,18 +2,18 @@
|
||||
# ==================================================================
|
||||
#
|
||||
# LyX, the High Level Word Processor
|
||||
#
|
||||
#
|
||||
# Copyright (C) 1995-1997 Asger Alstrup & The LyX Team
|
||||
#
|
||||
# ==================================================================
|
||||
|
||||
#
|
||||
# This is the Mac flavour bind file for LyX/Mac 1.4.x, based on
|
||||
# This is the Mac flavour bind file for LyX/Mac 1.4.x, based on
|
||||
# bindings found in the Mac world.
|
||||
#
|
||||
# DO NOT CHANGE THIS DEFAULT BINDING FILE! It will be replaced
|
||||
# with every new install of LyX and your changes will be lost.
|
||||
# Instead, customize a copy of this file placed in
|
||||
# with every new install of LyX and your changes will be lost.
|
||||
# Instead, customize a copy of this file placed in
|
||||
# ~/.lyx/bind/.
|
||||
#
|
||||
# Happy tuning!
|
||||
@ -113,7 +113,7 @@
|
||||
\bind "S-M-Up" "paragraph-up-select"
|
||||
\bind "S-M-Down" "paragraph-down-select"
|
||||
\bind "S-C-Left" "line-begin-select"
|
||||
\bind "S-C-Right" "line-end-select"
|
||||
\bind "S-C-Right" "line-end-select"
|
||||
\bind "S-Prior" "screen-up-select"
|
||||
\bind "S-Next" "screen-down-select"
|
||||
\bind "S-C-Up" "buffer-begin-select"
|
||||
@ -132,7 +132,7 @@
|
||||
\bind "S-M-KP_Up" "paragraph-up-select"
|
||||
\bind "S-M-KP_Down" "paragraph-down-select"
|
||||
\bind "S-KP_Home" "line-begin-select"
|
||||
\bind "S-KP_End" "line-end-select"
|
||||
\bind "S-KP_End" "line-end-select"
|
||||
\bind "S-KP_Prior" "screen-up-select"
|
||||
\bind "S-KP_Next" "screen-down-select"
|
||||
\bind "S-C-KP_Home" "buffer-begin-select"
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
* lyx2lyx: moved code to LyX module making effectively lyx2lyx and
|
||||
interface to the LyX module.
|
||||
|
||||
|
||||
* LyX.py: white space changes. New class that serves as the basis
|
||||
to two derived classes. One for reading and another for new files.
|
||||
New function get_toc, to be used in Doc_toc.py in the
|
||||
@ -165,7 +165,7 @@
|
||||
2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||
|
||||
* lyx2lyx: up the format to 232.
|
||||
|
||||
|
||||
* lyx2lyx: up the format to 231.
|
||||
|
||||
2004-03-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||
@ -208,7 +208,7 @@
|
||||
|
||||
2003-12-19 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* lyxconvert_227.py (convert_collapsable):
|
||||
* lyxconvert_227.py (convert_collapsable):
|
||||
* lyxrevert_228.py (convert_collapsable): a more robust method of
|
||||
finding the collapsed status.
|
||||
|
||||
@ -290,4 +290,4 @@
|
||||
* lyxconvert_223.py:
|
||||
* lyxconvert_224.py (convert_minipage): move funtion to its right place.
|
||||
(convert_breaks): convert line and page break, at bottom and top.
|
||||
|
||||
|
||||
|
@ -457,7 +457,7 @@ def revert_end_document(file):
|
||||
# New:
|
||||
#\begin layout Standard
|
||||
#
|
||||
#\newpage
|
||||
#\newpage
|
||||
#
|
||||
#\lyxline
|
||||
#\begin_inset VSpace xxx
|
||||
@ -472,12 +472,12 @@ def revert_end_document(file):
|
||||
#
|
||||
#\begin_inset VSpace xxx
|
||||
#\end_inset
|
||||
#\lyxline
|
||||
#\lyxline
|
||||
#
|
||||
#\newpage
|
||||
#
|
||||
#\end_layout
|
||||
def convert_breaks(file):
|
||||
def convert_breaks(file):
|
||||
i = 0
|
||||
while 1:
|
||||
i = find_token(file.body, "\\begin_layout", i)
|
||||
@ -519,7 +519,7 @@ def convert_breaks(file):
|
||||
# Create an empty paragraph for line and page break that belong
|
||||
# above the paragraph
|
||||
if pb_top !=-1 or line_top != -1 or vspace_bot != -1:
|
||||
|
||||
|
||||
paragraph_above = ['','\\begin_layout Standard','','']
|
||||
|
||||
if pb_top != -1:
|
||||
@ -544,7 +544,7 @@ def convert_breaks(file):
|
||||
return
|
||||
|
||||
if pb_top !=-1 or line_top != -1 or vspace_bot != -1:
|
||||
|
||||
|
||||
paragraph_bellow = ['','\\begin_layout Standard','','']
|
||||
|
||||
if line_bot != -1:
|
||||
@ -1540,7 +1540,7 @@ def convert(file):
|
||||
if file.end_format == file.format:
|
||||
return
|
||||
|
||||
|
||||
|
||||
def revert(file):
|
||||
table = { 236: [use_x_binary],
|
||||
235: [denormalize_papersize, remove_begin_body,remove_begin_header,
|
||||
|
@ -20,7 +20,7 @@ commands (see the Syntax Files section of the man page). Also, if you have
|
||||
an underscore in a file name, you have to use the LaTeX style of \input. That
|
||||
is, write "\input{a_b}" instead of the old TeX style "\input a_b" (even though
|
||||
the latter is legal LaTeX). If \includegraphics can't be copied for various
|
||||
reasons (see the reLyX man page), underscore will break. Finally,
|
||||
reasons (see the reLyX man page), underscore will break. Finally,
|
||||
\label{foo_bar} in math mode will break.
|
||||
|
||||
- Complicated nesting could confuse matters. Simple nesting, including nesting
|
||||
@ -49,7 +49,7 @@ math mode. Write \mathbf{foo} explicitly in the LyX file instead.
|
||||
a reference to "Dr." in the LyX file, with an extra "foo}" printed as
|
||||
regular text
|
||||
|
||||
- \end or \begin in a \newcommand, for example, will really confuse reLyX,
|
||||
- \end or \begin in a \newcommand, for example, will really confuse reLyX,
|
||||
because they're not being used for their regular purpose of starting or
|
||||
ending an environment. Put the \newcommand in the preamble to avoid this
|
||||
problem.
|
||||
|
@ -364,7 +364,7 @@ void BufferView::Pimpl::setBuffer(Buffer * b)
|
||||
// hidden. This should go here because some dialogs (eg ToC)
|
||||
// require bv_->text.
|
||||
owner_->getDialogs().updateBufferDependent(true);
|
||||
}
|
||||
}
|
||||
|
||||
update();
|
||||
updateScrollbar();
|
||||
|
@ -1095,7 +1095,7 @@ void Buffer::makeDocBookFile(string const & fname,
|
||||
preamble += "<!ENTITY % output.print.eps \"IGNORE\">\n";
|
||||
preamble += "<!ENTITY % output.print.bmp \"IGNORE\">\n";
|
||||
}
|
||||
|
||||
|
||||
string const name = runparams.nice ? ChangeExtension(pimpl_->filename, ".sgml")
|
||||
: fname;
|
||||
preamble += features.getIncludedFiles(name);
|
||||
|
@ -217,11 +217,11 @@ Buffer * BufferList::getBuffer(unsigned int choice)
|
||||
}
|
||||
|
||||
|
||||
Buffer * BufferList::next(Buffer const * buf) const
|
||||
Buffer * BufferList::next(Buffer const * buf) const
|
||||
{
|
||||
if (bstore.empty())
|
||||
return 0;
|
||||
BufferStorage::const_iterator it = find(bstore.begin(),
|
||||
BufferStorage::const_iterator it = find(bstore.begin(),
|
||||
bstore.end(), buf);
|
||||
BOOST_ASSERT(it != bstore.end());
|
||||
++it;
|
||||
@ -232,11 +232,11 @@ Buffer * BufferList::next(Buffer const * buf) const
|
||||
}
|
||||
|
||||
|
||||
Buffer * BufferList::previous(Buffer const * buf) const
|
||||
Buffer * BufferList::previous(Buffer const * buf) const
|
||||
{
|
||||
if (bstore.empty())
|
||||
return 0;
|
||||
BufferStorage::const_iterator it = find(bstore.begin(),
|
||||
BufferStorage::const_iterator it = find(bstore.begin(),
|
||||
bstore.end(), buf);
|
||||
BOOST_ASSERT(it != bstore.end());
|
||||
if (it == bstore.begin())
|
||||
|
@ -1216,7 +1216,7 @@ void BufferParams::readBullets(LyXLex & lex)
|
||||
temp_bullet(index).setCharacter(temp_int);
|
||||
lex >> temp_int;
|
||||
user_defined_bullet(index).setSize(temp_int);
|
||||
temp_bullet(index).setSize(temp_int);
|
||||
temp_bullet(index).setSize(temp_int);
|
||||
}
|
||||
|
||||
|
||||
|
@ -12,7 +12,7 @@ AM_CXXFLAGS = $(PCH_FLAGS)
|
||||
|
||||
if USE_INCLUDED_BOOST
|
||||
BOOST_LIBS = $(top_builddir)/boost/libs/filesystem/src/libboostfilesystem.la \
|
||||
$(top_builddir)/boost/libs/regex/src/libboostregex.la
|
||||
$(top_builddir)/boost/libs/regex/src/libboostregex.la
|
||||
else
|
||||
BOOST_LIBS = -lboost_regex -lboost_filesystem
|
||||
endif
|
||||
|
@ -243,12 +243,12 @@ bool LCursor::getStatus(FuncRequest const & cmd, FuncStatus & status)
|
||||
idx() = lastidx();
|
||||
}
|
||||
if (par() > lastpar()) {
|
||||
lyxerr << "wrong par " << par() << ", max is " << lastpar()
|
||||
lyxerr << "wrong par " << par() << ", max is " << lastpar()
|
||||
<< ". Trying to correct this." << endl;
|
||||
par() = lastpar();
|
||||
}
|
||||
if (pos() > lastpos()) {
|
||||
lyxerr << "wrong pos " << pos() << ", max is " << lastpos()
|
||||
lyxerr << "wrong pos " << pos() << ", max is " << lastpos()
|
||||
<< ". Trying to correct this." << endl;
|
||||
pos() = lastpos();
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
2004-10-23 John Spray <spray_john@users.sourceforge.net>
|
||||
|
||||
* ghelpers.[Ch]: Add buildLengthUnitList() to get vector of
|
||||
* ghelpers.[Ch]: Add buildLengthUnitList() to get vector of
|
||||
available length unit strings
|
||||
* The Graphics dialog:
|
||||
Dialogs.C, Makefile.am, GGraphics.C, GGraphics.h
|
||||
|
@ -95,7 +95,7 @@ void GChanges::promptChange()
|
||||
if(author.empty())
|
||||
author = _("unknown author");
|
||||
if(date.empty())
|
||||
date = _("unknown date");
|
||||
date = _("unknown date");
|
||||
|
||||
messagelabel_->set_markup("<big><b>" + header +
|
||||
"</b></big>\n\nChanged by <b>" + author
|
||||
|
@ -96,7 +96,7 @@ libgtk_la_SOURCES = \
|
||||
lyx_gui.C \
|
||||
xftFontLoader.C \
|
||||
xftFontLoader.h \
|
||||
xftFontMetrics.C
|
||||
xftFontMetrics.C
|
||||
|
||||
|
||||
xforms_objects = \
|
||||
|
@ -138,7 +138,7 @@ void QLPopupMenu::populate(Menu * menu)
|
||||
*/
|
||||
if (status.enabled()
|
||||
&& qApp->activeWindow() != qApp->mainWidget()
|
||||
&& !lyxaction.funcHasFlag(m->func().action,
|
||||
&& !lyxaction.funcHasFlag(m->func().action,
|
||||
LyXAction::NoBuffer))
|
||||
status.enabled(false);
|
||||
|
||||
|
@ -156,7 +156,7 @@ void parse_init(int & argc, char * argv[])
|
||||
{
|
||||
// Force adding of font path _before_ QApplication is initialized
|
||||
qfont_loader::initFontPath();
|
||||
|
||||
|
||||
static LQApplication app(argc, argv);
|
||||
|
||||
#if QT_VERSION >= 0x030200
|
||||
|
@ -50,7 +50,7 @@ public:
|
||||
|
||||
/// Called before QApplication is initialized
|
||||
static void initFontPath();
|
||||
|
||||
|
||||
/// Called the first time when available() can't load a symbol font
|
||||
static void addToFontPath();
|
||||
|
||||
|
@ -325,7 +325,7 @@ int InsetCitation::plaintext(Buffer const & buffer, ostream & os, OutputParams c
|
||||
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
string const cleanupWhitespace(string const & citelist)
|
||||
{
|
||||
string::const_iterator it = citelist.begin();
|
||||
|
@ -63,7 +63,7 @@ int InsetFoot::latex(Buffer const & buf, ostream & os,
|
||||
OutputParams runparams = runparams_in;
|
||||
// footnotes in titling commands like \title have moving arguments
|
||||
runparams.moving_arg |= runparams_in.intitle;
|
||||
|
||||
|
||||
// in titling commands, \thanks should be used instead of \footnote.
|
||||
// some classes (e.g. memoir) do not understand \footnote.
|
||||
if (runparams_in.intitle)
|
||||
|
@ -130,7 +130,7 @@ ParagraphList::const_iterator makeEnvironment(Buffer const & buf,
|
||||
|
||||
LyXLayout_ptr const & bstyle = par->layout();
|
||||
string item_tag;
|
||||
|
||||
|
||||
string id = par->getDocbookId();
|
||||
string env_name = bstyle->latexname();
|
||||
// Opening outter tag
|
||||
@ -230,7 +230,7 @@ ParagraphList::const_iterator makeCommand(Buffer const & buf,
|
||||
ParagraphList::const_iterator par = pbegin;
|
||||
Counters & counters = buf.params().getLyXTextClass().counters();
|
||||
LyXLayout_ptr const & bstyle = par->layout();
|
||||
|
||||
|
||||
string id = par->getDocbookId();
|
||||
id = id.empty()? "" : " id = \"" + id + "\"";
|
||||
|
||||
@ -254,7 +254,7 @@ ParagraphList::const_iterator makeCommand(Buffer const & buf,
|
||||
os << expandLabel(buf.params().getLyXTextClass(), bstyle, false);
|
||||
sgml::closeTag(os, depth, false, bstyle->labeltag());
|
||||
}
|
||||
|
||||
|
||||
// Opend inner tag
|
||||
sgml::openTag(buf, os, depth, true, bstyle->innertag());
|
||||
|
||||
@ -263,7 +263,7 @@ ParagraphList::const_iterator makeCommand(Buffer const & buf,
|
||||
// Close inner tags
|
||||
sgml::closeTag(os, depth, true, bstyle->innertag());
|
||||
os << '\n';
|
||||
|
||||
|
||||
++par;
|
||||
while (par != pend) {
|
||||
LyXLayout_ptr const & style = par->layout();
|
||||
|
@ -61,7 +61,7 @@ struct OutputParams {
|
||||
std::string local_language;
|
||||
|
||||
/** Document language babel name
|
||||
*/
|
||||
*/
|
||||
mutable std::string document_language;
|
||||
|
||||
/** free_spacing == true means that the inset is in a free-spacing
|
||||
|
@ -294,7 +294,7 @@ bool setLyxPaths()
|
||||
|
||||
// This is true when we are running from a Mac OS X bundle
|
||||
// (for LyX/Mac)
|
||||
bool const inOSXBundle =
|
||||
bool const inOSXBundle =
|
||||
system_lyxdir_ == NormalizePath(AddPath(binpath, "../Resources/")
|
||||
+ OnlyFilename(binname));
|
||||
if (inOSXBundle)
|
||||
@ -314,23 +314,23 @@ bool setLyxPaths()
|
||||
+ ":/sw/bin:/usr/local/bin"
|
||||
+ ":/usr/local/teTeX/bin/powerpc-apple-darwin-current";
|
||||
lyx::support::putenv("PATH", newpath);
|
||||
lyxerr[Debug::INIT] << "LyX/Mac: setting PATH to: "
|
||||
lyxerr[Debug::INIT] << "LyX/Mac: setting PATH to: "
|
||||
<< GetEnv("PATH") << endl;
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
//
|
||||
// Determine locale directory
|
||||
//
|
||||
if (!GetEnv("LYX_LOCALEDIR").empty()) {
|
||||
localedir_ = GetEnv("LYX_LOCALEDIR");
|
||||
lyxerr[Debug::INIT] << "LYX_LOCALEDIR=" << localedir_ << endl;
|
||||
} else if (inOSXBundle) {
|
||||
string const maybe_localedir =
|
||||
NormalizePath(AddPath(system_lyxdir_, "../locale"));
|
||||
string const maybe_localedir =
|
||||
NormalizePath(AddPath(system_lyxdir_, "../locale"));
|
||||
FileInfo fi(maybe_localedir);
|
||||
if (fi.isOK() && fi.isDir()) {
|
||||
lyxerr[Debug::INIT]
|
||||
lyxerr[Debug::INIT]
|
||||
<< "LyX/Mac: setting locale directory to "
|
||||
<< maybe_localedir << endl;
|
||||
localedir_ = maybe_localedir;
|
||||
|
Loading…
Reference in New Issue
Block a user