Re: Forward/reverse searching problems under Windows (The Sequel)

2011-05-30 Thread Christopher Menzel
On 05/25/2011 4:16 PM, Enrico Forestieri wrote:
> Enrico Forestieri writes:
> 
>> So, can anyone compiling LyX with MSVC perform that check?
> 
> It turned out to be an issue with the MSVC compiler and should be fixed
> in the next release. 

Wow, thanks for all the time and effort you put into this.  I really
appreciate it.

> In the meantime, Windows users needing to perform a dvi forward search
> can workaround it by first generating a pdf and *then* previewing as
> dvi.

Yes, that works.  Thanks very much.

-chris



cross-reference to an enumerated item within a theorem

2011-05-30 Thread Ernesto Posse
Hi. Is there a way to do the following? Suppose I have a "Proposition"
environment and the text is something like this

Proposition 3 [pro:some-label] The following holds:
 1. [enu:item1] something
 2. [enu:item2] other

and later on I want references to show, for example as:

"... by Proposition 3(2)"

Currently I use a Formatted reference for the first part and an
un-formatted reference for the second:

"... by [Formatted ref: pro:some-label]([Ref: enu:item2])"

or in plain LaTeX (with prettyref)

"... by \prettyref{pro:some-label}(\ref{enu:item2})"

This is a bit cumbersome. Since enu:item2 is inside the Proposition
environment, would it be possible to infer the label pro:some-label
associated with that environment to create a format in prettyref so
that referring only to the individual item, so that it gives you the
full reference, i.e. something like

"... by [Formatted ref: enu-item2]"

yields

"... by Proposition 3(2)"

?


-- 
Ernesto Posse

Modelling and Analysis in Software Engineering
School of Computing
Queen's University - Kingston, Ontario, Canada


Re: Table formatting

2011-05-30 Thread Francesco Menoncin

Il 30/05/2011 17:37, Christoph Mayer ha scritto:

Dear all,

I have some trouble to format the following table. I've attached just an 
exemplary Version  as .lyx-file, since it's a quite complicated table and I 
don't know where to search for the reason. The table as shown in Lyx itself is 
as I want it to have: I have some multicolumns, multirows.   After each 
Multicolumn, marked with Section 1, Section 2, and so on, I want to have at 
least a normal separation in order to distinguish better between these 
sections. It is shown well in Lyx, but during compilation, between the 
different Sections, there is no separation anymore visible, which makes the 
table much harder to read. Could you please help me with some hints to find out 
what went wrong with my table or how the format could be improved?
I'm running Lyx 2.0 under OsX.

thank you very much for your kind help, all the best and a nice evening!
Christoph



Dear Christoph,
I had the very same problem and I have already signaled it as a bug in 
the LyX forum.

When you use multirow, some borders disapper.
You can solve by using the old command \multirow as I show in the 
attached file (you must also put \usepackage{multirow} in the preamble).
Instead, when you do not have borders, you can use the multirow botton 
in LyX.


Francesco
#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass memoir
\begin_preamble
\usepackage{multirow}
\end_preamble
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\use_mhchem 1
\use_mathdots 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
Test caption
\begin_inset CommandInset label
LatexCommand label
name "tab:Test-caption"

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Plain Layout
\noindent
\align center

\size scriptsize
\begin_inset Tabular













\begin_inset Text

\begin_layout Plain Layout

\size scriptsize
def
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\size scriptsize
ghi
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\size scriptsize
iii
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\end_layout

\end_inset




\begin_inset Text

\begin_layout Plain Layout

\size scriptsize
abc
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\size scriptsize
one
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\size scriptsize
two
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\size scriptsize
three
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\size scriptsize
four
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\size scriptsize
five
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\size scriptsize
six
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\size scriptsize
seven
\end_layout

\end_inset




\begin_inset Text

\begin_layout Plain Layout

\size scriptsize
\begin_inset ERT
status open

\begin_layout Plain Layout

\size scriptsize

\backslash
multirow{5}{*}{Section 1}
\end_layout

\end_inset


\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\size scriptsize
1.1
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\size scriptsize
\begin_inset Formula $20\pm0.5$
\end_inset


\end_layout

\end_inset


\begin_in

Table formatting

2011-05-30 Thread Christoph Mayer
Dear all, 

I have some trouble to format the following table. I've attached just an 
exemplary Version  as .lyx-file, since it's a quite complicated table and I 
don't know where to search for the reason. The table as shown in Lyx itself is 
as I want it to have: I have some multicolumns, multirows.   After each 
Multicolumn, marked with Section 1, Section 2, and so on, I want to have at 
least a normal separation in order to distinguish better between these 
sections. It is shown well in Lyx, but during compilation, between the 
different Sections, there is no separation anymore visible, which makes the 
table much harder to read. Could you please help me with some hints to find out 
what went wrong with my table or how the format could be improved? 
I'm running Lyx 2.0 under OsX. 

thank you very much for your kind help, all the best and a nice evening!
Christoph 



Table.lyx
Description: Binary data


Re: updating kde is a mess

2011-05-30 Thread Nikos Chantziaras

On 05/30/2011 05:03 PM, Alain DIDIERJEAN wrote:

Trying to update from kde4.5 to kde4.6
A simple "emerge -uD world" gives:


This is the LyX list.  Try the Gentoo users list instead :-P



updating kde is a mess

2011-05-30 Thread Alain DIDIERJEAN
Trying to update from kde4.5 to kde4.6
A simple "emerge -uD world" gives:

[ebuild U ] x11-libs/qt-core-4.7.2-r1 [4.6.3-r1] USE="-jit% 
-private-headers%" 
[ebuild U ] x11-libs/qt-sql-4.7.2 [4.6.3-r2]
[blocks b ] =kde-base/plasma-runtime-4.6.2[-aqua,-kdeprefix] required by 
(kde-base/plasma-workspace-4.6.2-r1^[[39;49;00m, ebuild scheduled for m$
>=kde-base/plasma-runtime-4.6.2[-aqua,-kdeprefix] required by 
(kde-base/kdebase-runtime-meta-4.6.2^[[39;49;00m, ebuild scheduled for $

  (kde-base/solid-4.6.2^[[39;49;00m, ebuild scheduled for merge) pulled in by
>=kde-base/solid-4.6.2[-aqua,-kdeprefix] required by 
(kde-base/kdebase-meta-4.6.2^[[39;49;00m, ebuild scheduled for merge)
>=kde-base/solid-4.5 required by (media-gfx/digikam-1.9.0^[[39;49;00m, 
ebuild scheduled for merge)
>=kde-base/solid-4.6.2[-aqua,-kdeprefix] required by 
(kde-base/plasma-workspace-4.6.2-r1^[[39;49;00m, ebuild scheduled for merge)
(and 6 more)

  (net-wireless/kbluetooth-0.4.2^[[39;49;00m, installed) pulled in by
net-wireless/kbluetooth required by @selected

  (kde-base/kdontchangethehostname-4.6.2^[[39;49;00m, ebuild scheduled for 
merge) pulled in by
>=kde-base/kdontchangethehostname-4.6.2[-aqua,-kdeprefix] required by 
(kde-base/kdebase-runtime-meta-4.6.2^[[39;49;00m, ebuild schedu$

  (kde-base/kdelibs-4.6.2-r3^[[39;49;00m, ebuild scheduled for merge) pulled in 
by
>=kde-base/kdelibs-4.6.2[-aqua,-kdeprefix] required by 
(kde-base/kdeartwork-wallpapers-4.6.2^[[39;49;00m, ebuild scheduled for merge)
>=kde-base/kdelibs-4.6.2[-aqua,-kdeprefix] required by 
(kde-base/kcheckpass-4.6.2^[[39;49;00m, ebuild scheduled for merge)
>=kde-base/kdelibs-4.6.2[-aqua,-kdeprefix] required by 
(kde-base/kanagram-4.6.2^[[39;49;00m, ebuild scheduled for merge)
(and 373 more)

  (kde-base/solid-runtime-4.6.2^[[39;49;00m, ebuild scheduled for merge) pulled 
in by
>=kde-base/solid-runtime-4.4.5[-aqua,-kdeprefix] required by 
(kde-base/solid-4.4.5^[[39;49;00m, installed)
>=kde-base/solid-runtime-4.6.2[-aqua,-kdeprefix] required by 
(kde-base/kdebase-runtime-meta-4.6.2^[[39;49;00m, ebuild scheduled for m$
>=kde-base/solid-runtime-4.6.2[-aqua,-kdeprefix] required by 
(kde-base/solid-4.6.2^[[39;49;00m, ebuild scheduled for merge)

  (kde-base/libkworkspace-4.6.2^[[39;49;00m, ebuild scheduled for merge) pulled 
in by
>=kde-base/libkworkspace-4.6.2[-aqua,-kdeprefix] required by 
(kde-base/plasma-workspace-4.6.2-r1^[[39;49;00m, ebuild scheduled for me$
>=kde-base/libkworkspace-4.6.2[-aqua,-kdeprefix] required by 
(kde-base/powerdevil-4.6.2-r1^[[39;49;00m, ebuild scheduled for merge)
>=kde-base/libkworkspace-4.6.2[-aqua,-kdeprefix] required by 
(kde-base/kwin-4.6.2^[[39;49;00m, ebuild scheduled for merge)
(and 13 more)


All together 982 lines as above.
Besides that, gentoo amd64 works fine on my box and I emerge everyday packages 
to upgrade, except those which are kde's.
Questions:
- what the hell is this mess, did I do something wrong ?
- have any of you got the same kind of troubles ?
- is there a way to go back to an up to date clean install, I mean besides 
reinstalling from scratch or going for Ubuntu ?
Reasons that make me go for gentoo 8 or 9 years ago:
- excellent docs. (as of to-day, some docs need updating);
- easyness of maintenance, no need for periodical reinstall (I'm not sure this 
time);
- stable packages are renewed in time, not too soon, not too late;
- portage works like a charm.
Hope I can get some help


-- 

Alain DIDIERJEAN  Puisque ces mystères nous dépassent
   Feignons d'en être l'organisateur



Re: LyX & XeTeX ->exit code -1

2011-05-30 Thread Liviu Andronic
On Fri, May 27, 2011 at 3:05 PM, Wolfgang Keller  wrote:
>
>
> Hello,
>
> I've been successfully using LyX (currently 2.0) as a portable
> application together with TeXlive 2010 on Windows (XP & Vista) for
> quite some time. After switching to XeTeX for some documents with
> Opentype fonts, and only on some computers, XeTeX will not run through
> but immediately exit after being started by LyX. The error message of
> LyX is like this:
>
> 20:52:46.602: The process crashed some time after starting
> successfully...\..\..\lyx-2.0.0\src\support\Systemcall.cpp(238):
> Systemcall: 'xelatex  "document.tex"' finished with exit code -1
>
To give us some useful information, please post the full latex log (in
Document > Log), the exact name of the file (there are known issues
when parentheses are part of the file name), and if possible a
_minimal_ example that reproduces the problem.

Regards
Liviu


> On the same computer, the same document, just with LaTeX fonts, will
> successfully compile with pdftex. And, if I export the document that
> uses Opentype fonts from LyX to .tex and then run Xelatex manually from
> the console, it also compiles successfully. Also, on some computers (all
> with Windows), the problem does not occur at all.
>
> This is not a serious problem for me, I just wonder whether anyone has
> a clue what could be wrong here (in terms of configuration of the
> computers in question or whatever) that I could change or whether this
> could be a hint to some kind of esoteric "feature" in the communication
> of LyX with XeTeX.
>
> TIA,
>
> Sincerely,
>
> Wolfgang
> --
> Führungskräfte leisten keine Arbeit.
> (D'Alembert)
>



-- 
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: export to HTML, math equation quality

2011-05-30 Thread Liviu Andronic
On Sat, May 28, 2011 at 5:39 PM, jong  wrote:
> @Liviu///  Thanks for the suggestion. But I gave up elyxer because I couldn't
> install in in my laptop (Windows 7 machine). Although I consider myself one of
> the skilled users of windows computers, I was completely lost when I tried to
> install elyxer and python stuff.
>
> Then, my laptop became almost unusable after the bloody Windows 7 SP1 update.
> For some reason, it started to ground my HDD constantly as if it caught a sort
> of virus or something. (Before this update I had very good impression about
> Windows 7 and my laptop).
>
> So I switched to Ubuntu 11.04 with Lyx2.0
>
> It came with two html export option (html and Lyxhtml) - It seems that one of
> these two utilize elyxer but not sure which one is which.
>
Try to install elyxer and then Tools > Reconfigure in LyX. The elyxer
should be available as a converter.
Liviu


> The first export option (html) was not successful in producing the display
> equations (all of them showed in '*')
>
> The second export option (Lyxhtml) really worked!! It produced all details of
> math expressions(integral, tilde, hat, etc) flawlessly. And they are all 
> vector
> graphics therefore can be scalable! The only problem left for me is to find a
> way to convert xhtml to rtf or word or openoffice so that I can satisfy those
> who want the bloody '.doc' files.
>
> -Jong
>
>



-- 
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: problem when using natbib reference

2011-05-30 Thread Julio Rojas
It depends on the bibliography style you are using.  Check this:
http://www.cs.stir.ac.uk/~kjt/software/latex/showbst.html

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


On Mon, May 30, 2011 at 12:16 PM, #VENKATARAMAN PANDURANGAN# <
venk0...@e.ntu.edu.sg> wrote:

> Hi,
>
>
>
> I am using Lyx 1.6.7. when I try to use natbib package with author year
> style, the intext references are displayed without the square brackets in
> the end as
>
> Text Liu et. Al (1998) textinstead of text [Liu et. Al (1998)] text
>
> This problem does  not appear when I choose numeric style.
>
> Can u please help solve this issue
>
>
>
> raman
>


problem when using natbib reference

2011-05-30 Thread #VENKATARAMAN PANDURANGAN#
Hi,

I am using Lyx 1.6.7. when I try to use natbib package with author year style, 
the intext references are displayed without the square brackets in the end as
Text Liu et. Al (1998) textinstead of text [Liu et. Al (1998)] text
This problem does  not appear when I choose numeric style.
Can u please help solve this issue

raman


Re: R Gaphics for Lyx

2011-05-30 Thread Rainer M Krug
On Mon, May 30, 2011 at 8:30 AM, Graham Smith  wrote:

> Yihui
>
>
> , I think Graham's question has pointed out a very useful
>> direction -- we may consider leaving some sort of API's or hooks in
>> the R script in LyX which is used to process the Rnw document.
>
>
>> A few months ago I also recommended the qpdf program to R developers
>> to compress PDF plots and it has been included in R now (the option
>> --compact-vignettes in R CMD build). Graham, is your script portable
>> to Windows and Mac? Could you share it with us? Maybe we can propose
>> this feature to LyX developers. It will be definitely helpful.
>>
>
> Although I do normally use  SWeave, these particular files were simply
> exported from R, and then imported into Lyx, there  just big PDFs. ECDFs
> based on 120,000 data points, which is why I suspect they are large without
> some form of flattening.
>
> But compressing imported PDFs goes beyond R and maybe qpdf could become a
> Lyx  feature to optimise PDFs the same way that MSWord allows you to
> optimise graphics before saving/printing.
>
> The Nautilus script in Linux uses Ghostscript and maybe this could be
> another option to consider along with qpdf.
> http://www.webupd8.org/2010/11/download-compress-pdf-12-nautilus.html
>
> But I will have a look at qpdf, thanks,
>

The problem of to large graphics is one which I am also am confronted with
when using LyX. Most of the time, it is caused by images from digital
cameras. And this is when I am missing one feature in LyX: downscaling the
pictures auomatically to a specified resolution of the printed graphs.

It should not be to difficult to implement: provide to each *raster* image
an additional field in the insert-graphics window, to resampled to a given
resolution. I assume the actual print size can be obtained from LaTeX, so
the image could be, in addition to be scaled, resampled to the provided
resolution. This would be a very useful feature. This resampling could be
configured during the reconfigure, and could be a kind of a copier "jpeg to
jpeg".

By the way - if it would be possible to define a copier "jpeg to jpeg" (it
does not seem to be possible in 2.0), it would be very easy to include
automatic resampling.

Cheers,

Rainer


>
> Graham
>
>


-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax (F):   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug