Julien Rioux [Fri, 4 Jan 2013 22:57:40 +0000 (23:57 +0100)]
Add known citation packages to LaTeXFeatures:
- achicago
- apacite
- apalike
- astron
- authordate
- chicago
- harvard
- mslapa
- named
This allows these citation packages can be Required by the document layout.
LyX handles the package ordering, loading any of these packages before natbib
when both are required by the document layout. For example, apacite can be
used with or without natbib.
The package achicago isn't compatible with natbib out-of-the-box,
but the following compatibility code makes it work:
Uwe Stöhr [Tue, 1 Jan 2013 16:41:32 +0000 (17:41 +0100)]
chkconfig.ltx: add check for etoolbox and change checking order
- the packages which are independent of document classes are checked first - for the case that the Internet connection breaks during the checking/installation of missing packages
Kornel Benko [Tue, 1 Jan 2013 12:23:24 +0000 (13:23 +0100)]
In tex2lyx tests do not compare the first 2 lines.
This removes the need to update the lyx-format of the test files too often.
(To please Vincent and me)
Uwe Stöhr [Mon, 31 Dec 2012 20:17:01 +0000 (21:17 +0100)]
installer: 2 fixes
- LaTeX.nsh: assure that if MiKTeX is installed for all users also the missing packages will be installed during the configuration for all users
- configure.nsh: run configure.py twice to assure that really all missing packages are checked/installed
Uwe Stöhr [Mon, 31 Dec 2012 16:28:50 +0000 (17:28 +0100)]
installer: various fixed for immediate release
- LaTeX.nsh: fix bug that installer stopped working if LyX was installed the first time on a computer
- init.nsh:
- fix failing installation of Slovakian spellcheck dictionary
- expand list of available dictionaries as requested by users
- dictionaries.nsh: prevent case that the installer could run an infinite loop if the installation of dictionaries was interrupted
- settings.nsh: use a HTTP repository for MiKTeX instead of FTP because many companies deny FTP access by default in their firewalls
Julien Rioux [Tue, 26 Jun 2012 21:15:04 +0000 (23:15 +0200)]
Update the lilypond example file.
- Add a note about HTML.
- Add a note about using external files.
- Add a note about using lilypond variables and commands.
- Some corrections and nitpicks.
Julien Rioux [Wed, 27 Jun 2012 11:41:19 +0000 (13:41 +0200)]
lyxpreview: Allow to find python scripts.
In particular, lilypond-book is just a python script. On windows,
we need to call the python interpreter, using the full path to
the script while being wary of spaces in the path.
The old layouts are still there (marked as deprecated). The new ones are more or less correctly reverted (polishment required), but the old ones not yet converted to the new. Once this is done, a further file format change should be made.
Uwe Stöhr [Mon, 31 Dec 2012 02:08:28 +0000 (03:08 +0100)]
Customization.lyx: revision of chapter 5 - port from branch
- uniform formatting, clarifications, simplifications, updates, added missing information
- German Customization.lyx: also translations, added missing information that is already in the other language versions
Georg Baum [Sun, 30 Dec 2012 19:39:33 +0000 (20:39 +0100)]
Fix import of shift-jis and big5 CJK texts.
These encodings were not defined, since they must not be used as document
encodings (the characters {, } and \ may appear in high bytes, and latex
would be confused). However, they are supported by CJK.sty (which uses a
preprocessor to circumvent the limitations of the latex executable). These
encodings are now defined, but used for import in tex2lyx only.
The test case CJK.tex contained fake tests for shift-jis and big5 (the
japanese and chinese characters were entered using the utf8 encoding), and
therefore the wrong interpretation of these encoding looked as if it worked.
The comments about missing iconv support of shift-jis and big5 were wrong as
well (otherwise shift-jis-plain would not work either).
Georg Baum [Sun, 30 Dec 2012 10:58:21 +0000 (11:58 +0100)]
Fix bug #8468: Wrong import of UTF8 CJK.
Actually, the test case showed several problems:
- ERT insets did use layout "Standard", not "Plain Layout"
- The font scale was read correctly, but tex2lyx claimed that it did ignore
the option "scaled=0.95"
- If a third argument of the CJK environment was given, it caused the whole
environment to be put in ERT with a broken encoding. This is now fixed for
the bug test case by using the \font_cjk header variable, but the encoding
problem still exists for unsupported encodings. I'll file a separate bug
for that.
- The CJKutf8 package was not handled in the preamble parsing. Therefore the
chinese comment in the preamble was read with a wrong encoding, and guessing
the document language did not work.
The new file CJKutf8.tex was created by copying and modifying CJK.tex, but
unfortunately it is impossible to tell git to inherit the history of CJK.tex
for the new file (search the web for git svn copy if you want to know details).
Georg Baum [Sat, 29 Dec 2012 12:16:22 +0000 (13:16 +0100)]
Fix tex2lyx bug #8466: special file names.
Special characters as created by latex_path() where not converted corectly
from LaTeX macros by tex2lyx. Now this is done, even for file names containing
double quotes which are not used for quoting spaces. These file names are not
legal on windows, and will causes probelms in DVI files, but if they occur
tex2lyx does not produce invalid .lyx files.
Kornel Benko [Sun, 30 Dec 2012 18:33:20 +0000 (19:33 +0100)]
Added categories for style Standard, Title, Abstract, ShortTitle,
Author, FourAuthors, Affiliation, FourAffiliations, Acknowledgements,
Itemize, Enumerate, Seriate
to layouts, where they were missing. More to follow
Georg Baum [Fri, 28 Dec 2012 18:51:28 +0000 (19:51 +0100)]
Fix bug #8464: stackrel with subscript.
The fix is basically mechanical, the additional code for fraction like insets
with three arguments was stolen from \unitfrac. As any math package,
stackrel.sty needs a buffer parameter to switch it off.
I also added the two stackrel flavours to the toolbar.
Georg Baum [Fri, 28 Dec 2012 13:29:46 +0000 (14:29 +0100)]
Fix bug #8422.
Both problems where caused by the fact that tex2lyx did not handle
natbib/jurabib citations correctly if natbib/jurabib was loaded by the
document class. Therefore it tried to parse the standard \cite syntax, and
did not recognize \citet and \citep.
Kornel Benko [Fri, 28 Dec 2012 15:22:25 +0000 (16:22 +0100)]
1.) Add format to CJK.lyx.lyx(missed in previous commit)
2.) Add lyx2lyx test to runtests.py. This is done with extra parameter only,
and does not change the behaviour without this parameter.
Georg Baum [Tue, 18 Dec 2012 21:36:34 +0000 (22:36 +0100)]
Remove duplicate symbols
There were found with -dbg mathed ans entering a math inset.
I kept the AMS versions, except leadsto, which is only an approximation in AMS.
hbar was simply defined twice with identical definitions.
Georg Baum [Tue, 18 Dec 2012 21:20:32 +0000 (22:20 +0100)]
Add toolbar images for stmaryrd.sty symbols
These are all generated by development/tools/generate_symbols_images.py, the
only manual adjustments were renamings due to case sensitive file systems on
windows.