Re: Too many hyphens
Hi there, My document has wrong hypenation. So i decide to make no hypenation. I find a syntax in to make my document dont have hypenation. Here is: %no hypenation \tolerance=1 \emergencystretch=\maxdimen \hyphenpenalty=1 \hbadness=1 Hope it helps Teguh Hady Ariwibowo Electronics Engineering Polytechnic Institute of Surabaya (EEPIS) --- On Tue, 12/13/11, Helge Hafting helge.haft...@hist.no wrote: From: Helge Hafting helge.haft...@hist.no Subject: Re: Too many hyphens To: lyx-users@lists.lyx.org Date: Tuesday, December 13, 2011, 4:09 PM On 13. des. 2011 03:19, Frederick FN Noronha फ्रेडरिक नोरोन्या *فريدريك نورونيا wrote: Dear all: My book text is showing up too many hyphens. Could you tell me if the text below is causing it, or what could the solution be? \usepackage{microtype} \makeatother \widowpenalty=1000 \clubpenalty=1 \raggedbottom \usepackage{titlesec} microtype will usually lead to fewer hyphens, not more. Things to consider: * Make sure the document language is set correctly. That avoids wrong hyphenations. * Consider wider margins, fewer columns or a more narrow font. That lessens the need for hyphenation Also, you can instruct latex to use a higher penalty for hyphens. That way, latex will make less hyphens and instead put more space between words. Use google to find out more about this. Helge Hafting
Problems with output on Lyx 2
When I try to produce a PDF output document I get an instant error, which reads An error occurred while running: java -jar htmltolatex.jar -input openquestions_v1.html -output openquestions_v1.tex Grateful for pointers. I've a fresh installation of 2.0.0 on Linux Mint 11 Katya. I've been away from Lyx for a year, and now I'm using a fresh installation of 2.00 as against the old version of 1.6 which I had painfully tweaked, but on a now-dead computer..
Re: enumitem.module in Lyx 2
Guenter Milde mi...@users.sf.net írta: On 2011-12-11, Liviu Andronic wrote: On Fri, Dec 9, 2011 at 8:25 PM, Guenter Milde mi...@users.sf.net wrote: My question is why the InsertShort title option is greyed out. Should not it work with the labeling and enumerate-resume list types as well? How could I make it work? Labeling is LyX's own special thing, and is not handled by enumitem. In my LyX 2.x SVN, it is handled by enumitem. And inserting options with the misnamed InsertShort Title into a labeling works, too. I'm not suer what's wrong, but I think I'm seeing this issue, too (in both 2.0.x and 2.1 SVN). For one, I cannot insert a short title. But worst is that when I look into enumitem.lyx and specifically at the last example that suggests that the environment also takes an optional argument, here is what I get in the View Source: It also takes an optional argument: \begin{elabeling}{withNN} \item [{nice}] description \item [{with}] several items and \item [{including~one~very~long~label}] and the item content starting at the next line.\end{elabeling} The above completely ignores the 'style=nextline' inserted in the 'opt' inset. When I write anything else in the inset, the Source pane dully ignores it. Something is wrong. It seems the latest update # 2011-01-12 bugfix: set elabeling label font to \normalfont. has broken this. In my local ~/.lyx-svn/layouts folder, I have the previous version that fully defines the Labeling style while the 2011-01-12 version seems to inherit from stdlists.inc. The following patch should fix the issue: @@ -72,6 +72,7 @@ Input stdlyxlist.inc Style Labeling LatexName elabeling + OptionalArgs 1 # FIXME This should probably be defined using \newlist instead Preamble % labeling-like list based on enumitem's description list with Günter Thank you for the fix. bcsikos
Re: Compose key again
On Thu, Dec 15, 2011 at 11:53 PM, Daniel Lundsgaard Skovenborg It seems that qtconfig is broken (at least on my system). The environment variable QT_IM_MODULE (which I was unaware of) was still set to xim. Added: export QT_IM_MODULE=ibus to ~/.profile, and everything was fine again. - Daniel Hey Daniel, If you think there is a bug, maybe you should file a bug report. If you do, post the link here. Xu
Re: Too many hyphens
Hi there, My document has wrong hypenation. So i decide to make no hypenation. I find a syntax in to make my document dont have hypenation. Here is: %no hypenation \tolerance=1 \emergencystretch=\maxdimen \hyphenpenalty=1 \hbadness=1 Hope it helps Teguh Hady Ariwibowo Electronics Engineering Polytechnic Institute of Surabaya (EEPIS) --- On Tue, 12/13/11, Helge Hafting helge.haft...@hist.no wrote: From: Helge Hafting helge.haft...@hist.no Subject: Re: Too many hyphens To: lyx-users@lists.lyx.org Date: Tuesday, December 13, 2011, 4:09 PM On 13. des. 2011 03:19, Frederick FN Noronha फ्रेडरिक नोरोन्या *فريدريك نورونيا wrote: Dear all: My book text is showing up too many hyphens. Could you tell me if the text below is causing it, or what could the solution be? \usepackage{microtype} \makeatother \widowpenalty=1000 \clubpenalty=1 \raggedbottom \usepackage{titlesec} microtype will usually lead to fewer hyphens, not more. Things to consider: * Make sure the document language is set correctly. That avoids wrong hyphenations. * Consider wider margins, fewer columns or a more narrow font. That lessens the need for hyphenation Also, you can instruct latex to use a higher penalty for hyphens. That way, latex will make less hyphens and instead put more space between words. Use google to find out more about this. Helge Hafting
Problems with output on Lyx 2
When I try to produce a PDF output document I get an instant error, which reads An error occurred while running: java -jar htmltolatex.jar -input openquestions_v1.html -output openquestions_v1.tex Grateful for pointers. I've a fresh installation of 2.0.0 on Linux Mint 11 Katya. I've been away from Lyx for a year, and now I'm using a fresh installation of 2.00 as against the old version of 1.6 which I had painfully tweaked, but on a now-dead computer..
Re: enumitem.module in Lyx 2
Guenter Milde mi...@users.sf.net írta: On 2011-12-11, Liviu Andronic wrote: On Fri, Dec 9, 2011 at 8:25 PM, Guenter Milde mi...@users.sf.net wrote: My question is why the InsertShort title option is greyed out. Should not it work with the labeling and enumerate-resume list types as well? How could I make it work? Labeling is LyX's own special thing, and is not handled by enumitem. In my LyX 2.x SVN, it is handled by enumitem. And inserting options with the misnamed InsertShort Title into a labeling works, too. I'm not suer what's wrong, but I think I'm seeing this issue, too (in both 2.0.x and 2.1 SVN). For one, I cannot insert a short title. But worst is that when I look into enumitem.lyx and specifically at the last example that suggests that the environment also takes an optional argument, here is what I get in the View Source: It also takes an optional argument: \begin{elabeling}{withNN} \item [{nice}] description \item [{with}] several items and \item [{including~one~very~long~label}] and the item content starting at the next line.\end{elabeling} The above completely ignores the 'style=nextline' inserted in the 'opt' inset. When I write anything else in the inset, the Source pane dully ignores it. Something is wrong. It seems the latest update # 2011-01-12 bugfix: set elabeling label font to \normalfont. has broken this. In my local ~/.lyx-svn/layouts folder, I have the previous version that fully defines the Labeling style while the 2011-01-12 version seems to inherit from stdlists.inc. The following patch should fix the issue: @@ -72,6 +72,7 @@ Input stdlyxlist.inc Style Labeling LatexName elabeling + OptionalArgs 1 # FIXME This should probably be defined using \newlist instead Preamble % labeling-like list based on enumitem's description list with Günter Thank you for the fix. bcsikos
Re: Compose key again
On Thu, Dec 15, 2011 at 11:53 PM, Daniel Lundsgaard Skovenborg It seems that qtconfig is broken (at least on my system). The environment variable QT_IM_MODULE (which I was unaware of) was still set to xim. Added: export QT_IM_MODULE=ibus to ~/.profile, and everything was fine again. - Daniel Hey Daniel, If you think there is a bug, maybe you should file a bug report. If you do, post the link here. Xu
Re: Too many hyphens
Hi there, My document has wrong hypenation. So i decide to make no hypenation. I find a syntax in to make my document dont have hypenation. Here is: %no hypenation \tolerance=1 \emergencystretch=\maxdimen \hyphenpenalty=1 \hbadness=1 Hope it helps Teguh Hady Ariwibowo Electronics Engineering Polytechnic Institute of Surabaya (EEPIS) --- On Tue, 12/13/11, Helge Haftingwrote: From: Helge Hafting Subject: Re: Too many hyphens To: lyx-users@lists.lyx.org Date: Tuesday, December 13, 2011, 4:09 PM On 13. des. 2011 03:19, Frederick FN Noronha फ्रेडरिक नोरोन्या *فريدريك نورونيا wrote: > Dear all: > > My book text is showing up too many hyphens. Could you tell me if the > text below is causing it, or what could the solution be? > > \usepackage{microtype} > \makeatother > \widowpenalty=1000 > \clubpenalty=1 > \raggedbottom > \usepackage{titlesec} > microtype will usually lead to fewer hyphens, not more. Things to consider: * Make sure the document language is set correctly. That avoids wrong hyphenations. * Consider wider margins, fewer columns or a more narrow font. That lessens the need for hyphenation Also, you can instruct latex to use a higher penalty for hyphens. That way, latex will make less hyphens and instead put more space between words. Use google to find out more about this. Helge Hafting
Problems with output on Lyx 2
When I try to produce a PDF output document I get an instant error, which reads An error occurred while running: java -jar htmltolatex.jar -input "openquestions_v1.html" -output "openquestions_v1.tex" Grateful for pointers. I've a fresh installation of 2.0.0 on Linux Mint 11 Katya. I've been away from Lyx for a year, and now I'm using a fresh installation of 2.00 as against the old version of 1.6 which I had painfully tweaked, but on a now-dead computer..
Re: enumitem.module in Lyx 2
Guenter Mildeírta: >On 2011-12-11, Liviu Andronic wrote:> > On Fri, Dec 9, 2011 at 8:25 PM, Guenter Milde wrote:> My question is why the Insert>Short title option is greyed out.> Should not it work with the labeling and enumerate-resume list types> as well? How could I make it work?> > >>> Labeling is LyX's own special thing, and is not handled by enumitem.> > >> In my LyX 2.x SVN, it is handled by enumitem.> >> And inserting options with the misnamed Insert>Short Title into a labeling> >> works, too.> > > I'm not suer what's wrong, but I think I'm seeing this issue, too (in> > both 2.0.x and 2.1 SVN). For one, I cannot insert a "short title". But> > worst is that when I look into enumitem.lyx and specifically at the> > last example that suggests that the environment "also takes an> > optional argument", here is what I get in the View Source:> > It also takes an optional argument:> > \begin{elabeling}{withNN}> > \item [{nice}] description> > \item [{with}] several items and> > \item [{including~one~very~long~label}] and the item content starting> > at the next line.\end{elabeling}> > > The above completely ignores the 'style=nextline' inserted in the> > 'opt' inset. When I write anything else in the inset, the Source pane> > dully ignores it. Something is wrong.> > It seems the latest update> > # 2011-01-12 bugfix: set elabeling label font to \normalfont.> > has broken this. > > In my local ~/.lyx-svn/layouts folder, I have the previous version that> fully defines the Labeling style while the 2011-01-12 version seems to> inherit from stdlists.inc.> > The following patch should fix the issue:> > @@ -72,6 +72,7 @@ Input stdlyxlist.inc> > Style Labeling> LatexName elabeling> + OptionalArgs 1> # FIXME This should probably be defined using \newlist instead> Preamble> % labeling-like list based on enumitem's description list with> > > Günter > Thank you for the fix. bcsikos
Re: Compose key again
On Thu, Dec 15, 2011 at 11:53 PM, Daniel Lundsgaard Skovenborg > It seems that qtconfig is broken (at least on my system). The > environment variable QT_IM_MODULE (which I was unaware of) was still > set to "xim". > Added: > export QT_IM_MODULE=ibus > to ~/.profile, and everything was fine again. > > - Daniel > Hey Daniel, If you think there is a bug, maybe you should file a bug report. If you do, post the link here. Xu