Re: hyphenation

2010-01-28 Thread Vincent
bb wrote: I remeber that in older lyx-versions it was possible to mark anhyphenation by CTR+"-". In my version 1.6.5 on linux this is not worging any more. It still works for me. Vincent

hyphenation

2010-01-28 Thread bb
I remeber that in older lyx-versions it was possible to mark anhyphenation by CTR+"-". In my version 1.6.5 on linux this is not worging any more. Is this a bug? Regards BB

Re: RFC: installing LaTeX hyphenation patterns when installing LyX

2009-04-11 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > To improve the situation for all users we can add the list if available > patterns to LaTeXConfig.lyx. When a user then e.g. set in LyX the document > language to Italian we check if the Italian pattern is installed by looking > at LaTeXConfig.lyx or somewhere else. If it is not

Re: RFC: installing LaTeX hyphenation patterns when installing LyX

2009-04-11 Thread Uwe Stöhr
>> Could we check the availability of the patterns in the moment where a user >> sets a document language and provide a way to enable missing patterns? > > Note that chkconfig.ltx already outputs a list of patterns known to this > latex installation. To be able to use LyX with all languages, thes

Re: RFC: installing LaTeX hyphenation patterns when installing LyX

2009-04-10 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller writes: > Could we check the availability of the patterns in the moment where a user > sets a document language and provide a way to enable missing patterns? Note that chkconfig.ltx already outputs a list of patterns known to this latex installation. JMarc

Re: RFC: installing LaTeX hyphenation patterns when installing LyX

2009-04-10 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > To solve this problem, I can implement a solution only for the LyX > installer, where I modify the chkconfig.ltx file depending on the language > the user has chosen in the installer for LyX's menus. > > The other solution would be to add all hyphena

RFC: installing LaTeX hyphenation patterns when installing LyX

2009-04-09 Thread Uwe Stöhr
Today a user asked for an interesting feature: When installing LyX, the LaTeX hyphenation patters are not installed for the menu language of LyX. (http://article.gmane.org/gmane.editors.lyx.general/55728) To solve this problem, I can implement a solution only for the LyX installer, where I

Re: Hyphenation points in LyX 1.6.0

2008-03-21 Thread Pavel Sanda
> Should I still file a bug report? i fixed it. thanks for report. pavel

Hyphenation points in LyX 1.6.0

2008-03-21 Thread Dominik Böhm
Hi, it's not possible to insert a hyphenation point (Insert->Formatting->Hyphenation Point) in LyX 1.6.0. Also the shortcut has been deleted. After adding a shortcut for "specialchar-insert hyphenation" I was able to insert hyphenation points, but still the menu i

Re: [PATCH] Hyphenation, the latex way

2004-12-16 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Isn't it possible to define \mesg only when \typeout's argument Angus> starts "Babel": Jean-Marc> I thought about that (and I do not know how to do it...), Jean-

Re: [PATCH] Hyphenation, the latex way

2004-12-16 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Tue, Dec 07, 2004 at 04:32:59PM +, Angus Leeming wrote: >> Isn't it possible to define \mesg only when \typeout's argument >> starts "Babel": >> >> {\def\typeout#1{if #1 starts with "Babel" then >> \global\def\mesg{#1}} \the

Re: [PATCH] Hyphenation, the latex way

2004-12-11 Thread Andre Poenitz
On Tue, Dec 07, 2004 at 04:32:59PM +, Angus Leeming wrote: > Isn't it possible to define \mesg only when \typeout's argument starts > "Babel": > > {\def\typeout#1{if #1 starts with "Babel" then \global\def\mesg{#1}} > \the\everyjob} We could simply collect all typeout arguments and cut out t

Re: [PATCH] Hyphenation, the latex way

2004-12-11 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > http://www.tug.org/utilities/plain/cseq.html Thanks, JMarc. Bookmarked for future reference. -- Angus

Re: [PATCH] Hyphenation, the latex way

2004-12-09 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Jean-Marc Lasgouttes wrote: Isn't it possible to define \mesg Angus> only when \typeout's argument starts "Babel": >> I thought about that (and I do not know how to do it...), but a >> better solution has been proposed on fctt: con

Re: [PATCH] Hyphenation, the latex way

2004-12-08 Thread Andreas Vox
Angus Leeming <[EMAIL PROTECTED]> writes: > > This is indeed better. Incidentally, can you recommend a book to explain > TeX syntax. It's all rather baffling at the moment. > If you *really* want to know the TeX syntax + semantics + dangerous bends + dirty tricks + funny pictures: "The TeX bo

Re: [PATCH] Hyphenation, the latex way

2004-12-08 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> Isn't it possible to define \mesg only when \typeout's argument > Angus> starts "Babel": > > I thought about that (and I do not know how to do it...), but a better > solution has been proposed on fctt: concatenate all the \typeout > messages into the \mesg mac

Re: [PATCH] Hyphenation, the latex way

2004-12-08 Thread Jean-Marc Lasgouttes
onfigure.m4: remove code from last entry... + + * chkconfig.ltx: ... and replace it with a TeX solution + 2004-12-07 Martin Vermeer <[EMAIL PROTECTED]> - * configure.m4: add printout of language list for which + * configure.m4: add printout of language list for which hyphen

Re: [PATCH] Hyphenation, the latex way

2004-12-07 Thread Angus Leeming
that are > IMO: In an earlier explanation, you wrote: > OK, what you have to know is that \the\everyjob contains something > like > \typeout{LaTeX2e <2001/06/01>} > \typeout{Babel and hyphenation patterns for american, french, > german, ngerman, nohyphenation, loaded.}

Re: [PATCH] Hyphenation, the latex way

2004-12-07 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> $ grep -r '\typeout' \usr\share\texmf | grep -v 'Binary file' | Angus> \ cut -d':' -f1 | sort -u | wc -l 288 Angus> So 288 files in my texmf tree output '\typeout'. What makes you Angus> think that only Babel does? Well, typeout i

Re: [PATCH] Hyphenation, the latex way

2004-12-07 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: >> "Angus" == Angus Leeming <[EMAIL PROTECTED]> >> writes: > > Angus> So, {\def\typeout#1#2{\global\def\mesg{#1}}\the\everyjob} would > Angus> mean you were interested in the third typeout? > > No, there are two \typeout, each with one argument. \merg is defin

Re: [PATCH] Hyphenation, the latex way

2004-12-07 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> So, {\def\typeout#1#2{\global\def\mesg{#1}}\the\everyjob} would Angus> mean you were interested in the third typeout? No, there are two \typeout, each with one argument. \merg is defined twice, and the last definition is the one th

Re: [PATCH] Hyphenation, the latex way

2004-12-07 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> Can you explain it to someone who doesn't read LaTeX (me)? > > OK, what you have to know is that \the\everyjob contains something > like > \typeout{LaTeX2e <2001/06/01>} > \typeout{Babel and hyphenation patterns for ame

Re: [PATCH] Hyphenation, the latex way

2004-12-07 Thread Jean-Marc Lasgouttes
ut >> in \everyjob. I have to check whether this is really true. Angus> Can you explain it to someone who doesn't read LaTeX (me)? OK, what you have to know is that \the\everyjob contains something like \typeout{LaTeX2e <2001/06/01>} \typeout{Babel and hyphenation pattern

Re: [PATCH] Hyphenation, the latex way

2004-12-07 Thread Angus Leeming
terns for #2, loaded.{\def\langs{#2}} +\expandafter\strip\mesg +\message{^^J\prefix checking for available hyphenation patterns... \langs} +\AddVariable{languages}{\langs} -- Angus

[PATCH] Hyphenation, the latex way

2004-12-07 Thread Jean-Marc Lasgouttes
configure.m4: add printout of language list for which hyphenation is enabled 2004-11-19 Jürgen Spitzmüller <[EMAIL PROTECTED]> Index: chkconfig.ltx === RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/chkconfig.ltx,v r

Re: Hyphenation mess :-(

2004-12-06 Thread Georg Baum
Am Montag, 6. Dezember 2004 18:12 schrieb Jean-Marc Lasgouttes: > There are a number of regexps for that, but in this case, it is the > opening parenthesis that triggers, I guess. > > I would do as follows: > > if I find a line with opening parenthesis so that what follows does > not form an exi

Re: Hyphenation mess :-(

2004-12-06 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> More importantly, tell me how I should recognize > Angus> .../preamble.tex is part of the file name. Ie, what > Angus> characteristic indicates that it is a file name? Is it the > Angus> blank line that follows or do I need to recognize the > Angus> characterist

Re: Hyphenation mess :-(

2004-12-06 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Can you tell me where I should look in the LyX source to find Angus> the code that parses the log file for these dependencies. LaTeX::deplog in LaTeX.C Angus> More importantly, tell me how I should recognize Angus> .../preamble.te

Re: Hyphenation mess :-(

2004-12-06 Thread Georg Baum
Angus Leeming wrote: > Can you tell me where I should look in the LyX source to find the code > that parses the log file for these dependencies. I believe it is in src/LaTeX.C, in LaTeX::scanLogFile(). Another place that suffers from linebreaks is the extraction of error messages. > More importa

Re: Hyphenation mess :-(

2004-12-06 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: >> "Angus" == Angus Leeming <[EMAIL PROTECTED]> >> writes: > >>> Clever. Actually, I think we should do something like that when >>> parsing .log files, but I am not sure how. > > Angus> Can you give an example? > > This bug, for example: > http://bugzilla.l

Re: Hyphenation mess :-(

2004-12-06 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: >> Clever. Actually, I think we should do something like that when >> parsing .log files, but I am not sure how. Angus> Can you give an example? This bug, for example: http://bugzilla.lyx.org/show_bug.cgi?id=1027 JMarc

Re: Hyphenation mess :-(

2004-12-06 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: >> "Angus" == Angus Leeming <[EMAIL PROTECTED]> >> writes: > > Angus> No, but that's why we use a loop in the sed script. The list of > Angus> languages always ends with 'loaded.', so get the next line if > Angus> the pattern space doesn't, remove the embedded

Re: Hyphenation mess :-(

2004-12-06 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> Works as such :-) Martin> see attached. Martin> What next? Feel free to apply it. I asked about it on fr.comp.text.tex and it appears that there is no way to get this list from TeX... JMarc

Re: Hyphenation mess :-(

2004-12-06 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> No, but that's why we use a loop in the sed script. The list of Angus> languages always ends with 'loaded.', so get the next line if Angus> the pattern space doesn't, remove the embedded new line and go Angus> to the 'loop' label. H

Re: Hyphenation mess :-(

2004-12-04 Thread Andre Poenitz
lieve it or not, by default you only have hyphenation for american, > | french and german... > > > | THIS IS A PROBLEM. > > It has been like that forever. Well, I did not know that either. Otoh, I only write German and English (that ancient version of 'American'...) so there was not much reason to notice... Andre'

Re: Hyphenation mess :-(

2004-12-03 Thread Martin Vermeer
On Fri, 2004-12-03 at 12:35, Jean-Marc Lasgouttes wrote: > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> Done! > > Martin> Works as such :-) > > Martin> see attached. > > Martin> What next? > > Either you commit it right now or you wait a bit until I have time to > f

Re: Hyphenation mess :-(

2004-12-03 Thread Angus Leeming
list of languages always ends with 'loaded.', so get the next line if the pattern space doesn't, remove the embedded new line and go to the 'loop' label. Having finished looping, either because you've found 'loaded.' or because you've reached the end of

Re: Hyphenation mess :-(

2004-12-03 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> Done! Martin> Works as such :-) Martin> see attached. Martin> What next? Either you commit it right now or you wait a bit until I have time to find out how to do this at latex level. I think it is less error prone than parsin

Re: Hyphenation mess :-(

2004-12-03 Thread Lars Gullik Bjønnes
Martin Vermeer <[EMAIL PROTECTED]> writes: | On Thu, 2004-12-02 at 12:16, Lars Gullik Bjønnes wrote: > | ... > >> I have known this for years. > | What other things are you keeping secret from me? Only stuff that I have read in teTeX documentation. :-) (and by reading LaTeX log files: "Hypenatio

Re: Hyphenation mess :-(

2004-12-03 Thread Martin Vermeer
On Thu, 2004-12-02 at 12:16, Lars Gullik BjÃnnes wrote: ... > I have known this for years. What other things are you keeping secret from me? - Martin signature.asc Description: This is a digitally signed message part

Re: Hyphenation mess :-(

2004-12-02 Thread Martin Vermeer
the list of languages avaliable to LaTeX > # by parsing the LaTeX log file, chklatex.log. > LANGUAGES=`sed -n '/hyphenation patterns/{ > :loop > /loaded\.$/!{ > $!{ > N > s/\n// > tloop > } > } > /loaded\.$/p > }' chklatex.log` > > # Add a line to

Re: Hyphenation mess :-(

2004-12-02 Thread Angus Leeming
gt;chkconfig.sed > > Then if you add the text @chk_languages@ in some text in > LaTeXConfig.lyx.in, it will be replaced by the list of available > languages. # Grab the list of languages avaliable to LaTeX # by parsing the LaTeX log file, chklatex.log. LANGUAGES=`sed -n '/hyphena

Re: Hyphenation mess :-(

2004-12-02 Thread Angus Leeming
Martin Vermeer wrote: >> 'grep -A' is not POSIX. Tru64 Unix's version of grep, for example, >> doesn't recognize it. >> >> sed -n '/hyphenation patterns/{ >> :loop >> /loaded\.$/!{ >> $!{ >> N >> s/\n// >&g

Re: Hyphenation mess :-(

2004-12-02 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> Yes, this works too :-) Martin> And then how to build on this? I do not have much time to look at it now, but the idea is that you should use sed to keep only the languages, and then do something like echo "s/@chk_languages@/$

Re: Hyphenation mess :-(

2004-12-02 Thread Martin Vermeer
ll the user what hyphenations > >> are available in his babel installation. This is what we want in a > >> first step. > >> > >> JMarc > > > > Would this be acceptable as a start? > > 'grep -A' is not POSIX. Tru64 Unix's version o

Re: Hyphenation mess :-(

2004-12-02 Thread Angus Leeming
>> first step. >> >> JMarc > > Would this be acceptable as a start? 'grep -A' is not POSIX. Tru64 Unix's version of grep, for example, doesn't recognize it. sed -n '/hyphenation patterns/{ :loop /loaded\.$/!{ $!{ N s/\n// tloop } } p }' chklatex.log > hyphenation.lst -- Angus

Re: Hyphenation mess :-(

2004-12-02 Thread Martin Vermeer
configure.m4 === RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/configure.m4,v retrieving revision 1.85 diff -u -r1.85 configure.m4 --- configure.m4 15 Nov 2004 19:13:25 - 1.85 +++ configure.m4 2 Dec 2004 13:57:32 - @@ -219,6

Re: Hyphenation mess :-(

2004-12-02 Thread Jean-Marc Lasgouttes
> "Helge" == Helge Hafting <[EMAIL PROTECTED]> writes: Helge> Is edit->reconfigure the right time though? A user may Helge> routinely use a couple of languages, and which one isn't known Helge> at reconfigure time. Edit>Reconfigure is the right time to tell the user what hyphenations are avai

Re: Hyphenation mess :-(

2004-12-02 Thread Helge Hafting
John Levon wrote: It could even compile a short test file in the background extracting the phrase "hyphenation patterns for ... loaded" from the log. (or Reconfigure could do that.) If we can test the case, then we can Edit->Reconfigure warn the user indeed. Is edit->recon

Re: Hyphenation mess :-(

2004-12-02 Thread Martin Vermeer
On Thu, 2004-12-02 at 12:16, Lars Gullik BjÃnnes wrote: ... > | Attached a patch to the User Guide. > > Very good. (haven't looked at it) Somebody, please do. Or I'll just commit a little later. - Martin signature.asc Description: This is a digitally signed message part

Re: Hyphenation mess :-(

2004-12-02 Thread Martin Vermeer
On Thu, 2004-12-02 at 12:39, Jean-Marc Lasgouttes wrote: ... > >> It could even compile a short test file in the background > >> extracting the phrase "hyphenation patterns for ... loaded" from > >> the log. (or Reconfigure could do that.) > > John

Re: Hyphenation mess :-(

2004-12-02 Thread Jean-Marc Lasgouttes
>>>>> "John" == John Levon <[EMAIL PROTECTED]> writes: John> On Thu, Dec 02, 2004 at 12:02:20PM +0200, Martin Vermeer wrote: >> What about adding a panel Preferences->Language >> Settings->Hyphenation shortly explaining this? John> Hmm, not

Re: Hyphenation mess :-(

2004-12-02 Thread Lars Gullik Bjønnes
Martin Vermeer <[EMAIL PROTECTED]> writes: | Just found out that in order to get proper hypenation for Finnish out of | teTeX, you have to turn it on through the texconfig utility! > | Believe it or not, by default you only have hyphenation for american, | french and german... >

Re: Hyphenation mess :-(

2004-12-02 Thread John Levon
On Thu, Dec 02, 2004 at 12:02:20PM +0200, Martin Vermeer wrote: > What about adding a panel Preferences->Language Settings->Hyphenation > shortly explaining this? Hmm, not a fan... > It could even compile a short test file in the > background extracting the phrase "h

Hyphenation mess :-(

2004-12-02 Thread Martin Vermeer
Just found out that in order to get proper hypenation for Finnish out of teTeX, you have to turn it on through the texconfig utility! Believe it or not, by default you only have hyphenation for american, french and german... THIS IS A PROBLEM. I am reasonably well informed on (La)TeX and found

Hyphenation problems

1999-08-22 Thread Ben Cazzolato
using \renewcommand{\lefthyphenmin}{3} \renewcommand{\righthyphenmin}{3} to no avail. Only way I've been able to over come this is by using \hyphenation (eg \hyphenation{constraint}). Has anybody seen this before? Ben -- _ Ben Cazzolato Fluid Dynamics and Aco

shutting off hyphenation for table of contents

1999-08-02 Thread Richard E. Hawkins
According to _A guide to latex2e_, hyphenation can be shut off with \begin{slopppypar}. I've put a begin/end pair around my table of contents, but it still makes stupid and ugly breaks in the titles in the table of contents. Is there a fix for this other than defining allow ed hyphen

hyphenation

1999-05-14 Thread larry
LyX (and of course LaTeX) just hyphenated: >models into: >model- >s -- -lsm