Re: backref

2008-02-27 Thread Wolfgang Engelmann
Am Mittwoch, 27. Februar 2008 15:15 schrieb Rich Shepard:
> On Wed, 27 Feb 2008, Wolfgang Engelmann wrote:
> >>   \usepackage[pdftex, pagebackref=true, hyperindex=true]{hyperref}
>
>I thought that options should not contain spaces. Is that no longer the
> case, or does that apply only to creation of new commands?
>
> Rich

I just copied/pasted it from Daniel Lohmann s letter and it worked. 
Wolfgang


Re: nopagebreak before itemized list

2008-02-27 Thread Tobias Krause

Did you try to put the part of your doc that should appear on one page in
a minipage?  


No, not yet. And I fear there'd be some unwanted side effects with
footnotes,...
The second problem with all environments (e.g. samepage environment) is
that I do not want to have the complete itemized list on one page but
only the first one or two items. This ends up in  convoluted
environments which do not work... (see the attached samepage example)

The needspace package works although it's not perfect: you'll have to
know how many line the paragraph before the itemized list will need and
with itemized lists it's getting kind of tricky due to the different
spacing.

So in the end a working \nopagebreak command would be the best - but it
looks like this is a LaTeX restriction.

Regards
  Toby



Minimal_nopagebreak_samepage.lyx
Description: application/lyx


Minimal_needspcae.lyx
Description: application/lyx


Re: Why Does ERT Cause 'Undefined Control Sequence?' -- More Information

2008-02-27 Thread Paul A. Rubin

Rich Shepard wrote:


  That actually looks ugly. But, I've come up with the acceptable
work-around: use \textsuperscript{SM}, just as I need to do with OO.o.



Looking at \textservicemark in the Holy Tome of LaTeX Symbols, I 
wondered what the difference between that and \textsuperscript{SM} was 
(other than maybe kerning??).  I have absolutely no eye for typeface 
issues -- I can tell monospace from proportional and slanted from 
upright, and sometimes serif from sans serif, and that's about it.  If 
the superscript thing is acceptable, clearly it is the path of least 
resistance.


/Paul



Re: lyx on solaris9

2008-02-27 Thread Enrico Forestieri
Richard Heck writes:

> Sven Hoexter wrote:
> > On Wed, Feb 27, 2008 at 12:17:35PM -0500, Richard Heck wrote:
> >   
> >> nuncio wrote:
> >> 
> >>> I would like to load lyx in  solaris9 on sun OS.  is it a painful 
> >>> business 
> >>> ? . If it doesnt go well with solaris, as an alternative I would like to 
> >>> know the best supported unix/linux versions for lyx.
> >>>  
> >>>   
> >> I seem to remember that there were some issues with the Qt 4 libraries 
> >> on Solaris, and I don't know if they have been fixed. But you might post 
> >> a question to the development list on this issue. We have a developer on 
> >> Solaris, though I can't remember who it is now.
> >> 
> >
> > Indeed blastwave provides only 3.3.3 binary packages of Qt and sunfreeware
> > 3.3.4.
> >
> > Looks bad for something beyond LyX 1.4.5.1.
> >
> > There is a note in the Qt plattform notes about problems with gcc 3.2.*
> > http://doc.trolltech.com/4.3/platform-notes-x11.html#solaris-9-or-later
> > Maybe you can compile it on your own with a decent gcc.

Those notes are outdated as regards Solaris 10.

> I know Enrico's managed to get Qt 4 going in some form on Solaris. He 
> could perhaps provide help if needed.

There's no problem in compiling Qt4 on Solaris 10. I only need the
following patch:

--- config.tests/unix/iconv/iconv.cpp.orig  Fri May 25 15:24:25 2007
+++ config.tests/unix/iconv/iconv.cpp   Thu Aug  2 02:04:09 2007
@@ -7,7 +7,11 @@
 {
 iconv_t x = iconv_open("", "");
 
+#ifdef __sun__
+const char *inp;
+#else
 char *inp;
+#endif
 char *outp;
 size_t inbytes, outbytes;
 iconv(x, &inp, &inbytes, &outp, &outbytes);

in order to convince the configure script that iconv is available,
then all is needed is:

./configure -v -prefix /opt/qt4 -release -platform solaris-g++ \
  -no-exceptions -DGNU_LIBICONV -I/usr/X11/include -I/usr/sfw/include \
  -L/usr/X11/lib -L/usr/sfw/lib -nomake examples -nomake demos
gmake
gmake install

Solaris 10 has everything is needed for compiling Qt4 and there's only
a glitch with the fontconfig library that can be overcome as explained
in the LyX INSTALL file.

There should be little problems with Solaris 9, due to the fact that
one needs to install some additional software, either from the software
companion disk or from sunfreeware, such as the gcc compiler,
libfontconfig, libiconv and maybe something else that I don't remember.

I know that there are more serious problems with Solaris 8, which has
problems with the boost libraries used by LyX. However, consider that
Solaris 8 is older than the Debian potato distribution...

-- 
Enrico



Re: Separate bibliography for separate lyx files?

2008-02-27 Thread Juergen Spitzmueller
Richard Heck wrote:

>> But another thing. When I am writing in child file and choose to compile
>> how do I make it compile the master document instead of the child
>> document?
>> 
> In 1.5, I think you have to just open the master document and compile
> it. In 1.6, if I remember right, there will be a way to compile the
> master from the child.

As of 1.5.3, we also have "master-buffer-view" and "master-buffer-update".

Jürgen



Re: Separate bibliography for separate lyx files?

2008-02-27 Thread Richard Heck



But another thing. When I am writing in child file and choose to compile how
do I make it compile the master document instead of the child document?
  
In 1.5, I think you have to just open the master document and compile 
it. In 1.6, if I remember right, there will be a way to compile the 
master from the child. But to get this to work, I think you have to open 
the master first and then open the child from the master. The problem is 
that there are no "back links" from a child to a master---and you don't 
really want those, since a child could be a child of many masters---but 
then LyX has no way of knowing that the child is a child unless it was 
opened from a master.


rh



Re: Separate bibliography for separate lyx files?

2008-02-27 Thread Richard Heck

bigblop wrote:

Ok so there is no way to keep the bibliography in a separate file and only
include it in the master document?

  
If the bibliography is a separate document, or if you are using the LyX 
Bibliography argument to construct the bibliography, then yes, you can 
do this. Just include the file in the normal LyX way. If you don't want 
it to appear multiple times when the main document is compiled, just 
wrap the include inset in the same code I mentioned before. That said, 
if you're using BibTeX to create your bibliographies, then you don't 
need to have a separate file. Inset>TOC>Bibliography does all you need, 
and you can wrap that, too.


Hmm. It just occurred to me that I could write a little module to do 
this


rh



Re: lyx on solaris9

2008-02-27 Thread Richard Heck

Sven Hoexter wrote:

On Wed, Feb 27, 2008 at 12:17:35PM -0500, Richard Heck wrote:
  

nuncio wrote:

I would like to load lyx in  solaris9 on sun OS.  is it a painful business 
? . If it doesnt go well with solaris, as an alternative I would like to 
know the best supported unix/linux versions for lyx.
 
  
I seem to remember that there were some issues with the Qt 4 libraries 
on Solaris, and I don't know if they have been fixed. But you might post 
a question to the development list on this issue. We have a developer on 
Solaris, though I can't remember who it is now.



Indeed blastwave provides only 3.3.3 binary packages of Qt and sunfreeware
3.3.4.

Looks bad for something beyond LyX 1.4.5.1.

There is a note in the Qt plattform notes about problems with gcc 3.2.*
http://doc.trolltech.com/4.3/platform-notes-x11.html#solaris-9-or-later
Maybe you can compile it on your own with a decent gcc.

  
I know Enrico's managed to get Qt 4 going in some form on Solaris. He 
could perhaps provide help if needed.


rh



Re: Needed documentation

2008-02-27 Thread Steve Litt
On Wednesday 27 February 2008 07:31, Helge Hafting wrote:
> Steve Litt wrote:
> > Hi all,
> >
> > You know what would be good documentation? "The 25 Biggest Surprises in
> > LyX and How to Work With Them". It's basically a FAQ with potential
> > landmines and how to avoid/workaround them.
> >
> > I'll start out with the ones I know of:
>
> [Some points deleted]
>
> > * Must use units on all lengths
>
> Correct, but where is the surprise?

When I first started using LyX, it surprised me. Later it made sense and even 
seemed obviously intuitive, but the first time I encountered it it REALLY 
threw me for a loop, to the extent I had to ask the LyX list for advice on 
how to fill in lengths.

SteveT


Re: Separate bibliography for separate lyx files?

2008-02-27 Thread bigblop



bigblop wrote:
> 
>> I have made a main.lyx file that includes a few "child" .lyx files. Is
>> there
>> someway to create a bibliography in a separate file that can be used in
>> all
>> the separate .lyx files?
>>   
> Are you using BibTeX? If so, you can put the bibliography bit at the end 
> of each file, and it will be generated with them when they're compiled. 
> 
> 
> 
> Ok so there is no way to keep the bibliography in a separate file and only
> include it in the master document?
> 
> 
> 

My bad it works fine. I have created a bio.bib file and inserted from the
menu in LyX. The content of the .bib file is visible in all child files.

But another thing. When I am writing in child file and choose to compile how
do I make it compile the master document instead of the child document?
-- 
View this message in context: 
http://www.nabble.com/Separate-bibliography-for-separate-lyx-files--tp15717106p15723580.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Separate bibliography for separate lyx files?

2008-02-27 Thread bigblop

> I have made a main.lyx file that includes a few "child" .lyx files. Is
there
> someway to create a bibliography in a separate file that can be used in
> all
> the separate .lyx files?
>   
Are you using BibTeX? If so, you can put the bibliography bit at the end 
of each file, and it will be generated with them when they're compiled. 



Ok so there is no way to keep the bibliography in a separate file and only
include it in the master document?


-- 
View this message in context: 
http://www.nabble.com/Separate-bibliography-for-separate-lyx-files--tp15717106p15723144.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Why Does ERT Cause 'Undefined Control Sequence?' -- More Information

2008-02-27 Thread Rich Shepard

On Tue, 26 Feb 2008, Paul A. Rubin wrote:


If that's too aggravating (and assuming you're ok with the service mark
being in Computer Modern), you might hack the textcomp.sty package and
delete the warning part from the definition of [EMAIL PROTECTED] (so that it 
just
does the \bgroup ... \egroup stuff).


Paul,

  That actually looks ugly. But, I've come up with the acceptable
work-around: use \textsuperscript{SM}, just as I need to do with OO.o.

  The Bitstream and other fonts do not have the SM glyph, but they do have
the TM glyph. Why is a mystery, and I'm not about to spend a lot of time
fixing the foundry's omissions in the typefaces I use. I think that the
\textregistered (the circled R) is also a missing glyph in these typefaces.

  Now on to learning how to incorporate PSTricks code into a LyX document so
the figure is produced in the text.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: lyx on solaris9

2008-02-27 Thread Sven Hoexter
On Wed, Feb 27, 2008 at 12:17:35PM -0500, Richard Heck wrote:
> nuncio wrote:
> >I would like to load lyx in  solaris9 on sun OS.  is it a painful business 
> >? . If it doesnt go well with solaris, as an alternative I would like to 
> >know the best supported unix/linux versions for lyx.
> >  
> I seem to remember that there were some issues with the Qt 4 libraries 
> on Solaris, and I don't know if they have been fixed. But you might post 
> a question to the development list on this issue. We have a developer on 
> Solaris, though I can't remember who it is now.

Indeed blastwave provides only 3.3.3 binary packages of Qt and sunfreeware
3.3.4.

Looks bad for something beyond LyX 1.4.5.1.

There is a note in the Qt plattform notes about problems with gcc 3.2.*
http://doc.trolltech.com/4.3/platform-notes-x11.html#solaris-9-or-later
Maybe you can compile it on your own with a decent gcc.

Cheers,
Sven
-- 
If God passed a mic to me to speak
I'd say stay in bed, world
Sleep in peace
   [The Cardigans - 03:45: No sleep]


Re: PDF to PowerPoint converter

2008-02-27 Thread Graham Smith

Andre,


A tactic as you suggest would not work as one of  the requirement is  
for the reader to have control over the colours of text and  
background. Something they have with PDFs (certainly using Acrobat  
Reader you can)


I  think part of the problem is that people don't understand why I  
just don't use PowerPoint like everyone else.


Graham



On 27 Feb 2008, at 18:05, Andre Poenitz wrote:


On Wed, Feb 27, 2008 at 09:34:44AM +, Graham Smith wrote:
Although, I have found a couple via google does anyone have  
experience of

PDF to PowerPoint converters.

I would prefer a Mac or multiplatform option, but Windows, or even  
Linux

would do.

Having now been using Beamer for a few days and been very pleased  
with it
as a replacement for PowerPoint, I'm now told that I "must"  
provide my
students access to PowerPoints of my presentations. However,  
having used

Beamer there is no way I am going back to PowerPoint.


I usually responded to such requirements by producing bitmap  
version of

the ps/pdf document in question and include them in an otherwise empty
doc. This gives really ugly results, is pretty unusable, but conforms
to the rules. When I offered the original .pdf as alternative, guess
what suddenly became "acceptable"...

Lucky me does not have to produce paperwork anymore...


Apparently, PDFs, do not provide the same support for accessibility
requirements (SENDA in the UK and section 508 in the US).  I can't  
see how

exactly, but thems the rules it seems.


Following rules by the letter usually does not give the intended  
result.

People tend to learn that quickly ;-)

Andre'




Re: PDF to PowerPoint converter

2008-02-27 Thread Andre Poenitz
On Wed, Feb 27, 2008 at 09:34:44AM +, Graham Smith wrote:
> Although, I have found a couple via google does anyone have experience of 
> PDF to PowerPoint converters.
>
> I would prefer a Mac or multiplatform option, but Windows, or even Linux 
> would do.
>
> Having now been using Beamer for a few days and been very pleased with it 
> as a replacement for PowerPoint, I'm now told that I "must" provide my 
> students access to PowerPoints of my presentations. However, having used 
> Beamer there is no way I am going back to PowerPoint.

I usually responded to such requirements by producing bitmap version of
the ps/pdf document in question and include them in an otherwise empty
.doc. This gives really ugly results, is pretty unusable, but conforms
to the rules. When I offered the original .pdf as alternative, guess
what suddenly became "acceptable"...

Lucky me does not have to produce paperwork anymore...

> Apparently, PDFs, do not provide the same support for accessibility 
> requirements (SENDA in the UK and section 508 in the US).  I can't see how 
> exactly, but thems the rules it seems.

Following rules by the letter usually does not give the intended result.
People tend to learn that quickly ;-)

Andre'


Re: PDF to PowerPoint converter

2008-02-27 Thread Graham Smith
Well, as I said in my reply to Alan, I would be surprised if any of  
our PPTs are compliant.


I admit I have only just started looking at this in any depth because  
it only cropped up when I casually mentioned that I was using PDFs.  
Ironically to increase accessibility (in the general sense) as I have  
students using Macs and Linux and PDFs seem a more universal option.


I have just spoken to Adobe and the Linux, Mac and Windows version of  
Acrobat Reader have the accessibility features. There are PDF  
specialist viewers available for Linux and Windows, but not the Mac  
apparently, which seems odd.


However, it seems that the main file format for accessibility is  
HTML, but that isn't being promoted locally.


I fully agree that just converting a PDF to PPT will make it no more  
accessible, except for the argument that there are specialist  
accessibility viewers for PPTs, but not for PDFs. But Adobe don't  
seem to agree with this.


I am now completely confused by it all, but cannot believe that a PDF/ 
HTML solution can be less accessible than PPT. But currently I am  
under pressure to go back to producing PPTs.


Graham


On 27 Feb 2008, at 16:13, Siegfried MEUNIER-GUTTIN-CLUZEL wrote:

I agree completly with Alan : most of the PowerPoints aren't  
compliant ( PowerPoint don't enforce the tagging of the images ...).
I understand that a converter can be a solution to convince  
somebody, but it is a false one because I doubt the converted PDF  
will be more compliant than the original one.
My point is : this accessibility issue is a way to force a  
commercial software upon us. Don't use LaTeX or PDF, they aren't  
accessible !
We must find a way to create compliant documents with our tools  
(LyX, LaTeX, PDF ...).

I don't think it is so difficult.

Siegfried.




Re: lyx on solaris9

2008-02-27 Thread Abdelrazak Younes

Richard Heck wrote:

nuncio wrote:
I would like to load lyx in  solaris9 on sun OS.  is it a painful 
business ? . If it doesnt go well with solaris, as an alternative I 
would like to know the best supported unix/linux versions for lyx.   
  
I seem to remember that there were some issues with the Qt 4 libraries 
on Solaris, and I don't know if they have been fixed. But you might post 
a question to the development list on this issue. We have a developer on 
Solaris, though I can't remember who it is now.


Enrico.

Abdel.



Re: Separate bibliography for separate lyx files?

2008-02-27 Thread Richard Heck

bigblop wrote:

I have made a main.lyx file that includes a few "child" .lyx files. Is there
someway to create a bibliography in a separate file that can be used in all
the separate .lyx files?
  
Are you using BibTeX? If so, you can put the bibliography bit at the end 
of each file, and it will be generated with them when they're compiled. 
But then you need to keep it from being generated in the child documents 
when you compile the master. This is easy, too, with a bit of ERT. In 
the master document, put this in ERT:

\def\MASTERDOC{true}
And then in each child put this before the bibliography bit:
ifx\MASTERDOC\udnefinde
and then this after it:
\fi
Note that \udnefinde isn't a command. The point is that it is undefined, 
so we're checking if \MASTERDOC is undefined. It's defined in the 
master, so if you're compiling the child only it's undefined.


rh



Re: lyx on solaris9

2008-02-27 Thread Richard Heck

nuncio wrote:
I would like to load lyx in  solaris9 on sun OS.  is it a painful business ? . If it doesnt go well with solaris, as an alternative I would like to know the best supported unix/linux versions for lyx.

  
I seem to remember that there were some issues with the Qt 4 libraries 
on Solaris, and I don't know if they have been fixed. But you might post 
a question to the development list on this issue. We have a developer on 
Solaris, though I can't remember who it is now.


Most *nix development happens on Linux, though, so it is very well 
supported. There are occasional issues with older distributions, but for 
the most part it's just a question of having the right libraries 
installed, and most distros will handle that for you. If you want to 
compile yourself, then it's a bit more work, but again it's just a 
matter of installing the right headers, and wading through the 
./configure output.


Richard



Re: TeX

2008-02-27 Thread Uwe Stöhr

Charles Darwin schrieb:


Lyx doesn't recognise .tex files?


use the menu Import -> LaTeX

regards Albert Einstein


Re: Two notes

2008-02-27 Thread onlyforum onlyforum
Hi,
1- A Lot of thanks, Abdelrazak. Your method (ctrl-m) is right.
I found that it is equivalent to press "insert math" in the menu also
after receiving of this message. I did not expect that inserting of
math expressions include converting of Tex code also.
2- A Lot of thanks, Uwe. I used your link and I installed without
using of "Run as Administrator". It works without problems. The old
file which I downloaded from before was corrupted.
3- I am sorry, Abdelrazak. I asked the question in special mailing
list for documentation, but I hope to see the answer for the new
users. To decide to use an alternative word processor, it is difficult
because the old documents need to good converter with accuracy 100 %.
Bye


Separate bibliography for separate lyx files?

2008-02-27 Thread bigblop

I have made a main.lyx file that includes a few "child" .lyx files. Is there
someway to create a bibliography in a separate file that can be used in all
the separate .lyx files?
-- 
View this message in context: 
http://www.nabble.com/Separate-bibliography-for-separate-lyx-files--tp15717106p15717106.html
Sent from the LyX - Users mailing list archive at Nabble.com.



TeX

2008-02-27 Thread Charles Darwin

Lyx doesn't recognise .tex files?

$ uname -a
Darwin 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT  
2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc


Re: PDF to PowerPoint converter

2008-02-27 Thread Siegfried MEUNIER-GUTTIN-CLUZEL
I agree completly with Alan : most of the PowerPoints aren't compliant ( 
PowerPoint don't enforce the tagging of the images ...).
I understand that a converter can be a solution to convince somebody, 
but it is a false one because I doubt the converted PDF will be more 
compliant than the original one.
My point is : this accessibility issue is a way to force a commercial 
software upon us. Don't use LaTeX or PDF, they aren't accessible !
We must find a way to create compliant documents with our tools (LyX, 
LaTeX, PDF ...).

I don't think it is so difficult.

Siegfried.


Re: LaTeX error, \prevdepth with Figure

2008-02-27 Thread David Hewitt

Answering my own question, but I think this could be considered a bug, or at
least picky behavior that causes problems that are really, really hard to
find!

I worked through a backup file that worked piece by piece to find the
problem. It had nothing to do with Figures per se, which made it hard to
find (that's where I figured the problem would be given the LaTeX errors
below).

The trouble was that I had a \thispagestyle{blah} after a chapter title that
was set in the 'addsec' environment (this is KOMA-Script book). The
pagestyle ERT box was on its own line between the title and the next addsec
environment, the real one with the section heading. Changing the environment
in LyX associated with that ERT box to 'standard' fixed the problems.

A bug in behavior? I don't know. I think I might have had the ERT box inline
just before the text for the section heading, then hit enter at some point
to get it on its own line - easier to find when browsing the LyX file. That
such a simple change could bomb the whole compilation is annoying for sure,
but maybe it's just something to be aware of (I am now!).

Thanks


David Hewitt wrote:
> 
> This is a new one for me. I'm hoping this rings a bell with someone. I'm
> on LyX 1.5.3 on WinXP. I've updated my MikTeX packages, refreshed the file
> name database and updated formats, then reconfigured LyX, to no avail.
> 
> The file was producing glorious PDFs this morning. I didn't make anything
> more than minor edits and some hours later LaTeX now throws a fit about
> the Figures when compiling. Nothing changed with the Figures. I've had odd
> LaTeX errors show up with other little tweaks I inserted, but I can't find
> anything for this one.
> 
> LaTeX gets through run #1, BibTeX finishes, and run #2 throws the
> following errors, repeated in this order for each Figure float in the
> document. It also throws a hissy on the Table float, but I think it's all
> related so I'll go with this for now.
> 
> - Improper \prevdepth
> + \end{figure}
>   
> You can refer to \spacefactor only in horizontal mode;
> you can refer to \prevdepth only in vertical mode; and
> neither of these is meaningful inside \write. So
> I'm forgetting what you said and using zero instead.
> 
> - You can't use `\prevdepth' in horizontal mode
> + \end{figure}
>   
> Sorry, but I'm not programmed to handle this case;
> I'll just pretend that you didn't ask for it.
> If you're in the wrong mode, you might be able to
> return to the right one by typing `I}' or `I$' or `I\par'.
> 
> - Missing number, treated as zero
> + \end{figure}
>   
> A number should have been here; I inserted `0'.
> (If you can't figure out why I needed to see a number,
> look up `weird error' in the index to The TeXbook.)
> 
> 
> -Illegal unit of measure (pt inserted)
> +  \end{figure}
>   
> Dimensions can be in units of em, ex, in, pt, pc,
> cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
> I'll assume that you meant to say pt, for printer's points.
> To recover gracefully from this error, it's best to
> delete the erroneous units; e.g., type `2' to delete
> two letters. (See Chapter 27 of The TeXbook.)
> 
> ...
> 
> The preview source for the first Figure float looks like this:
> 
> % Preview source code for paragraph 23
> 
> \begin{center}
> %
> \begin{figure}
> \begin{centering}
> \includegraphics[width=5in]{Figures/landingsCBSAC}
> \par\end{centering}
> 
> \caption[Commercial landings of blue crab in Chesapeake Bay,
> 1945-2006]{\label{Fig:landingshistory}History of commercial landings of
> blue
> crab in Chesapeake Bay, 1945-2006 (data from
> \citealt{cbsac2007advreport}).}
> 
> 
> 
> \end{figure}
> 
> \par\end{center}
> 
> 
> Thanks for any help,
> Dave
> 


-
David Hewitt
Virginia Institute of Marine Science
http://www.vims.edu/fish/students/dhewitt/
-- 
View this message in context: 
http://www.nabble.com/LaTeX-error%2C-%5Cprevdepth-with-Figure-tp15705637p15716599.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: problems with LyX 1.5.4: compile and reconfigure

2008-02-27 Thread Uwe Stöhr

sara teinturier schrieb:


But there are at least two problems:
- when I want to compile (to dvi, pdf or ps)
- when I want to "reconfigure" after updating MikTeK or installed a new
package

the result is the same: LyX 1.5.4 crashes down.


Could you please start LyX by double clicking the lyx.exe? Then LyX is startet with a console 
window. Do you see there any informations when LyX crashes?


It seems that you MiKTeX installation is broken for an unknown reason. To avoid endless triaging to 
get it to work, I recommend to


1. uninstall LyX completely (also the user settings!) and also MiKTeX 2.7 (the unistaller offers 
both) (assure that you choose in the uninstaller the option "tidy up thoroughly in the MikteX 
uninstaller dialog!)

2. reinstall LyX using again complete installer variant (MiKTeX 2.7 will also 
be reinstalled)

Does it then work?

If not

3. uninstall LyX completely (also the user settings!) and leave MiKTeX
4. reinstall LyX using this time the small installer variant

Does it then work?

If not

5. uninstall LyX completely
6. uninstall MiKTeX completely (assure that you choose in the uninstaller the option "tidy up 
thoroughly!)

7. reinstall MiKTeX 2.7 using the basic installer you can download from 
www.miktex.org
8. install LyX using the small installer variant

Then it should work.

I know that these cost you some time but you will get a working system, and I get the info what the 
problem is.


So many thanks in advance and regards
Uwe


Re: Two notes

2008-02-27 Thread Uwe Stöhr

onlyforum onlyforum schrieb:


1- Russian spell checker can not be installed although other packages
for many languages can be installed easily.


Does it work when you download and install this dictionary and install it manually when you are 
logged in as admin?:


http://prdownload.berlios.de/lyxwininstall/aspell6-ru-0.99f7-1.exe

regards Uwe


Re: PDF to PowerPoint converter

2008-02-27 Thread Graham Smith

Alan,

Maybe not surprisingly, I have my own views on the logic behind this,  
but as I have subsequently posted, it seems to relate to third party  
software being able to work with PPT but not PDF.


In fact from my reading, it seems that most of the really specialist  
software uses HTML (so your solution not only seems the simplest, but  
also the best),  but that is not what I have been told to do, I have  
been told to provide PPTs.


However, and to move off topic even further, having now been reading  
about the accessibility requirements, I doubt if a single PPT file  
anywhere on our VLE complies.


So looking for the easy way out, a PDF to PPT convertor still seems  
the "easiest" option.


Graham


On 27 Feb 2008, at 15:20, Alan Isaac wrote:


On the face of it, this is totally stupid.
One can easily create non-compliant Ppt
or compliant PDF.

But there is a simpler solution: HTML.
Give a lyx to HTML converter a try.
Post your HTML along with your PDFs.
Voilá: compliance.
(Or anyway, as much as the Ppt will have.)

IANAL,
Alan Isaac







Re: PDF to PowerPoint converter

2008-02-27 Thread Alan Isaac
On the face of it, this is totally stupid.
One can easily create non-compliant Ppt
or compliant PDF.

But there is a simpler solution: HTML.
Give a lyx to HTML converter a try.
Post your HTML along with your PDFs.
Voilá: compliance.
(Or anyway, as much as the Ppt will have.)

IANAL,
Alan Isaac





Re: backref

2008-02-27 Thread Rich Shepard

On Wed, 27 Feb 2008, Wolfgang Engelmann wrote:


  \usepackage[pdftex, pagebackref=true, hyperindex=true]{hyperref}


  I thought that options should not contain spaces. Is that no longer the
case, or does that apply only to creation of new commands?

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863

Re: backref

2008-02-27 Thread Wolfgang Engelmann
Am Dienstag, 26. Februar 2008 14:20 schrieb Daniel Lohmann:

thanks, Daniel, with
>   \usepackage[pdftex, pagebackref=true, hyperindex=true]{hyperref}
it worked for my purpose (to find incomplete citations in the text by checking 
the references)

Wolfgang


Re: Why Does ERT Cause 'Undefined Control Sequence?' -- More Information

2008-02-27 Thread Rich Shepard

On Tue, 26 Feb 2008, Paul A. Rubin wrote:


After reading the preambles, I would expect vice versa.  The textcompsym
package fakes a number of missing symbols but apparently not
textservicemark (so I would expect the original error to repeat); the
textcompfix package supposedly switches the font to Computer Modern long
enough to print the service mark, then back to the previous font, so that
should handle textservicemark (don't know about creating any new errors).


Paul,

  textcomp itself makes the substitution; at least, it appears to us CM
(san-serif) for the symbol. There is no space after the symbol, however.

  Exporting to pdflatex and running that didn't work. But, exporting to
plain latex, running it through once followed by dvips and ps2pdf produced a
readable document. The typeface difference is noticable to me, but perhaps
not to others.

Looks like the "error" message that you got in the first place was actually 
just a warning that textcomp was substituting another font (cmr, I think) in 
order to print the service mark.


  It apparently was trying to.


Try exporting your original doc to a LaTeX file and run latex (or
pdflatex) against it.  I did that on a small test doc, got your error
message, just hit enter to run through it, and the latex run finished and
gave me what looks like a correct DVI file.  Methinks perhaps LyX just
can't tell the difference between a warning and a fatal error.  (In
fairness, latex does ask for input at that point, so maybe it's latex that
doesn't distinguish warnings from errors.)


  I believe that latex halts on warnings to ensure they're seen and acted
upon. Fatal errors, I believe, cause the compiler to halt.

If that's too aggravating (and assuming you're ok with the service mark being 
in Computer Modern), you might hack the textcomp.sty package and delete the 
warning part from the definition of [EMAIL PROTECTED] (so that it just does the 
\bgroup ... \egroup stuff).


  This kludge will work, but what I'd rather do is learn how to add the
symbol to the Palatino typeface (if not to the others, too). Not that I'm
looking for a ton of extra work, but the missing symbol should be added
rather than using a work-around.

Many thanks,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: technical documents

2008-02-27 Thread Michael Grubb

Thanks for the tip.
However, I have some questions.

Using Insert->Program Listing  is great if you only need one or two  
listings but keeping consistency throughout a large document is a pain.
So I decided to try and create a new layout using the listings  
package, but I'm getting some unwanted newlines in my output.


I have this in my layout file:

Style CodeBlock
LatexType   Environment
LatexName   lstlisting
OptionalArgs0
InTitle 0
Margin  Static
NextNoIndent0
ParIndent   
Newline 0
PassThru1
FreeSpacing 1
End


(I added the Newline, PassThru, and FreeSpacing options as  
experimentation to try to get the spurious newlines eaten, to no  
effect but I left them in this listing in the

interest of full disclosure ;)

If I give input in lyx (using the CodeBlock environment above) of:

some line of code 1
some line of code 2
some line of code 3

I get output such as:

some line of code 1

some line of code 2

some line of code 3

However, when I use the Insert->Program Listing option, it generates  
the exact same latex code as my environment, except that I don't get  
all the extra newlines.


So my question is how do I get LyX to not pass those extra newlines  
and behave with the environment similar to the Inset?



On Feb 26, 2008, at 9:16 AM, Jürgen Spitzmüller wrote:


Michael Grubb wrote:

First these are the features that I'm really interested in (or
alternatives/compromises to these):

Ability to have short code/command examples in-line with normal text,
preferably set off with a monospaced font.
Ability to have longer code/command examples in a verbatim  
environment

(possible surrounded by a box and a shaded background)
Ability to have longer code/command examples labled and indexed
(similar to figures and tables)


As of 1.5.0, LyX supports the listings package. It has both an  
inline and a
displayed listings "inset" which should provide what you're looking  
for.


Jürgen




problems with LyX 1.5.4: compile and reconfigure

2008-02-27 Thread sara teinturier
Dear all,
Some problems with the released LyX 1.5.4.
My OS is Win XP.
I've used the "Lyx Win Installer - Complete" to install it, and, at the same
time, install MikTeX 2.7. I had first uninstalled MikTeX 2.6.
It works wonderful, thanks a lot
I can read my former Lyx files.

But there are at least two problems:
- when I want to compile (to dvi, pdf or ps)
- when I want to "reconfigure" after updating MikTeK or installed a new
package

the result is the same: LyX 1.5.4 crashes down.

I've launched it several times, same result... and before a new installation
(only LyX 1.5.4, no MikTeX), too...

Any idea? Is it possible that the problem come from MikTex?
Thanks  a lot for your help.

ST


Re: PDF to PowerPoint converter

2008-02-27 Thread Graham Smith

Siegfried,

Thanks, I have read the document you gave the link to, or at least  
the Acrobat 7 version, and I was using this a guide, assuming it  
would also meet the SENDA requirements as I am in the UK.


But I think the argument revolves around very specialist software for  
very unusual disabilities, that work with PowerPoint but not PDF.  
Having said that, I am struggling to really understand the reasoning,  
and decided to just buy a converter.


But as with all these things it is useful to hear comments form  
people who have tried a bit of software out. Some programs that  
initially look promising often turn out to be less than you had hoped  
for.


Graham


On 27 Feb 2008, at 13:22, Siegfried MEUNIER-GUTTIN-CLUZEL wrote:


Another solution is to make de PDF accessible, see this document :
http://www.adobe.com/fr/enterprise/accessibility/pdfs/acro6_pg_ue.pdf

I don't know if Powerpoints are by themself more accessible than  
PDF. I think that the above document can give arguments to show  
that a given document conforms to the accessibilty rules.
With Adobe Reader, you can verify if your document can pose  
problems. I checked a PDF presentation produced with the Beamer  
package (an LyX), and yes, there is a problem due to the fact that  
the structure of the document is complex. I think it's the TOC  
which is present on every slide.


Hope it helps.

Siegfried.




Re: Two notes

2008-02-27 Thread Abdelrazak Younes

onlyforum onlyforum wrote:

Hi, all
I knew Lyx only yesterday and I used it in the previous hours today (I
use Windows Vista). The program is a beautiful surprise for me because
I do not like to remember orders and write them in command lines to
get Latex documents. Thanks, team of Lyx.


You are welcome but this is the list used for documentation. Use the 
user list instead (in copy).



2- I can copy equations from Math Type 6 to any latex editor if I
choose an appropriate translator in the preferences but when I want to
use the same processes by translator of Math Type 6 to paste equations
of my office documents in new Lyx documents, I found that I must
insert them as Tex code. I want to display the normal shape of every
equation in Lyx documents and not only after converting to Dvi files.


Select the pasted TeX code and type Ctrl-m.

Abdel.



Re: PDF to PowerPoint converter

2008-02-27 Thread Siegfried MEUNIER-GUTTIN-CLUZEL

Another solution is to make de PDF accessible, see this document :
http://www.adobe.com/fr/enterprise/accessibility/pdfs/acro6_pg_ue.pdf

I don't know if Powerpoints are by themself more accessible than PDF. I 
think that the above document can give arguments to show that a given 
document conforms to the accessibilty rules.
With Adobe Reader, you can verify if your document can pose problems. I 
checked a PDF presentation produced with the Beamer package (an LyX), 
and yes, there is a problem due to the fact that the structure of the 
document is complex. I think it's the TOC which is present on every slide.


Hope it helps.

Siegfried.


Re: Needed documentation

2008-02-27 Thread Uwe Stöhr

> I'll start out with the ones I know of:
>
> * Must hit Enter to declare column widths in tables

If this is not already reported as bug, please do so.

> * Must use units on all lengths

The used units are explained in a table in the UserGuide and some other manuals.

> * Must delete/recreate source tree to compile after config failure

A config failiure should not happen. But anyway that a config failiure destroys the config files 
should be fixed since LyX 1.5.3.


> * Must run texhash after adding new LaTeX class/style

This is not a LyX issue and depends on your LaTeX distribution. How to add a package to your 
distribution, is explained in its manual. For example under MikTeX, you don't need to run commands, 
just select the package and press OK.


> * Must reconfigure after change to layout file

This is explained at several positions in the manuals.

> * You can make a script to do the reconfigure

? You can alsways write scripts to do things. But the reconfiguration is 
already a script.

> * TOC/Index/crossreference often require multiple compiles to register

No. LyX takes care of the needed compile runs. When it doesn't, please report this as bug at 
bugzuilla. (Some problems in this area have been fixes with LyX 1.5.2 when I remember correctly.)


> * Confusion between LyX code and LaTeX code

What do you mean?

> * LaTeX code is case sensitive, LyX code isn't

Same here, what do you mean?

regards Uwe


Re: Needed documentation

2008-02-27 Thread Helge Hafting

Steve Litt wrote:

Hi all,

You know what would be good documentation? "The 25 Biggest Surprises in LyX 
and How to Work With Them". It's basically a FAQ with potential landmines and 
how to avoid/workaround them.


I'll start out with the ones I know of:

  

[Some points deleted]

* Must use units on all lengths
  

Correct, but where is the surprise?
LyX has many dialogs where you enter a length, such
as "insert vertical space, custom size" or box/margin sizes.
There is always a unit combobox next to the value
though, so I don't see a surprise? The user even sees
what unit will be used, if he doesn't make any
explicit choice.

* Must delete/recreate source tree to compile after config failure
  

Compile/config docs would be nice - sure.

* Must run texhash after adding new LaTeX class/style
* Must reconfiigure after change to layout file
* You can make a script to do the reconfigure
  

Sure - documentation for the advanced user.

* TOC/Index/crossreference often require multiple compiles to register
  

LyX is supposed to handle this automatically, so
why is documentation needed? For those that
run latex manually anyway? I thought yhey knew?


Helge Hafting


Re: Click in the scrollbar doesn't advance enough

2008-02-27 Thread Abdelrazak Younes

David Hewitt wrote:



Abdelrazak Younes-2 wrote:
Clicking in the LyX scrollbar doesn't advance the LyX screen such that 
the bottom line is now the top. Sometimes it gets close, and sometimes 
you need to click the scrollbar 2 or 3 times to advance one screenful.
  
There's a lot of scrollbar weirdness in 1.5. Abdel has done a lot of 
work on this, and 1.6 is better, but the algorithms that drive the 
scrollbar are surprisingly complex and hard to get right.
In 1.6, click inside the scrollbar will get you exactly one screen down 
or up. And you will even have keyboard shortcuts to do that without 
touching the mouse.




Thanks Abdel! It might be system-dependent, but at least for me the 1.5.3
scrollbar does crazy things... 


It is not system dependent. Unfortunately this is not fixable in 1.5.x 
so you'll have to wait for 1.6.0... or use 1.6.0svn now if you feel 
adventurous :-)


Abdel.



Re: footnotes problem, .rtf import, view source on 1.5.3

2008-02-27 Thread G. Milde
On 26.02.08, rgheck wrote:
> [EMAIL PROTECTED] wrote:
>> Quoting rgheck <[EMAIL PROTECTED]>:

> You don't have "Use Paragraph's Default Alignment"? The point of this
> option is to undo customization. That's why I added it. ;-)

So it works similar to

 * the [default] option in the line-spacing drop down list just above,

 * the [Reset] option in the drop down lists in Edit>Text Style>Customized...

>>> Hmm. We had a really, really long discussion about what this button
>>> should say. And now it looks as if maybe we chose badly. Would
>>> "Default" by itself have been clearer? Or would removing the
>>> "[Justified]" part have been helpful? I'd like to get this right.

How about using two radiobutton lists in two columns for Line spacing and
Alignment?

Alignment   Line spacing

(*) Default (*) Default
( ) Justified   ( ) Single
( ) Left( ) 1.5
( ) Center  ( ) Double
( ) Right   ( ) []

[x] Indent Paragraph


(With a tooltip for the custom line spacing text field saying: "Custom line
spacing, e.g. 1.3ex".)


Günter


PDF to PowerPoint converter

2008-02-27 Thread Graham Smith
Although, I have found a couple via google does anyone have  
experience of PDF to PowerPoint converters.


I would prefer a Mac or multiplatform option, but Windows, or even  
Linux would do.


Having now been using Beamer for a few days and been very pleased  
with it as a replacement for PowerPoint, I'm now told that I "must"  
provide my students access to PowerPoints of my presentations.  
However, having used Beamer there is no way I am going back to  
PowerPoint.


Apparently, PDFs, do not provide the same support for accessibility  
requirements (SENDA in the UK and section 508 in the US).  I can't  
see how exactly, but thems the rules it seems.


Graham







lyx on solaris9

2008-02-27 Thread nuncio

I would like to load lyx in  solaris9 on sun OS.  is it a painful business ? . 
If it
doesnt go well with solaris, as an alternative I would like to know the best 
supported
unix/linux versions for lyx.

N
^^^
Nuncio.M 
Research Scientist   
National Center for Antarctic and Ocean Research
Head land Sada  
Vasco da Gama  
Goa-403804 
India
http://www.ncaor.org
^^

E-mail
This email is being scaned by
Clamav Scanner
And is free for virus

Visit our web site
http://www.ncaor.org