Re: OT: checked box symbol

2011-09-18 Thread Liviu Andronic
On Mon, Sep 19, 2011 at 8:28 AM, Guenter Milde  wrote:
>> I could use XeTeX and insert the Unicode
>> U+2611 ☑, which looks nice, but I'm not sure I'll be able to compile
>> my document in a Windows environment.
>
> If the Windows environment in question has a xetex engine and a font that
> contains the symbol, it should work.
>
Do you know if I could continue using Palatino (Palladio) in my
document (with LM for the rest), while randomly inserting Unicode
chars like this that would use an OpenType font? I'd like to keep
working with Palatino.

However, to answer your question, the Windows environment on the other
side of my laptop is badly out of date and features MiKTeX 2.8 (which
complains when trying to compile with XeTeX) and a broken Sweave
installation (I still haven't figured what I managed to break when
upgrading R). Since when using Windows I'm anyways mainly relying on
TeXLive on Xubuntu on a Virtual Machine, I may just go haywire and
experiment with LyX with TL on Windows.

Regards
Liviu


Re: Strange behavior

2011-09-18 Thread Guenter Milde
On 2011-09-18, Karl Linek wrote:

> I have two files. The first one I wrote with LyX 1.6.7. Then I installed
> LyX 2.0. I copied the file to a USB-stick. Suddenly I got always 4
> errors

On the same machine? What else changed, a new LaTeX distro/version as well?

> "Undefined control sequence."

> for example with the description

> "ist $\unit[1]{\lyxmathsym{\textdegree}C}
>   $ gleich $\unit[1]{K}$.
> The control sequence at the end of the top line
> of your error message was never \def'ed. If you have
> misspelled it (e.g., `\hobx'), type `I' and the correct
> spelling (e.g., `I\hbox'). Otherwise just continue,
> and I'll forget about whatever was undefined."

> That was not useful. 

It tells, that at this stage, LaTeX does not know the command \unit.

Did you type this command in your document or did LyX insert it?

Did you manually load the package unit.sty (in the user preamble)?
Did you use a module?

> I tried a lot of things. Once I succeeded to reduce
> the error by one.

> The last trial was to copy the text, to make a new file and to paste the
> text. I did the same with all the options and settings. At least I had a
> manually copied file. And...

> It worked. No errors, no complains.

Is the "missing command" /unit still in the exported LaTeX source (you can
check with View>Source or by exporting to LaTeX)?

> I think LyX does not delete all the code if one changes some settings.

It only deletes what it inserts. Also, if you remove a module, LyX will/can
typically not remove code that depends on this module.

Also, if you move a file from one computer to another, LyX will not remove
code that relies on packages only present on the first...

Günter



Re: Branch problem with chapters

2011-09-18 Thread Manveru
2011/9/19 Julien Rioux :
[...]
>
> Glad you got it fixed. Does it work also if you position the cursor ahead of
> the branch and select the Standard environment from the dropdown? I would
> think it should work.

I tried that, but this method failed. Nothing happens (I used Alt+P, S).

>> Such additional experiments expected from the user to clean thing up
>> does not seem to be a wanted feature of the application.
>>
>
> I guess the cursor was in Chapter environment when you did Insert > Branch.
> Then the branch resides inside a Chapter environment. There is a reasonable
> chance that this is actually what you want.
>
> So, should LyX do better by guessing that you want to do with the branch
> based on the current selection? Something like, if the selection involves
> the whole of an environment, or more than one environment, put the branch in
> a Standard environment.

If I select whole chapter in outline and then want to move it into
branch, what I want? For sure not leaving empty chapter.

Maybe I am wrong, but I think whole chapter should go there and branch
should left in standard environment. Anyone else vote on this or that?

-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: OT: checked box symbol

2011-09-18 Thread Guenter Milde
On 2011-09-19, Liviu Andronic wrote:
> Hello
> This is slightly off topic. I'm looking for a (decent) LaTeX symbol
> that would display a box that contains a check mark. I looked into the
> 'The Comprehensive LaTeX Symbol List' [1], but it only suggests
> \CheckedBox in 'wasysym' and \Checkedbox in 'marvosym', both sloppy
> executions (to my taste). 

I don't know of any other.

> I could use XeTeX and insert the Unicode
> U+2611 ☑, which looks nice, but I'm not sure I'll be able to compile
> my document in a Windows environment.

If the Windows environment in question has a xetex engine and a font that
contains the symbol, it should work.


Günter



OT: checked box symbol

2011-09-18 Thread Liviu Andronic
Hello
This is slightly off topic. I'm looking for a (decent) LaTeX symbol
that would display a box that contains a check mark. I looked into the
'The Comprehensive LaTeX Symbol List' [1], but it only suggests
\CheckedBox in 'wasysym' and \Checkedbox in 'marvosym', both sloppy
executions (to my taste). I could use XeTeX and insert the Unicode
U+2611 ☑, which looks nice, but I'm not sure I'll be able to compile
my document in a Windows environment.

Would you have some other suggestions? Regards
Liviu

[1] http://mirror.ctan.org/info/symbols/comprehensive/symbols-a4.pdf



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Bug with Comments or Greyed out in section headings?

2011-09-18 Thread Julien Rioux

On 19/09/2011 12:28 AM, Lisa Andrews wrote:

Apologies if I have missed something in the documentation:

With 2.0.1 on OSX or  2.0.0 on Win7-64, I am unable to insert a Comment or
Greyed out inset in a section heading (through the menu or right-clicking),
but if I create one in the standard environment and then change the
environment to a section such as "Part" or "Subsection" the comment inset is
allowed or kept.
Right clicking or the menu now allows the comment to be changed to a note,
but its a one-way affair; once done, one cannot change it back again.

Is the reason for this covered somewhere?
Thanks, Lisa



This will most likely give you compilation errors from LaTeX and that 
would be why LyX tries to prevent you from doing it. But if you are very 
insistent you can get around it, s yo saw! If it works for you then why 
not use it, but expect the unexpected.


Cheers,
Julien



Re: Branch problem with chapters

2011-09-18 Thread Julien Rioux

On 18/09/2011 11:55 PM, Manveru wrote:

2011/9/18 Julien Rioux:

On 18/09/2011 10:24 PM, Manveru wrote:


Hi,

If I select whole chapter from outline pane and select to insert a
branch, which is disabled, then empty chapters are left which goes
into output. How to clean them up? I need whole chapters but I do not
need artefacts leaved when branches are disabled. Is it a bug in
2.0.1? Document class chosen is mwbook.

Additionally, branches cannot be named with spaces inside - something
wrong happens with them if they contain spaces. However they are
allowed to be entered on creation.


Is the branch inset in a standard environment or in Chapter environment?


It seems that by default, if the branch will contain whole chapter, it
is inserted into chapter. I was spent thirty minutes to figure out how
to delete these unwanted chapters, as they are immune to delete and
backspace.

I had to cut (Ctrl-X) whole branch, move it up into standard
evironment of previous chapter, and then paste (Ctrl-V).



Glad you got it fixed. Does it work also if you position the cursor 
ahead of the branch and select the Standard environment from the 
dropdown? I would think it should work.



Such additional experiments expected from the user to clean thing up
does not seem to be a wanted feature of the application.



I guess the cursor was in Chapter environment when you did Insert > 
Branch. Then the branch resides inside a Chapter environment. There is a 
reasonable chance that this is actually what you want.


So, should LyX do better by guessing that you want to do with the branch 
based on the current selection? Something like, if the selection 
involves the whole of an environment, or more than one environment, put 
the branch in a Standard environment.


--
Julien



Bug with Comments or Greyed out in section headings?

2011-09-18 Thread Lisa Andrews
Apologies if I have missed something in the documentation:

With 2.0.1 on OSX or  2.0.0 on Win7-64, I am unable to insert a Comment or
Greyed out inset in a section heading (through the menu or right-clicking),
but if I create one in the standard environment and then change the
environment to a section such as "Part" or "Subsection" the comment inset is
allowed or kept.
Right clicking or the menu now allows the comment to be changed to a note,
but its a one-way affair; once done, one cannot change it back again.

Is the reason for this covered somewhere?
Thanks, Lisa


Re: Branch problem with chapters

2011-09-18 Thread Manveru
2011/9/18 Julien Rioux :
> On 18/09/2011 10:24 PM, Manveru wrote:
>>
>> Hi,
>>
>> If I select whole chapter from outline pane and select to insert a
>> branch, which is disabled, then empty chapters are left which goes
>> into output. How to clean them up? I need whole chapters but I do not
>> need artefacts leaved when branches are disabled. Is it a bug in
>> 2.0.1? Document class chosen is mwbook.
>>
>> Additionally, branches cannot be named with spaces inside - something
>> wrong happens with them if they contain spaces. However they are
>> allowed to be entered on creation.
>
> Is the branch inset in a standard environment or in Chapter environment?

It seems that by default, if the branch will contain whole chapter, it
is inserted into chapter. I was spent thirty minutes to figure out how
to delete these unwanted chapters, as they are immune to delete and
backspace.

I had to cut (Ctrl-X) whole branch, move it up into standard
evironment of previous chapter, and then paste (Ctrl-V).

Such additional experiments expected from the user to clean thing up
does not seem to be a wanted feature of the application.

-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: Branch problem with chapters

2011-09-18 Thread Julien Rioux

On 18/09/2011 10:24 PM, Manveru wrote:

Hi,

If I select whole chapter from outline pane and select to insert a
branch, which is disabled, then empty chapters are left which goes
into output. How to clean them up? I need whole chapters but I do not
need artefacts leaved when branches are disabled. Is it a bug in
2.0.1? Document class chosen is mwbook.

Additionally, branches cannot be named with spaces inside - something
wrong happens with them if they contain spaces. However they are
allowed to be entered on creation.


Is the branch inset in a standard environment or in Chapter environment?

--
Julien



Re: lyx 3.0.1 (.exe for windows)

2011-09-18 Thread Liviu Andronic
On Sun, Sep 18, 2011 at 11:30 PM, Julien Rioux
 wrote:
> And let's everyone offer Uwe a beer for jumping in and providing his
> installer in such timely fashion at each and every single release!
>
Did they start making digital beer? I'd gladly send Uwe some.
Liviu


Re: lyx 3.0.1 (.exe for windows)

2011-09-18 Thread Julien Rioux

On 18/09/2011 10:56 PM, Jim Rockford wrote:

"In 10 years time. Perhaps 15, tops. As for 2.0.1, our Windows Installer
maintainer is currently off-line so there will be no binaries (very) soon.
You may want to try Uwe's installer [1], which is currently unofficial but
potentially the official installer in the future."
---

I hope this doesn't indicate disinterest in the lyx Windows user base by the
lyx development team.  Some of us were basically forced to migrate to
Windows for work reasons and ease of collaboration.  In the past, when a new
release was issued the Windoze binaries were up within a day or two



I hope this doesn't indicate disinterest in LyX development by the LyX 
Windows user base ;)


Offer help! jump in! We need people able to build an installer for this 
platform.


And let's everyone offer Uwe a beer for jumping in and providing his 
installer in such timely fashion at each and every single release!


Regards,
Julien



Re: lyx 3.0.1 (.exe for windows)

2011-09-18 Thread Jim Rockford
"In 10 years time. Perhaps 15, tops. As for 2.0.1, our Windows Installer
maintainer is currently off-line so there will be no binaries (very) soon.
You may want to try Uwe's installer [1], which is currently unofficial but
potentially the official installer in the future."
---

I hope this doesn't indicate disinterest in the lyx Windows user base by the
lyx development team.  Some of us were basically forced to migrate to
Windows for work reasons and ease of collaboration.  In the past, when a new
release was issued the Windoze binaries were up within a day or two


Branch problem with chapters

2011-09-18 Thread Manveru
Hi,

If I select whole chapter from outline pane and select to insert a
branch, which is disabled, then empty chapters are left which goes
into output. How to clean them up? I need whole chapters but I do not
need artefacts leaved when branches are disabled. Is it a bug in
2.0.1? Document class chosen is mwbook.

Additionally, branches cannot be named with spaces inside - something
wrong happens with them if they contain spaces. However they are
allowed to be entered on creation.
-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: Strange behavior

2011-09-18 Thread Richard Heck
On 09/18/2011 12:16 PM, Julio Rojas wrote:
> The problem can be twosome. On the one hand, some corrupted temporary
> files created by LyX's compilation can be generating the problem. On
> the other hand, if you compiled a Latex version on the same folder the
> Lyx file is, I think it might be creating some havoc. Le us wait to
> see if the developers can confirm both situations as problem sources.
>
All temporary files generated by LyX are in the temporary folder and so
are not used again. There might be other files in the original document
folder, e.g., *.sty files, that are needed for compilation, and then you
could have a problem if you just copied the LyX file. But LyX does not
put those there.

My guess is that the problem might have been lyx2lyx issue. But it's
hard to know without more info. This error:

"ist $\unit[1]{\lyxmathsym{\textdegree}C}
  $ gleich $\unit[1]{K}$.
The control sequence at the end of the top line
of your error message was never \def'ed. 

looks to me like a missing units.sty, though.

Richard



Re: lyx 3.0.1 (.exe for windows)

2011-09-18 Thread Liviu Andronic
(please reply to the list too)


On Sun, Sep 18, 2011 at 7:33 PM, Metin CALISKAN
 wrote:
>
> Thank you Liviu.
> However I have a question.
> On the official website I see .dmg packages (wich are supposed to be for mac 
> users).
> But I also see cywin.tar.gz packages.
> Are windows users supposed to use the cywin.tar.gz package to get the latest 
> official release of lyx ??
>
No, not really. Cygwin is a Linux-like environment on top of Windows.
If you're not familiar with it, you probably don't want it. Normally
you use the latest Windows installer that is available shortly after
the release. Currently the developer responsible for it is off line,
and until then there will not be any official Win installer. (Please
remember that this is a volunteer project.)


> (I'm not really aware what is cywin...)
>
http://en.wikipedia.org/wiki/Cygwin

Liviu


Re: lyx 3.0.1 (.exe for windows)

2011-09-18 Thread Liviu Andronic
On Sun, Sep 18, 2011 at 6:04 PM, Metin CALISKAN
 wrote:
> Hello,
>
> I would like to know when you will put the .exe package for lyx 3.0.1 for
> Windows on the official website ??...
>
In 10 years time. Perhaps 15, tops. As for 2.0.1, our Windows
Installer maintainer is currently off-line so there will be no
binaries (very) soon. You may want to try Uwe's installer [1], which
is currently unofficial but potentially the official installer in the
future. It hasn't been vetted by our devel Gods so please use it at
your own risk.

Cheers
Liviu

[1] 
http://developer.berlios.de/project/showfiles.php?group_id=5117&release_id=18767


> Thanks
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


lyx 3.0.1 (.exe for windows)

2011-09-18 Thread Metin CALISKAN
Hello,

I would like to know when you will put the .exe package for lyx 3.0.1 for
Windows on the official website ??...

Thanks


Re: Strange behavior

2011-09-18 Thread Julio Rojas
The problem can be twosome. On the one hand, some corrupted temporary
files created by LyX's compilation can be generating the problem. On
the other hand, if you compiled a Latex version on the same folder the
Lyx file is, I think it might be creating some havoc. Le us wait to
see if the developers can confirm both situations as problem sources.

Regards.
-
Julio Rojas
jcredbe...@gmail.com



On Sun, Sep 18, 2011 at 5:47 PM, Karl Linek  wrote:
> On Sun, 2011-09-18 at 16:59 +0200, Julio Rojas wrote:
>> Hi Karl, most certainly this problem comes from temporary files
>> created by LaTeX. When you created a new file and copied everything on
>> it, those files where not present and thus, the document compiled. I
>> had my share of those and are always solved the same way. Check if the
>> folder in which the original LyX file was created have some temporary
>> LaTeX files.
>>
> Deleting these files will solve the problem? Thank you, that's useful.
> But I think leaving the files on the harddisk is not a proper way. The
> developers should fix this.
>
> Best regards,
> Karl
>
>
>
>
>


Re: Strange behavior

2011-09-18 Thread Karl Linek
On Sun, 2011-09-18 at 16:59 +0200, Julio Rojas wrote:
> Hi Karl, most certainly this problem comes from temporary files
> created by LaTeX. When you created a new file and copied everything on
> it, those files where not present and thus, the document compiled. I
> had my share of those and are always solved the same way. Check if the
> folder in which the original LyX file was created have some temporary
> LaTeX files.
> 
Deleting these files will solve the problem? Thank you, that's useful.
But I think leaving the files on the harddisk is not a proper way. The
developers should fix this.

Best regards,
Karl






Re: Strange behavior

2011-09-18 Thread Julio Rojas
Hi Karl, most certainly this problem comes from temporary files
created by LaTeX. When you created a new file and copied everything on
it, those files where not present and thus, the document compiled. I
had my share of those and are always solved the same way. Check if the
folder in which the original LyX file was created have some temporary
LaTeX files.

Regards.
-
Julio Rojas
jcredbe...@gmail.com



On Sun, Sep 18, 2011 at 2:50 AM, Karl Linek  wrote:
> Hi,
>
> I have two files. The first one I wrote with LyX 1.6.7. Then I installed
> LyX 2.0. I copied the file to a USB-stick. Suddenly I got always 4
> errors
>
> "Undefined control sequence."
>
> for example with the description
>
> "ist $\unit[1]{\lyxmathsym{\textdegree}C}
>                                              $ gleich $\unit[1]{K}$.
> The control sequence at the end of the top line
> of your error message was never \def'ed. If you have
> misspelled it (e.g., `\hobx'), type `I' and the correct
> spelling (e.g., `I\hbox'). Otherwise just continue,
> and I'll forget about whatever was undefined."
>
> That was not useful. I tried a lot of things. Once I succeeded to reduce
> the error by one.
>
> The last trial was to copy the text, to make a new file and to paste the
> text. I did the same with all the options and settings. At least I had a
> manually copied file. And...
>
> It worked. No errors, no complains.
>
>
> I think LyX does not delete all the code if one changes some settings.
>
> lg,
> Karl
>
>
>
>
>


Fwd: Problem with cross references

2011-09-18 Thread Murat Yildizoglu


--
Murat Yildizoglu
murat.yildizo...@univ-cezanne.fr

Début du message transféré :

> Expéditeur: Murat Yildizoglu 
> Date: 18 septembre 2011 14:22:36 HAEC
> Destinataire: "ehud.kap...@mssm.edu" 
> Objet: Rép : Problem with cross references
> 

> I have also seen sometime incompatible dash characters pasted in a bibtex 
> file. 
> 
> --
> Murat Yildizoglu
> murat.yildizo...@univ-cezanne.fr
> 
> Le 18 sept. 2011 à 13:43, "ehud.kap...@gmail.com"  a 
> écrit :
> 
>> I had similar problems with references, which were solved by placing the 
>> offending character in the .bib file (usually something with an accent)  
>> with a \?{c}  where ? is the appropriate marker, such as ` or ' or " and c 
>> is the accented character, usually a, o, e, u or i.It is also possible 
>> that including the relevant language package (French, Czech, German  or 
>> whatever) in the Latex system will accomplish the same thing.
>> 
>> Ehud Kaplan
>> 
>> On 9/18/2011 6:07 AM, Alain Didierjean wrote:
>>> 
>>> - Mail original -
 De: "Paul A. Rubin" 
 À: lyx-users@lists.lyx.org
 Envoyé: Dimanche 18 Septembre 2011 03:58:29
 Objet: Re: Problem with cross references
 
 Alain Didierjean  free.fr> writes:
 
 
> Any other suggestions ? What's this "active character" problem
> about ?
> It's a mess as I need this documents printed on monday !
 Do you have Unicode characters (or something other than basic latin)
 in the
 reference labels?  Could this be an encoding issue?
 
 Under the heading "desperate times call for desperate measures", you
 might try
 making a copy of the .lyx files and using a plain text editor to
 globally search
 and replace the labels with something that uses only ASCII
 characters.  Then see
 if LyX does any better.
 
>>>  The problem is a known bug, specific to french and solved in texlive-2011. 
>>> I have found a work around and I'll have my docs in time. Some discussions 
>>> about it are in the french mailing list (in french of course).
>>> Thanks all for the help,
>> 
>> -- 
>> Ehud Kaplan, Ph.D.
>> Jules and Doris Stein Research to Prevent Blindness Professor
>> Director, Center of Excellence for Computational & System neuroscience,
>> The Friedman Brain Institute, MSSM
>> Director, The laboratory of Visual & Computational Neuroscience
>> Depts. of Neuroscience, Ophthalmology, Chemical & Structural Biology
>> The Mount Sinai School of Medicine
>> One Gustave Levy Place
>> New York, NY, 10029


Re: Problem with cross references

2011-09-18 Thread ehud.kap...@gmail.com
I had similar problems with references, which were solved by placing the 
offending character in the .bib file (usually something with an accent)  
with a \?{c}  where ? is the appropriate marker, such as ` or ' or " and 
c is the accented character, usually a, o, e, u or i.It is also 
possible that including the relevant language package (French, Czech, 
German  or whatever) in the Latex system will accomplish the same thing.


Ehud Kaplan

On 9/18/2011 6:07 AM, Alain Didierjean wrote:


- Mail original -

De: "Paul A. Rubin"
À: lyx-users@lists.lyx.org
Envoyé: Dimanche 18 Septembre 2011 03:58:29
Objet: Re: Problem with cross references

Alain Didierjean  free.fr>  writes:



Any other suggestions ? What's this "active character" problem
about ?
It's a mess as I need this documents printed on monday !

Do you have Unicode characters (or something other than basic latin)
in the
reference labels?  Could this be an encoding issue?

Under the heading "desperate times call for desperate measures", you
might try
making a copy of the .lyx files and using a plain text editor to
globally search
and replace the labels with something that uses only ASCII
characters.  Then see
if LyX does any better.


  The problem is a known bug, specific to french and solved in texlive-2011. I 
have found a work around and I'll have my docs in time. Some discussions about 
it are in the french mailing list (in french of course).
Thanks all for the help,


--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness /Professor
*Director*, Center of Excellence for /Computational & System neuroscience,
The Friedman Brain Institute, MSSM/
*Director*, The laboratory of /Visual & Computational Neuroscience/
Depts. of Neuroscience, Ophthalmology, Chemical & Structural Biology
The Mount Sinai School of Medicine
One Gustave Levy Place
New York, NY, 10029


Re: Problem with cross references

2011-09-18 Thread Alain Didierjean


- Mail original -
> De: "Paul A. Rubin" 
> À: lyx-users@lists.lyx.org
> Envoyé: Dimanche 18 Septembre 2011 03:58:29
> Objet: Re: Problem with cross references
>
> Alain Didierjean  free.fr> writes:
>
>
> > Any other suggestions ? What's this "active character" problem
> > about ?
> > It's a mess as I need this documents printed on monday !
>
> Do you have Unicode characters (or something other than basic latin)
> in the
> reference labels?  Could this be an encoding issue?
>
> Under the heading "desperate times call for desperate measures", you
> might try
> making a copy of the .lyx files and using a plain text editor to
> globally search
> and replace the labels with something that uses only ASCII
> characters.  Then see
> if LyX does any better.
>
 The problem is a known bug, specific to french and solved in texlive-2011. I 
have found a work around and I'll have my docs in time. Some discussions about 
it are in the french mailing list (in french of course).
Thanks all for the help,