Commit Graph

7236 Commits

Author SHA1 Message Date
Uwe Stöhr
9f3d1e7773 pdfform.module: unset a PassTru
- this makes real life much easier since it saves more TeX code than with passThru
- adapt the example file accordingly
2015-05-05 01:33:11 +02:00
Uwe Stöhr
7dbf98a5e7 linguistics.module: fix 2 whitespace issues 2015-05-05 01:21:22 +02:00
Juergen Spitzmueller
23297a3108 Revert "pdfform.module: repair whitespace"
This reverts commit d2e8e44a0e.
2015-05-03 16:43:14 +02:00
Uwe Stöhr
d2e8e44a0e pdfform.module: repair whitespace
something is fishy her because commit 33a74748
destroyed the alignment for some entries
2015-05-03 16:28:06 +02:00
Uwe Stöhr
31b0af9857 PDF-form.lyx: add a note 2015-05-03 16:21:09 +02:00
Juergen Spitzmueller
f7b152581c PDF-form.lyx: make it compile if insdljs.sty is not installed. 2015-05-03 14:02:26 +02:00
Juergen Spitzmueller
33a747483e Spelling and whitespace fixes. 2015-05-03 13:58:06 +02:00
Uwe Stöhr
8932858563 PDF-form.lyx: more info and corrections
- add example how to check for numbers in text fields
- describe correctly that all fields must have a name
2015-05-03 04:37:28 +02:00
Pavel Sanda
4ecbabf5f9 Add Georger Araujo into contributors.
http://marc.info/?l=lyx-devel&m=143058265303480&w=2
2015-05-02 18:10:07 -07:00
Pavel Sanda
ad6ab20bb1 Add layouttranslations from pt_BR. 2015-05-02 17:53:53 -07:00
Uwe Stöhr
3c9442fd04 lyx2lyx/lyx_2_2.py: correct a description 2015-05-03 02:16:32 +02:00
Juergen Spitzmueller
bc47054be8 Properly fix #6369
Avoid that \newcommand[x] definitions of math macros are pushed multiple
times to the preview loader.

Redefinitions (via \renewcommand[x]) are properly handled.
2015-04-30 16:48:55 +02:00
Uwe Stöhr
8efc734f1a pdfform.module: change whitespace as requested by Jürgen 2015-04-30 01:23:47 +02:00
Uwe Stöhr
f6fde9dbb2 Merge branch 'master' of git.lyx.org:lyx 2015-04-30 01:23:03 +02:00
Uwe Stöhr
f6029f7f93 EmbeddedObjects.lyx: improve description of \cmidrule 2015-04-30 01:22:50 +02:00
Enrico Forestieri
d3eae5b9c7 Do not show previews of snippets that produce latex errors 2015-04-30 00:37:05 +02:00
Uwe Stöhr
d20bc1c883 PDF-form.lyx: add example how to validate numbers 2015-04-30 00:17:39 +02:00
Uwe Stöhr
41b39ff835 PDF-form.lyx: some more info and few adaptions
- pdfform.module: a fix
2015-04-29 22:06:00 +02:00
Enrico Forestieri
2a77dc5ec6 Forgot to escape the dot 2015-04-29 18:04:51 +02:00
Enrico Forestieri
83f2fe7045 Correct progress message
Now we also process with pdflatex the previews requiring hyperref.
2015-04-29 18:00:28 +02:00
Enrico Forestieri
2bbf775c74 Detect hyperref when generating previews
If use of hyperref is detected, the postscript route is not attempted
(because we know it will fail) and the PDF route is directly chosen.
Also account for all upper case extensions for pdflatex image files.
2015-04-29 17:29:27 +02:00
Enrico Forestieri
ca921fd650 Correctly indicate the failing converter
If epstopdf fails, pdftocairo is not called but the warning points
the finger to it. Also correctly indicate the failing file.
2015-04-29 16:20:27 +02:00
Enrico Forestieri
d44b0a19cb Amend 75f7eafd
Was forgetting this last bit from 64e0c558. Also give a message such
that the user is informed that not everything is lost if latex fails.
With this, the previews are generated also when the document directly
specifies a specific pdf output format.
2015-04-29 13:59:28 +02:00
Enrico Forestieri
75f7eafd65 Try even harder to obtain an instant preview
This is a followup commit to 691fdea3 and restores the behavior of the
script as it was intended before 64e0c558, other than taking into account
possible inclusion of files that only pdflatex can process and the
possibility of multiple defined math macros.
The instant previews in the math manual now work again.
2015-04-29 12:32:54 +02:00
Uwe Stöhr
ec7833272a pdfform.module: a simplification
- PDF-form.lyx: update accordingly and a fix
2015-04-29 01:56:43 +02:00
Pavel Sanda
558451a51d Fix broken lilipond links. 2015-04-28 09:32:09 -07:00
Uwe Stöhr
36a5f46c0d pdfform.module: a fix and a new style
- PDF-form.lyx: describe how to customize PDF action buttons and some other refinement and restructuring
2015-04-28 02:00:53 +02:00
Uwe Stöhr
853e034bad PDF-form.lyx: improvements
- enrich the examples
- add info about naming
- formatting fixes to improve the layout of the PDF
- make the document compilable also if the package insdljs is not installed
2015-04-27 22:29:48 +02:00
Enrico Forestieri
c9b553fd2f Use pdftocairo (if available) for instant preview.
If pdftocairo is detected, it is used for generating bitmaps in the
legacy method route in preference to ghostscript. This is justified
by the fact that the conversion is 4 to 5 times faster and the
quality of the generated images is superior.
2015-04-27 21:37:26 +02:00
Enrico Forestieri
691fdea346 Try hard to obtain an instant preview.
When the dvipng route is selected and latex fails, the lyxpreview2bitmap.py
script simply bails out. The failure may be due to using a specific pdf
only feature in ERT (for example, the inclusion of a pdf image).
In this case the procedure may succeed simply trying to use pdflatex
and the legacy conversion method.
2015-04-27 17:28:39 +02:00
Juergen Spitzmueller
f46d08aafd Follow-up on Uwe's whitespace amendments. 2015-04-27 10:04:15 +02:00
Uwe Stöhr
15dbe715e8 pdfform.module: correct the description 2015-04-27 03:00:27 +02:00
Uwe Stöhr
892abc5ee9 pdfform.module: new module to create PDF forms
- PDF-form.lyx: example file describing the module

No special package is required since the PDF form features are provided by hyperref.
2015-04-27 02:56:25 +02:00
Uwe Stöhr
e73f61d300 PDF-comment.lyx: some fixes 2015-04-27 02:33:38 +02:00
Enrico Forestieri
890b9a53cb Fix bug #7850 (Preview of inline math misaligned) 2015-04-26 19:08:16 +02:00
Uwe Stöhr
0e28bf916f pdfcomment.module: reintroduce whitespace mixture because of bug #9518 2015-04-26 18:25:20 +02:00
Juergen Spitzmueller
dfd4c93b78 Add Jari-Matti Mäkelä to the credits 2015-04-26 13:47:55 +02:00
Uwe Stöhr
13cb23bb20 pdfcomment.module: promote our example file in the description
- PDF-comment.lyx: port recent typo fixes to master
2015-04-26 13:41:44 +02:00
Uwe Stöhr
544b3f1774 pdfcomment.module: uniform whitespace
the file used spaces and tabs, now it uses only tabs for the whitespace
2015-04-26 04:23:10 +02:00
Uwe Stöhr
b496431881 FeynmanDiagrams.lyx: rename German version
it turned out that the example files that should appear in LyX's Help menu must have the same name as their English versions
2015-04-25 17:08:54 +02:00
Uwe Stöhr
ea2c5f377d Feynman-Diagramme.lyx: new German translation
FeynmanDiagrams.lyx: an adjustment and added the missing note to the French translation
2015-04-25 17:01:09 +02:00
Uwe Stöhr
59b690ca9c FeynmanDiagrams.lyx: fix some typos and expressions 2015-04-25 02:03:19 +02:00
Juergen Spitzmueller
5e4e1c74e7 Document new Glosse inset and some further minor changes. 2015-04-21 20:38:47 +02:00
Juergen Spitzmueller
c886679160 Rewrite the linguistic Glosse insets.
This gets rid of the PassThru hack and makes the inset actually usable
for linguistists.

Fixes: #7773

File format change.
2015-04-21 20:33:35 +02:00
Juergen Spitzmueller
c1dcecb376 Fix version number 2015-04-21 15:48:32 +02:00
Juergen Spitzmueller
b8ed73623c Fix wrong symbol in IPA toolbar.
Richard, this shuld also go to branch.
2015-04-21 11:04:28 +02:00
Juergen Spitzmueller
11cb8997fc linguistics.lyx: small tweak. 2015-04-21 10:23:33 +02:00
Juergen Spitzmueller
039d674b2b Document forest. 2015-04-20 18:30:50 +02:00
Juergen Spitzmueller
7158f7b58d Add support for linguistic trees (via forest) 2015-04-20 18:14:42 +02:00
Juergen Spitzmueller
897b2e73a1 New (Inset)Layout tag PassThruChars 2015-04-20 18:13:49 +02:00
Juergen Spitzmueller
30ff6eedfe de/linguistics.lyx: small tweak. 2015-04-20 12:21:29 +02:00
Juergen Spitzmueller
225a37be39 Support item argument in linguistic examples
File format change.
2015-04-20 12:15:20 +02:00
Uwe Stöhr
07e8cfd9c2 French UserGuide.lyx: updates from Jean-Pierre 2015-04-17 02:19:29 +02:00
Uwe Stöhr
fc42fe4ff4 cua.bind: switch shortcuts for bold and boldsymbol
fixes bug #9413
2015-04-17 01:18:56 +02:00
Uwe Stöhr
c09326f6ac UserGuide.lyx: fix a typo 2015-04-17 01:11:36 +02:00
Uwe Stöhr
844998c20a UserGuide.lyx: fix a LaTeX warning
\bf is deprecated
2015-04-17 01:03:18 +02:00
Kornel Benko
68ad0bfb90 emacs.bind: Added shortcuts for dictionaries 2015-04-14 10:51:39 +02:00
Enrico Forestieri
df4e13de06 Tweak some icons. 2015-04-12 12:59:19 +02:00
Georg Baum
4069e3daed Update tex2lyx test references
The lyx2lyx conversions for the new formats are empty, therefore we can simply
update the format number.
2015-04-12 10:07:42 +02:00
Enrico Forestieri
0fc9b08e4d Fix output of \lightning in math mode.
The \lightning symbol is text mode only. Hence, for using it in
mathed, it must be inserted in a text mode environment such as
\mbox, \text, etc. However, as it is not marked as textmode,
LyX "helpfully" encloses it in \ensuremath everytime one tries
to put it in a text mode environment, thus defying the countermeasure.
By declaring it textmode only, LyX stops doing that and thus it can be
correctly output by simply selecting it and hitting Ctrl-M.
2015-04-12 00:47:18 +02:00
Enrico Forestieri
d9971802c2 Math Panels: add "Fonts" icons. 2015-04-11 23:02:25 +02:00
Enrico Forestieri
1e05adc800 Math Panels: revise the "Math spacings" svg icons. 2015-04-11 19:46:42 +02:00
Enrico Forestieri
ca58f113ff Math Panels: revise the "Miscellaneous (extended)" svg icons. 2015-04-11 16:53:10 +02:00
Juergen Spitzmueller
319ee3296a File format change caused by 34eadf5d4. 2015-04-09 11:01:44 +02:00
Scott Kostyshak
6cf81782dd Implement and bind buffer-move-{next,previous}
Control + Shift + PgDn now moves a tab to the right.
Control + Shift + PgUp now moves a tab to the left.

These keybindings are consistent with Chromium, Firefox,
Nautilus, and gnome-terminal.

Note that I allow for wrapping. This is consistent with
allowing wrapping for buffer-{next,previous}, but there
might be reasons to disable it in the future.
2015-04-08 14:12:52 -04:00
Scott Kostyshak
34eadf5d49 Fix compilation of the template ACM-sigplan.lyx
This template was only reported as failing to compile by LyX as of
0a6120cb. I do not know how long this template was actually failing
to compile without error. The problem was that the class requires
\doi to be defined. This might not have been a requirement in
previous versions of the class.

Thanks to Enrico for finding the problem and solution.
2015-04-08 13:41:59 -04:00
Scott Kostyshak
364139b49c Update a fileformat 2015-04-08 13:41:59 -04:00
Enrico Forestieri
82a0ee59d6 Math Panels: revise the "Dots" and "Delimiters" svg icons. 2015-04-08 17:59:54 +02:00
Enrico Forestieri
1ecc9e325d Math Panels: revise the "Negative relations" svg icons. 2015-04-08 12:16:22 +02:00
Enrico Forestieri
8adb877198 Math Panels: revise the "Relations (extra)" svg icons. 2015-04-07 00:50:38 +02:00
Uwe Stöhr
9ad5067bfa MultilingualCaptions.lyx: update some menu names 2015-04-06 06:10:30 +02:00
Uwe Stöhr
6d4aec1f0e lyx2lyx/lyx_2_2.py: correct a whitespace mistake 2015-04-06 06:08:26 +02:00
Uwe Stöhr
c6b17b685a support for Georgian
add support to set Georgian as document language, fileformat change
2015-04-06 06:00:11 +02:00
Uwe Stöhr
c55f68304e MultilingualCaptions.lyx: new German translation
- also some fixes for the other language variants
2015-04-06 03:36:57 +02:00
Enrico Forestieri
d03a13d4cf Math Panels: revise the "Relations" svg icons. 2015-04-03 00:36:11 +02:00
Enrico Forestieri
6dff827909 Math Panels: revise the "Operators (extra)" svg icons.
Also small tweaks to some other icons.
2015-04-02 00:27:51 +02:00
Juergen Spitzmueller
f819ca6c6f EuropassCV only supports pdflatex. 2015-04-01 09:47:53 +02:00
José Matos
908e93df50 Fix bug #9279
Make lyx2lyx parser a bit more robust.

Ignore if the first line of a lyx file does not start with a #
Add such a line if it is missing..
2015-03-31 15:14:26 +01:00
Enrico Forestieri
498ca9f2bf Math Panels: revise the Operators svg icons 2015-03-31 01:15:41 +02:00
Enrico Forestieri
f191dc4961 Math Panels: revise the "Arrows" svg icons 2015-03-30 16:08:05 +02:00
Kornel Benko
7b72010408 Update doc-files due to icon rename, this time correct 2015-03-29 17:20:35 +02:00
Kornel Benko
ecf2b9f091 Update doc-files due to icon rename
promote -> outline-up
demote -> outline-down
2015-03-29 16:49:27 +02:00
Enrico Forestieri
f96e4f1bc5 Adjust docs after cb899b3f. 2015-03-28 23:39:30 +01:00
Enrico Forestieri
cb899b3fa2 Provide icons for the outline-* lfuns.
- Accordingly rename "promote" and "demote" icons.
- Add "outline-down" and "outline-up" icons.
2015-03-28 23:22:21 +01:00
Enrico Forestieri
d12920d437 Use an info inset instead of a graphics one 2015-03-28 13:13:03 +01:00
Enrico Forestieri
32f5639fbc Math Panels: revise the "Frame decorations" svg icons 2015-03-25 15:21:42 +01:00
Juergen Spitzmueller
0e62bf9e0a Fix thinko in convert_corollary_args
Fixes: #9478
2015-03-24 21:43:25 +01:00
Enrico Forestieri
3c468a3eb8 Math panels: revise the big operators svg icons. 2015-03-24 21:23:03 +01:00
Georg Baum
49ac79100b Make InsetSpecialChar names more consistent
This is the rersult of a discussion on the list. Now all special characters
have meaningful names, and it is clear that the LyX file syntax is not LaTeX.
2015-03-23 21:28:04 +01:00
Enrico Forestieri
eb5e8aba5e Also install oxygen math svg icons.
These icons have no png counterpart and hence are not catched by the shortcuts.
2015-03-22 23:16:05 +01:00
Enrico Forestieri
7da981b322 Fix crash related to the icon info inset.
When closing a document with the cursor near an icon info inset, LyX
may crash on loading again the same document. This is most probably due
to the fact that compressed svg icons are first uncompressed to a
temporary file before being used. The temporary file is then deleted
but something still expects to find it in place. The exact circumstances
that lead to the crash are unknown, and maybe there is also a race entering
the picture here. However, a document that always leads to a crash can be
found attached here: http://article.gmane.org/gmane.editors.lyx.devel/154566
This commit does not fix the cause of the crash but rather avoids it.
As a bonus, the svg icons used by LyX are not uncompressed anymore before
being used, speeding up startup time. This is not a problem, because Qt
can deal with compressed svg images.
2015-03-22 22:25:38 +01:00
Enrico Forestieri
218876da92 Math Panels: revise the Greek set of svg icons 2015-03-22 18:23:04 +01:00
Georg Baum
88c274eee7 Let imagemagick detect file format (bug #2332)
Imagemagick detects the inut file format based on contents. Therefore it does
not make sense that we prefix the to be converted file name with the extension
(assuming that the file extension matches the imagemagick format name). This
breaks formats where the extension used by LyX does not match the imagemagick
format name.
2015-03-22 10:22:31 +01:00
Enrico Forestieri
4a44dfc325 Math Panels: revise the miscellaneous set of svg icons
- Restore proportion between icons, such that, for example, \imath
  is not confused with a lower case 'l' or \textdegree with \circ
- Use real \mathbb and \mathcal TeX icons

I'll revise also the other sets in the Math Panels toolbar along
these lines. It is important to see whether a symbol has ascendents
or descendents or what is their relative size.
2015-03-21 15:33:54 +01:00
Juergen Spitzmueller
49df5ef93d SVG: text -> Path 2015-03-19 09:25:05 +01:00
Enrico Forestieri
3cd15806bd Revise svg icons for the math toolbar
- Use paths, not fonts. Have a look at the sqrt icon in the image attached
  here http://thread.gmane.org/gmane.editors.lyx.devel/154179/focus=154183
  to see what may happen when a font is not present on a given system.
- Make uniform the height of the parentheses.
- Move a couple of icons to the oxygen subdir (I was not sure it was Ok
  replacing them. If yes, they can be simply deleted).
2015-03-18 20:29:31 +01:00
Jean-Marc Lasgouttes
5b80d57d1d add "Keywords" to lyx.desktop file
Fixes bug #9414.
2015-03-17 10:17:35 +01:00
Juergen Spitzmueller
f305f0b4d8 Properly handle the bicaption package (bug #9449) 2015-03-16 20:31:38 +01:00
Jean-Marc Lasgouttes
477fddebe5 Add proper importers for Sweave and knitr.
Fixes bug #8734.
2015-03-16 18:43:51 +01:00
Juergen Spitzmueller
596fc8510e Use German localization in German europass example 2015-03-16 11:23:24 +01:00