2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-08 Thread Steve Litt
Hi all,

An untimely computer crash brought me to Ubuntu 11.04, which brought 
me to LyX 2.0.0rc3.

Ctrl+D says "successful DVD preview, but does nothing. The View menu 
gives no ps2pdf choice, and when I click the "View other formats" 
choice, nothing opens up, even though I configured PDF and DVI in 
Tools->Preferences->Output->General on the PDF and DVI commands.

Ctrl+D brings up an error dialog box saying "Could not display 
\"/tmp/lyx_tmpdir.T11314/lyx_tmpbuf2/junk.dvi", the location is not a 
directory. When I directly run that file (it exists) with xdvi, it 
displays more or less correctly.

What am I doing wrong?

Thanks

Steve

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Install lyx 2 in windows with 1.6.10

2011-07-08 Thread Waluyo Adi Siswanto
Thanks Paul

Now I have both 1.6 and 2.0 versions in my Windows XP box.

Regards
Waluyo

On 9 July 2011 05:56, Paul Rubin  wrote:
> Waluyo Adi Siswanto  gmail.com> writes:
>
>> Is that possible to have lyx 2, while maintaining 1.6.10 in the machine.
>
> Yes.  LyX 2 will install into a different directory than 1.6.10, and will use 
> a
> different user directory, so I think there should be no collisions.  I ran 
> them
> in parallel on an XP box for a while.
>
>> If it is possible, which lyx 2 installer that I can use.
>
> I used the standard installer for 2.0, but I suspect either will work.
>
> Paul
>
>
>
>


Re: double column vs. single column text

2011-07-08 Thread Charlie
 On Fri, 8 Jul 2011 16:11:24 -0700 "Richard Opheim rvaci...@gmail.com"
 suggested this:

>OK, I solved the problem. In order to make the &#$%&%* thing work, I
>had to position
>\usepackage{multicol} to be the first thing in the preamble.
>Otherwise, it would give me an error message.

Thanks for sharing that with us Richard. Saves the rest of us
scratching gravel trying to get it to work.

Charlie
-- 
Registered Linux User:- 329524
***

Bitter morning: sparrows sitting without necks James W. Hackett

***

Debian GNU/Linux - just the best way to create magic

-


Re: font question

2011-07-08 Thread Liviu Andronic
2011/7/8 Csikos Bela :
> Hello:
>
> I have a question related to latex fonts, xetex and unicode.
>
> In lyx2 under document > settings > fonts I can set "Use non-TeX fonts (via 
> XeTeX/LuaTeX). If I want to use unicode encoding I have to set this option, I 
> guess. Does this mean as well that the standard tex fonts won't be available?
> Or can they be still chosen? If yes, how? I am confused.
>
It is slightly confusing. You can use XeTeX and TeX fonts: uncheck
'Use non-TeX fonts', select your preferred TeX fonts and compile View
> Other > PDF (XeTeX). (When you do this, I'm not sure if you benefit
entirely from the Unicode capabilities of XeTeX, since the TeX fonts
are not---to my knowledge---Unicode aware.)

Otherwise, if you need XeTeX with full Unicode support (again, I'm not
sure if above you miss anything), check 'Use non-TeX fonts', select
your preferred system fonts (which, in some cases, can be OTF versions
of the TeX fonts) and compile View > PDF (XeTeX). Unicode is the only
encoding that XeTeX supports, so you don't need to select anything
else.

Regards
Liviu


> Thanks,
>
> bcsikos
>
>
>



-- 
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: html5 presentation support?

2011-07-08 Thread Alex Fernandez
Hi Rainer,

Sorry for the delay.

On Wed, Jun 29, 2011 at 9:07 AM, Rainer M Krug  wrote:
>> It sounds interesting, but I am not looking into it at the moment.
>> However (and here comes the inevitable contribution request), I accept
>> patches :)  If you try it you will find eLyXer very flexible in terms
>> of twisting its output.
>
> Unfortunately I don't have time at hand and do not know the inner workings
> of html5 - I ust saw the org-mode exporter and thought - would be nice for
> LyX.

Cool indeed.

>> > I think it would be absolutely great if this could be included in LyX.
>> > For
>> > an example of export exporter for emacs org-mode,
>> > see  https://gist.github.com/509761
>>
>> I agree.
>
> Let's hope that somebody finds some time for this. Do you have a bug / issue
> tracker for eLyXer to put the feature request in?

I have Savannah's at:
  https://savannah.nongnu.org/bugs/?group=elyxer
However it is more practical to keep it in the wish list:
  http://elyxer.nongnu.org/userguide.html#toc-Subsection-3.2
I have just added it.

Alex.


Re: double column vs. single column text

2011-07-08 Thread Richard Opheim
OK, I solved the problem. In order to make the &#$%&%* thing work, I had to
position
\usepackage{multicol} to be the first thing in the preamble. Otherwise, it
would give me an error message.
2011/7/7 Richard Opheim 

> I have the tools package which includes the file multicol.sty
>
>
> 2011/7/7 Marcelo Acuña 
>
>>> According to something else I read somewhere,
>> >I was supposed to insert \usepackage{multicol}
>> > in the document preamble, which I did. Now I get the following errors:
>>
>>  This work very well for me.
>>  Do you have installed the multicol package?
>>
>> Marcelo
>>
>
>
>
>  --
> Richard Opheim
> Home: 425-486-5421
> Cell: 425-381-9213
>
>
>


-- 
Richard Opheim
Home: 425-486-5421
Cell: 425-381-9213


Re: Install lyx 2 in windows with 1.6.10

2011-07-08 Thread Paul Rubin
Waluyo Adi Siswanto  gmail.com> writes:

> Is that possible to have lyx 2, while maintaining 1.6.10 in the machine.

Yes.  LyX 2 will install into a different directory than 1.6.10, and will use a
different user directory, so I think there should be no collisions.  I ran them
in parallel on an XP box for a while.

> If it is possible, which lyx 2 installer that I can use.

I used the standard installer for 2.0, but I suspect either will work.

Paul





font question

2011-07-08 Thread Csikos Bela
Hello:

I have a question related to latex fonts, xetex and unicode.

In lyx2 under document > settings > fonts I can set "Use non-TeX fonts (via 
XeTeX/LuaTeX). If I want to use unicode encoding I have to set this option, I 
guess. Does this mean as well that the standard tex fonts won't be available?
Or can they be still chosen? If yes, how? I am confused.

Thanks,

bcsikos




Re: Problem with custom .cls and figure/subfigure and lyx layout

2011-07-08 Thread Julien Rioux

On 08/07/2011 1:37 AM, Sebastian Krämer wrote:

On 07/07/2011 06:15 PM, Julien Rioux wrote:

A few things:
- Your layout will try to load a SMBV11.cls file, is that right?
- Don't put # in front of "Format 35", that makes it a comment
- If your class is derived from article, you're a bit better off to use
"Input article.layout" instead of "Input stdclass.inc"
- Remove the "Provides something 0" lines
- There is no package "figure"


Hi Julien,

thanks for the pointers, I made adjustments accordingly. However, except
for


\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}


from the earlier export the generated .tex file is exactly the same.
(The compilation error is, too.)

I think I need a possibility to change the way lyx translates figure and
subfire environments. I'll dig into the documentation and see if there's
a way.


Sebastian


Hi,
If I change the documentclass to article it compiles fine. If you really 
need to use \subfigure instead of \subfloat, use Insert > TeX Code to do 
it. e.g.


"\subfigure[Eins]{"
insert your figure here
"}"

where stuff inbetween "" would be in a TeX Code box.
Cheers,
Julien


Re: # in URL cause compiling to hang

2011-07-08 Thread Julio Rojas
Thanks
-
Julio Rojas
jcredbe...@gmail.com


On Fri, Jul 8, 2011 at 3:11 PM, Guenter Milde wrote:

> On 2011-07-07, Richard Heck wrote:
> > On 07/07/2011 03:12 AM, Julio Rojas wrote:
> >> I had exactly this same problem a couple of days ago and I had to
> >> leave the part after  the "#" sign out.
>
> > I think the # has to be escaped somehow...?
>
> Yes.
>
> From the Docutils latex writer::
>
># We need to escape #, \, and % if we use the URL in a command.
>special_chars = {ord('#'): ur'\#',
> ord('%'): ur'\%',
> ord('\\'): ur'\\',
>}
>
># problematic chars double caret and unbalanced braces:
>if href.find('^^') != -1 or self.has_unbalanced_braces(href):
>self.error(
>'External link "%s" not supported by LaTeX.\n'
>' (Must not contain "^^" or unbalanced braces.)' % href)
>
>
> Günter
>
>


Re: # in URL cause compiling to hang

2011-07-08 Thread Guenter Milde
On 2011-07-07, Richard Heck wrote:
> On 07/07/2011 03:12 AM, Julio Rojas wrote:
>> I had exactly this same problem a couple of days ago and I had to
>> leave the part after  the "#" sign out.

> I think the # has to be escaped somehow...?

Yes.

>From the Docutils latex writer::

# We need to escape #, \, and % if we use the URL in a command.
special_chars = {ord('#'): ur'\#',
 ord('%'): ur'\%',
 ord('\\'): ur'\\',
}

# problematic chars double caret and unbalanced braces:
if href.find('^^') != -1 or self.has_unbalanced_braces(href):
self.error(
'External link "%s" not supported by LaTeX.\n'
' (Must not contain "^^" or unbalanced braces.)' % href)


Günter



Re: suggestion: searchbar for insert special character

2011-07-08 Thread Diego Queiroz
On Fri, Jul 8, 2011 at 7:37 AM, Neal Becker  wrote:

> I tried to insert a special character ½, and found it difficult to locate.
>  I
> use kcharselect (from kde) to find it.  It has a search bar.  Just type in
> the
> term 'half', and it's the first thing shown (on my machine).
>
> My suggestion is add a searchbar to the insert special character.
>
> BTW, I can use kcharselect to locate a unicode character.  But, I don't
> think it
> would generally work to just paste in a unicode character to a LaTeX
> document,
> correct?
>
>
Usually, you can freely copy/paste some unicode chars to/from LyX (specially
symbols).
LyX automatically inserts all necessary packages and converts the char to
the correspondent LaTeX code.

To check, just try to copy/paste your "½" character to a new LyX document
and look to the source.
LyX includes the textcomp package and use the command \textonehalf{}.

Also, a good hint to search for unknown symbols in LaTeX is to use a image
classificator (like this one http://detexify.kirelabs.org/classify.html).


Best regards,
---
Diego Queiroz


Re: Icons

2011-07-08 Thread Marcelo Acuña
>>> I agree that the icons should be distinctive even at first
>>> glace -- not only
>>> for older eyes but also for small screens.

>>  My problem is that big icons are still too small for my eyes.

> Would your problem be solved with more distinctive
> icons at the current
>size, do you require icons bigger than available
> now, or both.

The current style of icons it is particularly difficult to see for me.
Anyway, still with the previous style of icons, they are too small for me and 
it takes effort to me to distinguish its function.

I am going to see the options of oo that You say.


Marcelo


Marcelo Acuña visitá mi sitio web http://www.aleph-uno.com.ar 
==



Re: PDF commenting enabled

2011-07-08 Thread Diego Queiroz
On Fri, Jul 8, 2011 at 9:27 AM, Michael Joyner wrote:

> The commenting restriction is strictly because of the PDF generator.
> If you are using a software that can create commentable PDF's from a PS
> file, the result you create should be commentable.
>
>
> On Fri, Jul 8, 2011 at 7:59 AM, Thomas  wrote:
>
>> Hi,
>>
>> I understand it is not possible to create PDFs with Lyx that allow
>> commenting by others.
>>
>> My question is whether this is still true when I use Lyx to get the
>> postscript file and distill the file myself?
>>
>> Thanks,
>>
>> Thomas
>>
>
> --
> ---
>
>- Learn to speak Cherokee: http://www.cherokeelessons.com/
>- Cherokee Language Help BBS/Chat:
>http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6
>- Cherokee Lessons PDF made with: http://www.lyx.org/
>
>
>
Thomas, Michael is right.

LyX does not insert any kind of restriction in the PDF.
If you are not able to comment in the PDF, this is because your PDF
reader/generator doesn't allow you to do so (Acrobat Reader?).

About the file format, this doesn't really matter.
If you are dealing with PS/PDF/whatever, the restriction resides with the
software that is generating the comments, not with the file itself.

Adobe Acrobat X (not Pro, the last free version) allows you to insert
comments in the PDF. I just tested myself and I am able to insert comments
on files generated by LyX (pdflatex) as well. So, if you're using it Adobe
Acrobat, just check if you are using the last version, older versions
doesn't allow you to insert comments without pay.


Take care,
---
Diego Queiroz


Re: PDF commenting enabled

2011-07-08 Thread Michael Joyner
The commenting restriction is strictly because of the PDF generator.
If you are using a software that can create commentable PDF's from a PS
file, the result you create should be commentable.

On Fri, Jul 8, 2011 at 7:59 AM, Thomas  wrote:

> Hi,
>
> I understand it is not possible to create PDFs with Lyx that allow
> commenting by others.
>
> My question is whether this is still true when I use Lyx to get the
> postscript file and distill the file myself?
>
> Thanks,
>
> Thomas
>



-- 
---

   - Learn to speak Cherokee: http://www.cherokeelessons.com/
   - Cherokee Language Help BBS/Chat:
   http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6
   - Cherokee Lessons PDF made with: http://www.lyx.org/


PDF commenting enabled

2011-07-08 Thread Thomas

Hi,

I understand it is not possible to create PDFs with Lyx that allow 
commenting by others.


My question is whether this is still true when I use Lyx to get the 
postscript file and distill the file myself?


Thanks,

Thomas


Re: LyX generated XeTeX PDFs crash PDF Viewer (Preview and Adobe)

2011-07-08 Thread gregor . hochschild
Math font: I don't know which one I am just changing to XeTeX and selecting 
Palatino as a font. 

Crash: In general, the reader crashes but I can still move the mouse and force 
quit the reader. Everything works fine with Preview on my mac. Adobe Reader 
9.3.2 on Mac and Adobe Reader X on Windows crash when I open the document. When 
I have longer documents and the math part only appears on a later page, the 
readers crash when I go to that page. When I remove the math, everything works. 
I also changed the font and encountered the same problem. I had a similar 
problem on a different mac with preview once but I am not sure whether it was 
the same issue and can't try the document on another mac right now. Currently, 
XeTeX + math seem to be enough to cause the problem but maybe there are other 
conditions.

I am attaching a pdf that crashes and the corresponding LyX document.

Thanks!






-- 
NEU: FreePhone - kostenlos mobil telefonieren!  
Jetzt informieren: http://www.gmx.net/de/go/freephone


crash.pdf
Description: Adobe PDF document


crash.lyx
Description: Binary data


Re: Folding of headings - Possible new feature?

2011-07-08 Thread Rainer M Krug
On Thu, Jul 7, 2011 at 8:04 PM, Liviu Andronic wrote:

> On Thu, Jul 7, 2011 at 7:16 PM, Vito 'ZeD' De Tullio
>  wrote:
> > Rainer M Krug wrote:
> >
> >> What I am wondering: why haven't I seen this feature in text editors?
> >
> > text editors don't have structure :D
> >
> It depends on the file that you're editing. ;)
> However, some time ago a 'narrowing' feature has been proposed for LyX
> [1] and some of the devels seemed quite warmed up to the idea (and
> personally I would love to have it in LyX).
>

True - sounds like a very useful feature, an the effect would be similar to
folding / collapsing.

Hope somebody is working at it?

In a related note - what is the status of Rob's LyX Outline? Any usable
alphas / betas yet?

Rainer


> Liviu
>
> [1] http://comments.gmane.org/gmane.editors.lyx.general/63296
>
>
>
> >> If others think the same, I will add it to the bug tracker as a feature
> >> request - but are there any comments?
> >
> > FYI the bug already is in the tracker:
> http://www.lyx.org/trac/ticket/2039
> > (and it's six years old!)
> >
> >
> > --
> > By ZeD
> >
> >
>
>
>
> --
> 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
>



-- 
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


Re: Where is 'Indent' or 'Skip' ?

2011-07-08 Thread Guenter Milde
On 2011-07-07, Julien Rioux wrote:
> On 27/06/2011 3:29 PM, Guenter Milde wrote:
>> On 2011-06-27, Fernando Basso wrote:


>> Beware: LyX's implementation of (*) Vertical Space is broken -- it
>> inserts too much space in lists (enumeration, itemize, ...) and similar
>> places (see l2tabuen.pdf).

>> Günter

> Is there a way to improve on this broken implementation?

See http://www.lyx.org/trac/ticket/4796

Günter



Re: LyX generated XeTeX PDFs crash PDF Viewer (Preview and Adobe)

2011-07-08 Thread Guenter Milde
On 2011-07-07, gregor.hochsch...@gmx.de wrote:

> Actually, it doesn't work with these two packages...  :( My new theory
> is that it's connected with the math font. I can produce the error with
> a very small document just same text + math. Everything seems to work
> with a figure... Any ideas? How can I handle with math font problem?

Could you please tell what you mean with "crash"? Does a (which) PDF viewer
actually cease to work completely, maybe even damaging files or making the
mouse stop working?

Or, is it just some parts of the text not beeing shown or shown with strange
symbols?

Or is it that printing does not work (even if the screen shows the document
all right)?


In cases 2 and 3, the problem seems to be font embedding. This depends on
the LaTeX system setup - outside the scope of LyX. (We might help here, if
given a concrete *minimal* example (LyX source file + PDF).)

Günter



Re: Icons

2011-07-08 Thread Guenter Milde
On 2011-07-07, Marcelo Acuña wrote:
>> > (1) The open-save-print group: in each case there's a white 
>> > square/rectangle above a darker square/rectangle. In the old (classic) 
>> > icon set, the icons for open and print are on the diagonal. Could that 
>> > be done here to make a clearer distinction?

>> > (2) The emphasis-noun-apply last group: in each case the major part
>> > of the icon is the letter A with a smaller distinguishing part.
>> > Perhaps that should be reversed -- the distinguishing part enlarged
>> > and the A reduced?

>> I agree that the icons should be distinctive even at first
>> glace -- not only
>> for older eyes but also for small screens.

>  My problem is that big icons are still too small for my eyes.

Would your problem be solved with more distinctive icons at the current
size, do you require icons bigger than available now, or both.

The new icons are (as far as I remember) (mostly) taken from
OpenOffice/LibreOffice. Having the same set of icons for common tasks in
different programs should also help recognization.  

OpenOffice has a number of icon styles. Could you try whether there is an
icon style in OpenOffice that suits your needs? Or maybe another set of
Gnome/KDE/Gtk icons? Maybe LyX could make use of this wide choice too.

Günter