From 1545079a483e016c98d4c5abd894f00fcf054db6 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Wed, 18 Apr 2001 13:37:27 +0000 Subject: [PATCH] insetquote fix ; basque splash update git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1940 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/ChangeLog | 4 +++ lib/examples/eu_splash.lyx | 53 +++++++++++++++++++++----------------- src/insets/ChangeLog | 6 +++++ src/insets/insetquotes.C | 3 ++- 4 files changed, 41 insertions(+), 25 deletions(-) diff --git a/lib/ChangeLog b/lib/ChangeLog index 2755fab6bb..7d0d90ebb3 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2001-04-18 Jean-Marc Lasgouttes + + * examples/eu_splash.lyx: update from Dooteo + 2001-04-13 Jean-Marc Lasgouttes * layouts/revtex4.layout: make sure the PACS, keywords and diff --git a/lib/examples/eu_splash.lyx b/lib/examples/eu_splash.lyx index 304b5e3b79..902b66df82 100644 --- a/lib/examples/eu_splash.lyx +++ b/lib/examples/eu_splash.lyx @@ -34,9 +34,9 @@ LyX-ek laguntza eskuliburu bikain bat dauka (erabil ezazu). \family sans \bar under -H +L \bar default -elp +aguntza \bar under \SpecialChar \menuseparator S @@ -47,14 +47,18 @@ arrera Ondoren, \family sans \bar under -H +L \bar default -elp +aguntza \bar under \SpecialChar \menuseparator - +T \bar default -Tutoretza-n laguntzaz LyX erabiltzen ikasi. +utoretza-n +\family default +laguntzaz LyX erabiltzen ikasi +\family sans +. \layout Enumerate LyX @@ -84,26 +88,22 @@ LyX-en irteera emaitzak (output) itxura hobezina dauka. \bar under F \bar default -ile\SpecialChar \menuseparator -View\SpecialChar ~ - -\bar under -d -\bar default -vi +itxategia\SpecialChar \menuseparator +Dvi\SpecialChar ~ +ikusi \family default lan dezakezu (une honetan adibidez). \layout Enumerate Bai,. - LyX-ek LaTeX-en betebeharreko ia dena antzez dezake. + LyX-ek LaTeX-en betebeharreko ia dena errepika (edo landu) dezake. Eta bai, LyX-ek LaTeX-eko fitxategiak beregana ( \family sans \bar under F \bar default -ile\SpecialChar \menuseparator -Import +itxategia\SpecialChar \menuseparator +Barneratu \family default ) ditzake. LaTeX-eko erabiltzaile adituei @@ -126,8 +126,8 @@ LyX LaTeX-eko erabiltzaileentzat Inglesez gain beste edozein hizkuntzetan idazten edo irakurtzen duten erabiltzai leentzat abantaila ugari daude. - Gainera tekla elkarte, tresna barra eta beste hainbat ezaugarrik egokitze - maila handia dauka (ia dena + Gainera tekla elkarte, tresna barra eta beste hainbat ezaugarriek egokitze + maila handia eskeintzen diote (ia dena \family typewriter lyxrc \family default @@ -135,27 +135,32 @@ lyxrc \family sans \bar under -H +L \bar default -elp\SpecialChar \menuseparator +aguntza\SpecialChar \menuseparator \bar under -C +E \bar default -ustomization +gokitua \family default ikus ezazu. \layout Enumerate LyX-en Interneteko orria \family typewriter -www.lyx.org + +\begin_inset LatexCommand \url{http://www.lyx.org/} + +\end_inset + + \family default da. Bertan programari buruzko informazioa lortu, gutun zerrendetan harpidetu, \emph on -LyX-eko Irudi Tour +LyX-eko Marrazkidun Ibilalditxoa (edo Tour) \emph default -a lortu eta gauza gehiago egin dezakezu. \the_end diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index d46e9d6033..18ed7f27d6 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,9 @@ +2001-04-18 Jean-Marc Lasgouttes + + * insetquotes.C (Latex): improve the guard against + unwanted !` and ?` ligatures. This should really be done in + another place (to catch all this ligatures at low-level). + 2001-04-17 Lars Gullik Bjønnes * insettext.C (init): remvoe leftovers from cursor_visible change diff --git a/src/insets/insetquotes.C b/src/insets/insetquotes.C index 2c980b85a7..8de040602b 100644 --- a/src/insets/insetquotes.C +++ b/src/insets/insetquotes.C @@ -260,7 +260,8 @@ int InsetQuotes::Latex(Buffer const * buf, ostream & os, qstr = latex_quote_babel[times][quoteind]; // Always guard against unfortunate ligatures (!` ?`) - qstr.insert(0, "{}"); + if (prefixIs(qstr, "`")) + qstr.insert(0, "{}"); os << qstr; return 0;