Re: Missing converters and pdftex.def error

2020-09-23 Thread UD K

  
  


On 9/23/20 5:15 PM, Paul A. Rubin
  wrote:


  
  On 9/23/20 10:25 AM, UD K wrote:
  
  


I should know how to do it by now, but SOMETIME (not always)
  I am still running into an error message:
No information
about converting GIF files into JPG, or a similar
  error when I embed a graphics in a Lyx/Beamer file.  It comes
  with a:
pdftex.def
error.
I do not see the
required converters listed in the preferences/converters.  
Sadly, because I
am using MX Linux (don't ask me why), I am using Texlive
2018, which tlmgr refuses to update.   ImageMagick in
installed and working, but obviously something else is
broken.  
Any hints?
Thanks,
-- 
Ehud Kaplan


  
  LyX on my system (Mint) does not have a converter defined for
  GIFs, maybe because the GIF format is so 20th century? :-)  At any
  rate, I'm pretty sure ImageMagick can convert GIF to JPG or PNG or
  maybe EPS. I suggest try to convert one of the files using
  ImageMagick, and if it works, just define a GIF converter using
  ImageMagick in LyX.
  
  Paul


Indeed, converting GIF to JPG works, so I can live with that. 
However, I am also very 20th Century, and I have not quite expired
yet, despite the efforts of Sars-2 et al...
 
  
  

-- 
Ehud Kaplan, Ph.D.
 Visiting Professor
 Dept. of Philosophy & History of Science
 Charles University, Prague
 & 
 the National Institute of Mental Health,
 Topolová 748, Klecany
 Czechia

  

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Missing converters and pdftex.def error

2020-09-23 Thread Paul A. Rubin

On 9/23/20 10:25 AM, UD K wrote:


I should know how to do it by now, but SOMETIME (not always) I am 
still running into an error message:


No information about converting GIF files into JPG, or a similar error 
when I embed a graphics in a Lyx/Beamer file.  It comes with a:


pdftex.def error.

I do not see the required converters listed in the 
preferences/converters.


Sadly, because I am using MX Linux (don't ask me why), I am using 
Texlive 2018, which tlmgr refuses to update.   ImageMagick in 
installed and working, but obviously something else is broken.


Any hints?

Thanks,

--
Ehud Kaplan

LyX on my system (Mint) does not have a converter defined for GIFs, 
maybe because the GIF format is so 20th century? :-)  At any rate, I'm 
pretty sure ImageMagick can convert GIF to JPG or PNG or maybe EPS. I 
suggest try to convert one of the files using ImageMagick, and if it 
works, just define a GIF converter using ImageMagick in LyX.


Paul

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Missing converters and pdftex.def error

2020-09-23 Thread UD K

  
  
I should know how to do it by now, but SOMETIME (not always) I am
  still running into an error message:
No information about
converting GIF files into JPG, or a similar error when I
  embed a graphics in a Lyx/Beamer file.  It comes with a:
pdftex.def error.
I do not see the
required converters listed in the preferences/converters.  
Sadly, because I am
using MX Linux (don't ask me why), I am using Texlive 2018,
which tlmgr refuses to update.   ImageMagick in installed and
working, but obviously something else is broken.  
Any hints?
Thanks,
-- 
Ehud Kaplan
  

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Configuring converters (more specifically dot2tex)

2010-06-04 Thread Leo Antunes
Hi

On 04/06/10 15:27, Julien Rioux wrote:
> File Formats:
>
> Format: LaTeX (dot2tex)
> Short Name: dot2tex
> Extension: tex
>
> Converters:
>
> Graphviz Dot -> LaTeX (dot2tex)
> Converter: dot2tex $$i > $$o
>
> LaTeX (dot2tex) -> PDF (ps2pdf)
> Converter: pdflatex $$i

Perfect! This is exactly what I wanted.
I had actually tried something similar but without the dedicated LaTeX
(dot2tex) format and it hadn't worked, but maybe I had forgotten
something else...
Anyway, it now works like a charm! Thanks everyone for the tips!


Cheers

-- 
*Leo Antunes*


Re: Configuring converters (more specifically dot2tex)

2010-06-04 Thread Julien Rioux

On 03/06/2010 5:58 PM, Leo Antunes wrote:

On 03/06/10 16:22, Julien Rioux wrote:


Why not already use the dot->pdf converter that comes with graphviz?

dot -Tpdf file.dot -o file.pdf



Because I wanna use dot2tex on the dot file beforehand. Importing pure
Dot files works like a charm, no problem there! :)


Cheers



Then define your own "dot2tex" file format, have a dot->dot2tex 
converter and a dot2tex->pdf converter. Remove the usual dot->pdf 
converter because LyX would use that if present (assuming LyX uses the 
shortest conversion pathway). Remove any other dot->something converters 
for that matter.


I tested this with one of my dot file and it works ok. The only problem 
is in the generated tex file: the graph is too large to fit on an 
article page. But I didn't play with the dot2tex options, and at this 
point I would say that the integration with LyX works.


Here is what I have in my LyX Preferences panel.

File Formats:

Format: LaTeX (dot2tex)
Short Name: dot2tex
Extension: tex

Converters:

Graphviz Dot -> LaTeX (dot2tex)
Converter: dot2tex $$i > $$o

LaTeX (dot2tex) -> PDF (ps2pdf)
Converter: pdflatex $$i

Cheers,
Julien


Re: Configuring converters (more specifically dot2tex)

2010-06-03 Thread Leo Antunes
On 03/06/10 16:22, Julien Rioux wrote:
>
> Why not already use the dot->pdf converter that comes with graphviz?
>
> dot -Tpdf file.dot -o file.pdf
>

Because I wanna use dot2tex on the dot file beforehand. Importing pure
Dot files works like a charm, no problem there! :)


Cheers

-- 
*Leo Antunes*


Re: Configuring converters (more specifically dot2tex)

2010-06-03 Thread Julien Rioux

On 02/06/2010 8:45 PM, Leo Antunes wrote:

I'm unfortunately not very familiar with TeX, but it seems to be
impossible to simply do something like "cat file.tex | pdflatex>
file.pdf" to take my dot2tex output, reconvert it to pdf and use the
simpler graphic inclusion feature. Is this a limitation of the design of
how TeX documents work, has nobody ever felt the need for something like
this, or am I completely missing the point?


Why not already use the dot->pdf converter that comes with graphviz?

dot -Tpdf file.dot -o file.pdf

--
Julien


Re: Configuring converters (more specifically dot2tex)

2010-06-02 Thread Leo Antunes
On 31/05/10 16:30, Julien Rioux wrote:
>
> The preview in LyX uses .png format, while pdf or ps output will
> prefer vector graphics formats (.eps for dvi or ps output, .pdf for
> pdf output), although pdflatex can handle raster images as well. I
> would be surprised if you can see a .dot file (either in LyX or in
> output) without a converter. In that case there might be a file left
> over in your conversion cache folder.

Ok, this helps me decide which converters to create. Thanks!

>
>> All-in-all I might have totally misunderstood the idea behind the
>> converters, so please let me know if that's the case.
>>
>>
>
> I don't think you got it wrong. Converters are easy to use for graphic
> inclusion, so I would recommend that. If you really want to include
> the generated latex code, you will have to define a new type of
> external material. It's not impossible at all, but it is less
> documented feature of LyX.
>

I'm unfortunately not very familiar with TeX, but it seems to be
impossible to simply do something like "cat file.tex | pdflatex >
file.pdf" to take my dot2tex output, reconvert it to pdf and use the
simpler graphic inclusion feature. Is this a limitation of the design of
how TeX documents work, has nobody ever felt the need for something like
this, or am I completely missing the point?
I know this doesn't have anything directly to do with Lyx, but it just
feels like it could make life a bit easier if pdflatex (and friends)
could output to stdout.


Cheers


-- 
*Leo Antunes*


Re: Configuring converters (more specifically dot2tex)

2010-05-31 Thread Jean-Marc LASGOUTTES
Leo Antunes  writes:
> When configuring converters, what's the priority Lyx will give when
> trying to convert an included graphic? If I have more than one
> converters set-up for a given input format, with various output formats,
> which one will Lyx prefer?

It chooses the shortest path, I think.

> The case in point is trying to create a converter for Dot files, which
> automatically parses them through dot2tex. This means Lyx would end-up
> including an automatically produced LaTeX snippet. Is that even
> possible? Do I need to figure out a way to first export this LaTeX to
> some graphic format?

As Julien pointed out, this should be done through the external material
feature. 

> As a follow-up to this question, I've noticed Lyx still manages to
> export a document with an included Dot file, even when I remove the
> configured Dot converter. 

The default configured dot converter is a dot>pdf. When there is no
converter, we fallback to ImageMagick's convert utility, which may
handle dot files (I do not know).

Look for the script convertDefault.py.

JMarc



Re: Configuring converters (more specifically dot2tex)

2010-05-31 Thread RGH

On 05/31/2010 08:11 AM, Leo Antunes wrote:

As a follow-up to this question, I've noticed Lyx still manages to
export a document with an included Dot file, even when I remove the
configured Dot converter. Am I right to assume there's some hardcoded
fallback converter at work?


I think this is the only question Julien didn't answer. And, yes, there 
is a fallback converter, the convert command from ImageMagick.


Richard



Re: Configuring converters (more specifically dot2tex)

2010-05-31 Thread Julien Rioux

On 31/05/2010 8:11 AM, Leo Antunes wrote:

[I'm not subscribed, please CC]

Hi,

When configuring converters, what's the priority Lyx will give when
trying to convert an included graphic? If I have more than one
converters set-up for a given input format, with various output formats,
which one will Lyx prefer?
The case in point is trying to create a converter for Dot files, which
automatically parses them through dot2tex. This means Lyx would end-up
including an automatically produced LaTeX snippet. Is that even
possible? Do I need to figure out a way to first export this LaTeX to
some graphic format?



It is possible to include the generated latex code via Insert > File > 
External material, but it is generally a bit more complicated to set up 
compared to just including the file as an graphic (Insert > Graphic). 
Either way, when LyX is set up properly you should be able to include 
your .dot file and LyX will process it before inclusion, and again each 
time the file is updated.



As a follow-up to this question, I've noticed Lyx still manages to
export a document with an included Dot file, even when I remove the
configured Dot converter. Am I right to assume there's some hardcoded
fallback converter at work? I don't believe it to be a configuration
caching issue, since I removed my whole .lyx dir just to be sure, but it
might be a fallback configuration somewhere else, which isn't visible in
the GUI and I couldn't find by grepping.
The same fallback converter seems to be what's used to generate the
image preview inside Lyx itself, since there are visual differences
between the previewed image and the exported one. Is there a way to
configure this?



The preview in LyX uses .png format, while pdf or ps output will prefer 
vector graphics formats (.eps for dvi or ps output, .pdf for pdf 
output), although pdflatex can handle raster images as well. I would be 
surprised if you can see a .dot file (either in LyX or in output) 
without a converter. In that case there might be a file left over in 
your conversion cache folder.



All-in-all I might have totally misunderstood the idea behind the
converters, so please let me know if that's the case.




I don't think you got it wrong. Converters are easy to use for graphic 
inclusion, so I would recommend that. If you really want to include the 
generated latex code, you will have to define a new type of external 
material. It's not impossible at all, but it is less documented feature 
of LyX.



Cheers



All the best,
Julien



Configuring converters (more specifically dot2tex)

2010-05-31 Thread Leo Antunes
[I'm not subscribed, please CC]

Hi,

When configuring converters, what's the priority Lyx will give when
trying to convert an included graphic? If I have more than one
converters set-up for a given input format, with various output formats,
which one will Lyx prefer?
The case in point is trying to create a converter for Dot files, which
automatically parses them through dot2tex. This means Lyx would end-up
including an automatically produced LaTeX snippet. Is that even
possible? Do I need to figure out a way to first export this LaTeX to
some graphic format?

As a follow-up to this question, I've noticed Lyx still manages to
export a document with an included Dot file, even when I remove the
configured Dot converter. Am I right to assume there's some hardcoded
fallback converter at work? I don't believe it to be a configuration
caching issue, since I removed my whole .lyx dir just to be sure, but it
might be a fallback configuration somewhere else, which isn't visible in
the GUI and I couldn't find by grepping.
The same fallback converter seems to be what's used to generate the
image preview inside Lyx itself, since there are visual differences
between the previewed image and the exported one. Is there a way to
configure this?

All-in-all I might have totally misunderstood the idea behind the
converters, so please let me know if that's the case.


Cheers

-- 
*Leo Antunes*


Re: adding ConvTex to the LyX converters?

2010-02-03 Thread Grahame Blackwood
On Wednesday 03 February 2010 13:00:35 Liviu Andronic wrote:
> Does anyone have experience with it?

Hi Liviu

I use it about once per month to convert a report created in Lyx to OpenOffice 
but I find it chokes on some of Lyx's formatting and I have to run a vim script 
to remove or alter the offending code. 

The list of changes needed increases occasionally as new tables appear in the 
report.

The vim script I use is currently:


:%s/\\LARGE//eg 
:%s/\\Large//eg
:%s/\\large//eg
:%s/>{\\raggedright}p{2.3in}/l/eg
:%s/>{\\raggedright}p{2.6in}/l/eg
:%s/\\textrm//eg
:%s/\\textendash/ --- /eg
:%s/\\textquoteright/'/eg
:%s/\\textquotedoubleright/''/eg
:%s/\\newpage//eg

I run this script on the .tex produced by exporting the lyx file to latex. Then 
run ConvTex on the altered .tex file to produce a .sxw file that can then be 
read by OO.
 
A bit clumsy but it gets me the result I need.

Cheers

G






adding ConvTex to the LyX converters?

2010-02-03 Thread Liviu Andronic
Dear all

On 2/3/10, Enrico Forestieri  wrote:
> I did it here: 
> http://wiki.lyx.org/Tools/LyX2OpenOffice#sTools.LyX2OpenOffice_5
>
I wasn't aware of the ConvTex python script. (Thanks for pointing it
out, Enrico!)

Does anyone have experience with it? Reading the ML it seems to be
working, but I was also wondering if someone tried to add it to the
LyX list of converters and if it was working. If so, would it make
sense to implement it in LyX (recognise ConvTex and provide the
appropriate menu entries)?

Thank you
Liviu


Re: Fun With LyX Document Converters

2009-11-05 Thread rgheck

On 11/05/2009 04:32 PM, Rob Oakes wrote:

Thank you Alan,

That fixed the problem.  I hadn't realized that the Java run time was a
dependency of oolatex.  Export from LyX to OpenDocument now works.  From
there, it's an easy conversion to Word.

   
I'm glad to hear this. Experience generally is that oolatex works pretty 
well on Linux, with issues on other platforms.


rh



Re: Fun With LyX Document Converters

2009-11-05 Thread Andrew Sullivan




On 2009-11-05, at 16:32, Rob Oakes  wrote:


Thank you Alan,

That fixed the problem.  I hadn't realized that the Java run time  
was a
dependency of oolatex.  Export from LyX to OpenDocument now works.   
From

there, it's an easy conversion to Word.



One issue with export to oolatex in my experience is the loss of cross  
references. If you've found this works, please let us know, because  
it's a major blocker for my use. (Happily, where I work, circulating  
PDFs is ok. But not most places.)


--
Andrew Sullivan




Re: Fun With LyX Document Converters

2009-11-05 Thread Rob Oakes
Thank you Alan,

That fixed the problem.  I hadn't realized that the Java run time was a
dependency of oolatex.  Export from LyX to OpenDocument now works.  From
there, it's an easy conversion to Word.

Cheers,

Rob





Re: Fun With LyX Document Converters

2009-11-05 Thread Typhoon
On Thu, 05 Nov 2009 13:09:33 -0700
Rob Oakes  wrote:

> Dear LyX Users,
> 
> I've spent most of today struggling with the question of, "What is the
> best way to convert a LyX/LaTeX document into a Word document?"
> 


> 
> (As a side question, LaTeX (plain) -> OpenDocument is completely
> broken on Ubuntu 9.10.  It will produce a file, but when loaded into
> OpenOffice 3.1, it's just a blank page.  Has anyone else had this
> problem?)

Not sure on Ubuntu, but on Debian Lenny there is a bug in the tex4ht
(oolatex) conversion. You MUST have the java alternative set to the Sun
version. It behaves as you describe if the java preference is set to
one of the free java libraries.

$ sudo update-alternatives --config java

HTH,
Alan

> 
> Here are my settings:
> 
> >From format: LaTeX (plain)
> To format: DocBook
> Converter: mk4ht dblatex $$i
> Extra flag: needaux
> 
> I've also experimented with leaving out the needaux, which results in
> the same problem as described above.  I'm not getting any errors.
> 
> Any thoughts or ideas would be extremely appreciated.
> 
> Cheers,
> 
> Rob Oakes
> 
> 


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Fun With LyX Document Converters

2009-11-05 Thread Rob Oakes
Dear LyX Users,

I've spent most of today struggling with the question of, "What is the
best way to convert a LyX/LaTeX document into a Word document?"

I've looked separately at latex2rtf (which works, but makes it very
difficult to customize the output) and going through html (via a variety
of routes).  One option that has me particularly excited is going
through docbook.  I've been playing with the Export->LaTeX and then
transforming the resulting LaTeX into docbook using tex4ht. Once in
docbook, it's pretty easy to transform it to MS Word.  (For more detail,
see: http://www.explain.com.au/oss/docbook/).

This has been working *really* well with the different test documents
I've been using.  Figures, tables, and non-English characters appear to
survive and structure is largely preserved.  (I don't actually care
about formatting as much.  If I want to preserve formatting, I usually
send a PDF.)  What makes me more excited, however, is that the content
can be likely be transformed *back*.  I still need to experiment and see
how well this works.

The problem, as you might guess, is that it is involved.  If I had to do
this type of processing on more than just a files, it would be a
tremendous PITA.  So, I'm looking for ways to automate it.  The first
automation step, it would seem, is to try and create a DocBook file from
LaTeX.  For the life of me, however, I can't seem to figure out how to
do this.

I've tried creating a new document converter for LaTeX (plain) ->
DocBook using tex4ht, and it appears to do something (I don't get any
errors); but it doesn't actually create any output files.  Does anyone
know why this might be?

(As a side question, LaTeX (plain) -> OpenDocument is completely broken
on Ubuntu 9.10.  It will produce a file, but when loaded into OpenOffice
3.1, it's just a blank page.  Has anyone else had this problem?)

Here are my settings:

>From format: LaTeX (plain)
To format: DocBook
Converter: mk4ht dblatex $$i
Extra flag: needaux

I've also experimented with leaving out the needaux, which results in
the same problem as described above.  I'm not getting any errors.

Any thoughts or ideas would be extremely appreciated.

Cheers,

Rob Oakes



File converters based on file extension rather than MIME type?

2009-11-03 Thread Hugo Vincent

Hi,

I'm trying to set up some custom file converters (which take psfrag'd  
EPS files from matlab, do some "stuff" to the annotations then render  
them to a PDF), and am distinguishing between what "stuff" gets done  
by file extension. That is, for operation A, I might call the file  
someplot.epstypeA, and set up a file converter in LyX to call my  
script (which I've tested and it works). But for some reason, LyX  
seems to ignore my file extension and just call the plain EPS  
converter because it somehow knows (from MIME type?) that the file is  
still just an EPS file. Is it possible to make LyX prioritize user- 
specified converters over built-in ones?


Thanks,
Hugo


Re: can't edit Converters, File Formats, Copiers

2009-08-17 Thread Manveru
2009/8/15 rgheck :
> On 08/15/2009 03:21 PM, unknownmosquito wrote:
>>
>> Joe wrote:
>>
>>>
>>> In the GUI for LyX the Add and Modify buttons are gray.  I can't modify.
>>> Any advice is appreciated.
>>>
>>> I'm running 1.5.6 on OS X 10.5.4
>>>
>>>  http://n2.nabble.com/file/n669102/Picture%2B3.png Picture+3.png
>>> http://n2.nabble.com/file/n669102/Picture%2B3.png
>>>
>>>
>>
>>
>> I have this same problem on two different Fedora 11 machines:
>> http://n2.nabble.com/file/n3450869/%2BPreferences.png
>>
>> It is extremely frustrating. If there is a workaround, please let me know.
>>
>>
>
> This dialog is kind of confusing. You have to change something, and then the
> "add" or "modify" button will be enabled. So e.g., if you change the "From
> format" to "DVI" and "To format" to "LaTeX (plain)", then the Add button
> will be enabled, so that you can add a DVI-->LaTeX converter (??).
> Alternatively, if you click on "DVI --> Postscript" and then add something
> in the "Extra flag" box, then the Modify button will be enabled.
>
> As I said, I know this is kind of confusing, but we haven't found a better
> system.

If I may suggest something, that could be done in more intuitive ways:

1. More Eclipse approach: Create edit button and do additional dialog
for editing.

2. Keep fields for typing converter parameters disabled. Then when
clicked New - create new row with name 'New Converter', select it,
enable all fields to type and commit button. When clicked edit just
enable the fields to edit and the commit button. Display an question
dialog box when someone clicked on the list of converters above or the
menu of options about abandoning changes. That would be more intuitive
in my opinion.


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


Re: can't edit Converters, File Formats, Copiers

2009-08-15 Thread rgheck

On 08/15/2009 03:21 PM, unknownmosquito wrote:

Joe wrote:
   

In the GUI for LyX the Add and Modify buttons are gray.  I can't modify.
Any advice is appreciated.

I'm running 1.5.6 on OS X 10.5.4

  http://n2.nabble.com/file/n669102/Picture%2B3.png Picture+3.png
http://n2.nabble.com/file/n669102/Picture%2B3.png

 



I have this same problem on two different Fedora 11 machines:
http://n2.nabble.com/file/n3450869/%2BPreferences.png

It is extremely frustrating. If there is a workaround, please let me know.

   
This dialog is kind of confusing. You have to change something, and then 
the "add" or "modify" button will be enabled. So e.g., if you change the 
"From format" to "DVI" and "To format" to "LaTeX (plain)", then the Add 
button will be enabled, so that you can add a DVI-->LaTeX converter 
(??). Alternatively, if you click on "DVI --> Postscript" and then add 
something in the "Extra flag" box, then the Modify button will be enabled.


As I said, I know this is kind of confusing, but we haven't found a 
better system.


rh



Re: can't edit Converters, File Formats, Copiers

2009-08-15 Thread unknownmosquito


Joe wrote:
> 
> In the GUI for LyX the Add and Modify buttons are gray.  I can't modify. 
> Any advice is appreciated.  
> 
> I'm running 1.5.6 on OS X 10.5.4
> 
>  http://n2.nabble.com/file/n669102/Picture%2B3.png Picture+3.png 
> http://n2.nabble.com/file/n669102/Picture%2B3.png 
> 


I have this same problem on two different Fedora 11 machines:
http://n2.nabble.com/file/n3450869/%2BPreferences.png 

It is extremely frustrating. If there is a workaround, please let me know.
-- 
View this message in context: 
http://n2.nabble.com/can%27t-edit-Converters%2C-File-Formats%2C-Copiers-tp669102p3450869.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Several problems with converters in lyx

2008-09-04 Thread rgheck

Nasir Amra wrote:

So far I'm pleased with how lyx shortens the learning curve for using latex. 
However, I have several problems converting the document into either rtf or an 
openoffice document ( publisher's demanding .doc instead of latex or pdf).

1. Converting to .rtf : 
  When I use natbib , numerical option, with sort&compress option, citation format [#ID}, I get an rtf file which does not have any citations in the file.


2. When using the converter to an opendocument:
  Everything converts including the bibliography, however, the references are all running together instead of each reference starting a separate line ( e,g: 

1.

Vellios F, Bacz JM, Shumacker HB. Lipoblastomatosis: A tumor of fetal
fat different from hibernoma. Report of a case, with observations of
embryogenesis of human adipose tissue. Am J Pathol.
1958;34:1149–1159. 2. Chung EB, Enzinger FM. Benign
lipoblastomatosis. An analysis of 35 cases. Cancer. 1973
Aug;32(2):482–492. 3. Chen Z, Coffin CM, Scott S, Meloni-Ehrig A,
Shepard R, Issa B, et al. Evidence by spectral karyotyping that
8q11.2 is nonrandomly involved in lipoblastoma. J Mol Diagn. 2000
May;2(2):73–77. 


Are there any workarounds to these problems?

  
LyX relies upon external programs to do these conversions, and they all 
have their quirks. The sad truth, I'm afraid, is that perfectly painless 
conversion to rtf and odt isn't possible, and you're always going to 
have to do some tweaking by hand.


Richard



Several problems with converters in lyx

2008-09-04 Thread Nasir Amra
So far I'm pleased with how lyx shortens the learning curve for using latex. 
However, I have several problems converting the document into either rtf or an 
openoffice document ( publisher's demanding .doc instead of latex or pdf).

1. Converting to .rtf : 
  When I use natbib , numerical option, with sort&compress option, citation 
format [#ID}, I get an rtf file which does not have any citations in the file.

2. When using the converter to an opendocument:
  Everything converts including the bibliography, however, the references 
are all running together instead of each reference starting a separate line ( 
e,g: 

1.
Vellios F, Bacz JM, Shumacker HB. Lipoblastomatosis: A tumor of fetal
fat different from hibernoma. Report of a case, with observations of
embryogenesis of human adipose tissue. Am J Pathol.
1958;34:1149–1159. 2. Chung EB, Enzinger FM. Benign
lipoblastomatosis. An analysis of 35 cases. Cancer. 1973
Aug;32(2):482–492. 3. Chen Z, Coffin CM, Scott S, Meloni-Ehrig A,
Shepard R, Issa B, et al. Evidence by spectral karyotyping that
8q11.2 is nonrandomly involved in lipoblastoma. J Mol Diagn. 2000
May;2(2):73–77. 

Are there any workarounds to these problems?




 
Lyx : 1.5.5.1 and Ubuntu linux 8.04


  

Re: can't edit Converters, File Formats, Copiers

2008-08-04 Thread Paul A. Rubin

rgheck wrote:

Uwe Stöhr wrote:
I know that this dialog is quite unintuitive, but the other developers 
don't agree with me.



One does.



As does one non-developer.  :-)



Re: can't edit Converters, File Formats, Copiers

2008-08-04 Thread rgheck

Uwe Stöhr wrote:
I know that this dialog is quite unintuitive, but the other developers 
don't agree with me.



One does.

rh



Re: can't edit Converters, File Formats, Copiers

2008-08-04 Thread Uwe Stöhr

Joe schrieb:


In the GUI for LyX the Add and Modify buttons are gray.  I can't modify.  Any
advice is appreciated.


You can only press the modify button when you changed an existing file format. To add a file format 
and change its edit fields to a new one. Than you can press Add. The UserGuide and the Extended 
manual will tell you more.


I know that this dialog is quite unintuitive, but the other developers don't agree with me. So the 
best is when you report this problematic at bugzilla.lyx.org.
I think the most intuitive way is when Add is always active. When you pres Add, a new blank file 
format appears where you can fill the different fields. Then press Save and you got a new file 
format. What would be your aproach?


regards Uwe


can't edit Converters, File Formats, Copiers

2008-08-04 Thread Joe

In the GUI for LyX the Add and Modify buttons are gray.  I can't modify.  Any
advice is appreciated.  

I'm running 1.5.6 on OS X 10.5.4

http://n2.nabble.com/file/n669102/Picture%2B3.png Picture+3.png 
http://n2.nabble.com/file/n669102/Picture%2B3.png 
-- 
View this message in context: 
http://n2.nabble.com/can%27t-edit-Converters%2C-File-Formats%2C-Copiers-tp669102p669102.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: converters

2008-07-18 Thread G. Milde
On 17.07.08, Matthias E wrote:

> Whenever I try to view the file as a .pdf, the following screen pops
> up:
>
> Keine Information vorhanden, um Dateien im -Format nach png zu  
> konvertieren.
> Definieren Sie einen Konverter in den Einstellungen.

I wonder about the "-Format". Did you specify the extension (.eps, .pdf,
...) in the LyX file?

In the past, leaving out the extension allowed the compilation of a
document with both, latex and pdflatex without change (if .eps and .pdf
versions of the graphic existed). Now, LyX handles the conversion
itself, so specifying the extension of the primary format is recommended.

Generally, in such cases try to provide a minimal example that shows
the problematic behaviour. This makes looking for the core of the
problem much easier.

Günter




Re: converters

2008-07-17 Thread Richard heck



On Thu, Jul 17, 2008 at 2:18 PM, Matthias E <[EMAIL PROTECTED]> wrote:

  

Hey there!

I have been using Lyx. 1.4. for over a year and never had a problem. All of
the sudden I was not able to convert into .pdf anymore. I decided to
uninstall and install 1.5 now. The same problem occurs. Whenever I try to
view the file as a .pdf, the following screen pops up:

Keine Information vorhanden, um Dateien im -Format nach png zu
konvertieren.
Definieren Sie einen Konverter in den Einstellungen.

(it's in German, I am sorry. it says: No information available to convert
data from -format to png. Define a converter in your preferences.)

which I tried but somehow I can't manage to solve the problem. Needless to
say, that I am not very fit in all this. It has just been working perfectly
all the time...

Maybe you can help me,


Does this happen even with a short test document? It sounds as if it 
wouldn't---as if you have some kind of image in your document that LyX 
doesn't know how to convert. Delete the last half of the document and 
see if that helps. If so, delete the last quarter, etc, and figure out 
what image is the problem. Then report back.


rh



Re: converters

2008-07-17 Thread Erez Yerushalmi
Did you remember to press: tools > reconfigure?


Erez



On Thu, Jul 17, 2008 at 2:18 PM, Matthias E <[EMAIL PROTECTED]> wrote:

> Hey there!
>
> I have been using Lyx. 1.4. for over a year and never had a problem. All of
> the sudden I was not able to convert into .pdf anymore. I decided to
> uninstall and install 1.5 now. The same problem occurs. Whenever I try to
> view the file as a .pdf, the following screen pops up:
>
> Keine Information vorhanden, um Dateien im -Format nach png zu
> konvertieren.
> Definieren Sie einen Konverter in den Einstellungen.
>
> (it's in German, I am sorry. it says: No information available to convert
> data from -format to png. Define a converter in your preferences.)
>
> which I tried but somehow I can't manage to solve the problem. Needless to
> say, that I am not very fit in all this. It has just been working perfectly
> all the time...
>
> Maybe you can help me,
>
> Thank you for taking any troubles,
>
> Matthias Erren
>



-- 
Erez Yerushalmi
PhD Candidate
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/2ndyear/yerushalmi


converters

2008-07-17 Thread Matthias E

Hey there!

I have been using Lyx. 1.4. for over a year and never had a problem.  
All of the sudden I was not able to convert into .pdf anymore. I  
decided to uninstall and install 1.5 now. The same problem occurs.  
Whenever I try to view the file as a .pdf, the following screen pops up:


Keine Information vorhanden, um Dateien im -Format nach png zu  
konvertieren.

Definieren Sie einen Konverter in den Einstellungen.

(it's in German, I am sorry. it says: No information available to  
convert data from -format to png. Define a converter in your  
preferences.)


which I tried but somehow I can't manage to solve the problem.  
Needless to say, that I am not very fit in all this. It has just been  
working perfectly all the time...


Maybe you can help me,

Thank you for taking any troubles,

Matthias Erren


Re: Question about preview converters

2007-06-23 Thread killermike
On Friday 22 June 2007 22:25:25 Paul A. Rubin wrote:


> If you want to define your own route for converting SVG to something LyX
> can display, you might try either defining an SVG->PPM converter rather
> than SVG->PNG, or else define SVG->PNG and also PNG->PPM.  For most
> user-definable conversions, LyX will look for a valid chain of

Thanks for the info.



-- 
http://www.unmusic.co.uk - about me, music, geek sitcom etc.
http://www.unmusic.co.uk/amhs/ - alt.music.home-studio 



Re: Question about preview converters

2007-06-22 Thread Paul A. Rubin

killermike wrote:
I am still having problems with the use of .svg files on 1.5.0beta on my new 
Linux install (scroll down to previous message if interested).


Hmm.  Not a lot of scrolling to be done here.  I think the original 
message didn't make it.


It would seem that LyX is ignoring my settings for SVG>png (the preview 
format, I presume?)


I think LyX converts images to PPM for viewing internally.

conversion and what I would like to know is: where are 
the default converter settings held? Knowing the name of this script or 
config file would be a great help.


It's not exactly default *settings* per se.  In /Resources/scripts 
there's a Python script called convertDefault.py.  That should be what 
gets invoked for a conversion if there's no user-defined conversion path.


If you want to define your own route for converting SVG to something LyX 
can display, you might try either defining an SVG->PPM converter rather 
than SVG->PNG, or else define SVG->PNG and also PNG->PPM.  For most 
user-definable conversions, LyX will look for a valid chain of 
converters from source format to target format.  I assume that also 
applies to graphics conversions for internal display, although I don't 
recall ever putting that assumption to the test.


/Paul



Question about preview converters

2007-06-21 Thread killermike
I am still having problems with the use of .svg files on 1.5.0beta on my new 
Linux install (scroll down to previous message if interested).

It would seem that LyX is ignoring my settings for SVG>png (the preview 
format, I presume?) conversion and what I would like to know is: where are 
the default converter settings held? Knowing the name of this script or 
config file would be a great help.

Thanks for any help.

-- 
http://www.unmusic.co.uk - about me, music, geek sitcom etc.
http://www.unmusic.co.uk/amhs/ - alt.music.home-studio 



Help: PNG and GIF converters not found

2007-05-10 Thread Sebastian Sergio Malara
Hi, i've a problem with Lyx converters. Yesterday everything works,  
but today something goes wrong. I use Lyx 1.4.4 on an iBook G4, with  
Mac OS X 10.4.9, and when I try to view a lyx file as PDF(PS 2 PDF) i  
obtain:


No information for converting gif format file to png.
Define a convertor in the preferences.

No information for converting pdf format files to png.
Define a convertor in the preferences.

same thing with pdflatex, but there's not error on gif, only problem  
with PNG:


No information for converting png fotmat files to eps.
Define a convertor in the preferences

I miss something? Yesterday everything works



Re: LyX 1.4.3 and converters

2006-09-27 Thread Russell Davie
On Wed, 27 Sep 2006 12:08:18 +0200
Georg Baum <[EMAIL PROTECTED]> wrote:

> Russell Davie wrote:
> 
> >> > 3) How can LyX be made to use latex2rtf to convert to rtf?
> >> 
> >> Go to tools-Preferences and add a new format rtf and a converter
> >> latex->rtf. This is described in the extended manual IIRC.
> > 
> > yes, a bit, but not as clearly as you have put it.
> > 
> >> Or put this into your
> >> ~/.lyx/preferences:
> >> 
> >> \format rtf rtf "Rich Text Format" "" "" ""
> >> \converter latex rtf "latex2rtf -o $$o $$i" ""
> >> 

Georg

 ~/lyx/preferences that work to convert to rtf:

\format "Rich Text Format" "rtf" "RTF" "R" "ooffice" "ooffice"
\converter "pdflatex" "Rich Text Format" "latex2rtf -p -S $$i" "needaux"

cheers

Russell


Re: LyX 1.4.3 and converters

2006-09-27 Thread Russell Davie
On Wed, 27 Sep 2006 12:08:18 +0200
Georg Baum <[EMAIL PROTECTED]> wrote:

> 
> Don't call latex yourself, use the needaux flag in the extra flags field.
> Unfortunately there is no real solution for the bibtex problem, but as a
> workaround you can run view->update postscript just before exporting. Then
> the bibtex files will be generated.

It took its time and I had a look at what this did.  It made eps files from the 
jpegs, while taking ~50 MB for the five jpeg images.  

> In the long term we should introduce a
> needbbl flag for the converters.
> 
> >> And I am wondering why we
> >> don't serach for latex2rtf by default.
> > 
> > so am I!
> 
> I will add it if you can confirm that the converter entry
> 
> \converter latex rtf "latex2rtf -p -S -o $$o $$i" "needaux"
> 
> works for you.


OK,  what happened was:

a perfect rtf was made!  :-)

but the output was 
(Not set):1 Only a single file can be processed at a time
(Not set):1 Error!  Type "latex2rtf -h" for help

so I changed the command to "latex2rtf -p -S $$i" with "needaux" as the 
extraflag.

restarted LyX and opened the file and just ran the conversion,  no error and a 
perfect rtf with correct bibliography!  no need to view->update postscript as 
it seems latex2rtf only needed "needaux" to make the .bbl and aux.  

So no need for the "needbbl" flag for latex4rtf, it works well with what is 
already available.

Many thanks for your help
 
cheers

Russell


Re: LyX 1.4.3 and converters

2006-09-27 Thread Georg Baum
Russell Davie wrote:

>> > 3) How can LyX be made to use latex2rtf to convert to rtf?
>> 
>> Go to tools-Preferences and add a new format rtf and a converter
>> latex->rtf. This is described in the extended manual IIRC.
> 
> yes, a bit, but not as clearly as you have put it.
> 
>> Or put this into your
>> ~/.lyx/preferences:
>> 
>> \format rtf rtf "Rich Text Format" "" "" ""
>> \converter latex rtf "latex2rtf -o $$o $$i" ""
>> 
> 
> 
> Ok this worked, well at least it generated a rtf file that looked ok, but
> lacked bibliography.
> 
> the latex2rtf output showed it was looking for files generated by latex
> and bibtex
> 
> assignment1.tex:53 No .aux file.  Run LaTeX to create assignment1.aux
> ..
> ..
> assignment1.tex:219 Cannot open 
> assignment1.tex:219 Cannot open bibliography file.  Create
> assignment1.bbl using BibTeX
> 
> It seems latex and bibtex need to be run on the .tex to get bibliography
> correct before running latex4rtf. eg: latex foo.tex; bibtex foo; latex
> foo.tex; latex foo.tex; latex2rtf foo.tex

Yes.

>> You might need to tweak the commandline flags.
> 
> do you mean "latex" and perhaps "bibtex"?

No. I mean the flags for latex2rtf. I just learned that you might want to
use latex2etf -p -S.

> Using these commands in Converter "latex $$i; bibtex $$i; latex $$i;
> latex2rtf -o  $$o $$i" fell over when bibtex couldn't find
> assignment1.tex.aux. Bibtex looks needs a input with out the .tex, so this
> is puzzling on how to do this.
> 
> suggestions please!

Don't call latex yourself, use the needaux flag in the extra flags field.
Unfortunately there is no real solution for the bibtex problem, but as a
workaround you can run view->update postscript just before exporting. Then
the bibtex files will be generated. In the long term we should introduce a
needbbl flag for the converters.

>> And I am wondering why we
>> don't serach for latex2rtf by default.
> 
> so am I!

I will add it if you can confirm that the converter entry

\converter latex rtf "latex2rtf -p -S -o $$o $$i" "needaux"

works for you.


Georg



Re: LyX 1.4.3 and converters

2006-09-27 Thread Russell Davie
On Wed, 27 Sep 2006 09:31:07 +0200
Georg Baum <[EMAIL PROTECTED]> wrote:


> 
> Find out where oolatex or oolatex.sh is installed and tell us the path.
> Obviously it is not in /usr/bin.
> 
> > 2) Also "w2l" is missed even though its in my path
> > 
> > checking for an OpenOffice.org -> LaTeX converter...
> > +checking for "w2l"...   no
> > 
> > a locate finds this here:
> > /home/rd/bin/w2l
> > /home/rd/usr/share/latex/conversion/writer2latex04/w2l
> > 
> > how can this be fixed?
> 
> Does your PATH variable contain /home/rd/bin/? If yes, it should be found.
> 


thanks, this got both of them!


> > 3) How can LyX be made to use latex2rtf to convert to rtf?
> 
> Go to tools-Preferences and add a new format rtf and a converter latex->rtf.
> This is described in the extended manual IIRC. 

yes, a bit, but not as clearly as you have put it.

> Or put this into your
> ~/.lyx/preferences:
> 
> \format rtf rtf "Rich Text Format" "" "" ""
> \converter latex rtf "latex2rtf -o $$o $$i" ""
> 


Ok this worked, well at least it generated a rtf file that looked ok, but 
lacked bibliography.

the latex2rtf output showed it was looking for files generated by latex and 
bibtex

assignment1.tex:53 No .aux file.  Run LaTeX to create assignment1.aux
..
..
assignment1.tex:219 Cannot open 
assignment1.tex:219 Cannot open bibliography file.  Create
assignment1.bbl using BibTeX

It seems latex and bibtex need to be run on the .tex to get bibliography 
correct before running latex4rtf.
eg: latex foo.tex; bibtex foo; latex foo.tex; latex foo.tex; latex2rtf foo.tex

> You might need to tweak the commandline flags. 

do you mean "latex" and perhaps "bibtex"?

Using these commands in Converter "latex $$i; bibtex $$i; latex $$i; latex2rtf 
-o  $$o $$i"
fell over when bibtex couldn't find assignment1.tex.aux. Bibtex looks needs a 
input with out the .tex, so this is puzzling on how to do this.

suggestions please!

> And I am wondering why we
> don't serach for latex2rtf by default. 

so am I!

>Please tell if some flags are
> needed, we can then add this converter to LyX.


TIA

Russell

Send instant messages to your online friends http://au.messenger.yahoo.com 



Re: LyX 1.4.3 and converters

2006-09-27 Thread Russell Davie
On Wed, 27 Sep 2006 09:31:07 +0200
Georg Baum <[EMAIL PROTECTED]> wrote:


> 
> Find out where oolatex or oolatex.sh is installed and tell us the path.
> Obviously it is not in /usr/bin.
> 
> > 2) Also "w2l" is missed even though its in my path
> > 
> > checking for an OpenOffice.org -> LaTeX converter...
> > +checking for "w2l"...   no
> > 
> > a locate finds this here:
> > /home/rd/bin/w2l
> > /home/rd/usr/share/latex/conversion/writer2latex04/w2l
> > 
> > how can this be fixed?
> 
> Does your PATH variable contain /home/rd/bin/? If yes, it should be found.
> 


thanks, this got both of them!


> > 3) How can LyX be made to use latex2rtf to convert to rtf?
> 
> Go to tools-Preferences and add a new format rtf and a converter latex->rtf.
> This is described in the extended manual IIRC. 

yes, a bit, but not as clearly as you have put it.

> Or put this into your
> ~/.lyx/preferences:
> 
> \format rtf rtf "Rich Text Format" "" "" ""
> \converter latex rtf "latex2rtf -o $$o $$i" ""
> 


Ok this worked, well at least it generated a rtf file that looked ok, but 
lacked bibliography.

the latex2rtf output showed it was looking for files generated by latex and 
bibtex

assignment1.tex:53 No .aux file.  Run LaTeX to create assignment1.aux
..
..
assignment1.tex:219 Cannot open 
assignment1.tex:219 Cannot open bibliography file.  Create
assignment1.bbl using BibTeX

It seems latex and bibtex need to be run on the .tex to get bibliography 
correct before running latex4rtf.
eg: latex foo.tex; bibtex foo; latex foo.tex; latex foo.tex; latex2rtf foo.tex

> You might need to tweak the commandline flags. 

do you mean "latex" and perhaps "bibtex"?

Using these commands in Converter "latex $$i; bibtex $$i; latex $$i; latex2rtf 
-o  $$o $$i"
fell over when bibtex couldn't find assignment1.tex.aux. Bibtex looks needs a 
input with out the .tex, so this is puzzling on how to do this.

suggestions please!

> And I am wondering why we
> don't serach for latex2rtf by default. 

so am I!

>Please tell if some flags are
> needed, we can then add this converter to LyX.


TIA

Russell



Re: LyX 1.4.3 and converters

2006-09-27 Thread Georg Baum
Russell Davie wrote:

> Hi
> 
> Just compiled LyX to suit Ubuntu/Dapper and have found some things that
> configure.py has missed
> 
> 1) It can't find oolatex although its installed as per Synaptic.
> 
> from configure:
> 
> checking for a LaTeX -> OpenOffice.org converter...
> +checking for "oolatex"...   no
> +checking for "oolatex.sh"...   no
> 
> how can this be fixed?

Find out where oolatex or oolatex.sh is installed and tell us the path.
Obviously it is not in /usr/bin.

> 2) Also "w2l" is missed even though its in my path
> 
> checking for an OpenOffice.org -> LaTeX converter...
> +checking for "w2l"...   no
> 
> a locate finds this here:
> /home/rd/bin/w2l
> /home/rd/usr/share/latex/conversion/writer2latex04/w2l
> 
> how can this be fixed?

Does your PATH variable contain /home/rd/bin/? If yes, it should be found.

> 3) How can LyX be made to use latex2rtf to convert to rtf?

Go to tools-Preferences and add a new format rtf and a converter latex->rtf.
This is described in the extended manual IIRC. Or put this into your
~/.lyx/preferences:

\format rtf rtf "Rich Text Format" "" "" ""
\converter latex rtf "latex2rtf -o $$o $$i" ""

You might need to tweak the commandline flags. And I am wondering why we
don't serach for latex2rtf by default. Please tell if some flags are
needed, we can then add this converter to LyX.


Georg



LyX 1.4.3 and converters

2006-09-26 Thread Russell Davie
Hi

Just compiled LyX to suit Ubuntu/Dapper and have found some things that 
configure.py has missed

1) It can't find oolatex although its installed as per Synaptic.

from configure:

checking for a LaTeX -> OpenOffice.org converter...
+checking for "oolatex"...   no
+checking for "oolatex.sh"...   no

how can this be fixed?


2) Also "w2l" is missed even though its in my path

checking for an OpenOffice.org -> LaTeX converter...
+checking for "w2l"...   no

a locate finds this here:
/home/rd/bin/w2l
/home/rd/usr/share/latex/conversion/writer2latex04/w2l

how can this be fixed?


3) How can LyX be made to use latex2rtf to convert to rtf?

I find the rtf export a lot more efficient and reliable to get a MS word doc 
than existing export methods eg export to MS Word(html). 

Latex2rtf embeds the graphics into the file, performs all the cross referencing 
and bibliography easily.  If using the MS Word (html) export, its a huge drama 
to fix it all to make a doc.  Whereas  with latex2rtf its a simple matter to 
convert to a doc.  

Currently to use latex2rtf I have to export to latex (pdflatex), then open a 
xterm and then run latex2rtf on the .tex.  So its still workable, though I 
can't see the reason of having a broken export (MSWord-html) when a much better 
one exists. 

TIA

Russell


Send instant messages to your online friends http://au.messenger.yahoo.com 



Re: Missing Converters in 1.4.0

2006-03-08 Thread Jean-Marc Lasgouttes
> "Rich" == Rich Shepard <[EMAIL PROTECTED]> writes:

Rich> What I would very much like is words rather than pictures in the
Rich> toolbar, 

That should not be too difficult.

Rich> and a way of putting them on a single line rather than two
Rich> half-lines.

This would be a bit more work I guess.

Rich>I'll go back to the Help->Customization and see if I can find
Rich> the answers there.

You won't.

JMarc



Re: Missing Converters in 1.4.0

2006-03-08 Thread Rich Shepard

On Wed, 8 Mar 2006, Jose' Matos wrote:


One example:
Toolbar "extra" "Extra"
   Item "Numbered list" "layout Enumerate"
 The icon is called layout_Enumerate.xpm
   Item "Set top line" "tabular-feature toggle-line-top"
 The icon is called tabular-feature_toggle-line-top.xpm


Jose',

  I wondered if that was the case, but did not go digging to see the
filenames.


 That is the syntax:
Toolbars

  ...

placement is (well) the placement and can only be bottom or top.


  OK. I'll request some flexibility here, too.

Many thanks,

Rich

--
Richard B. Shepard, Ph.D. |  Quantifying subjectivity for the
Applied Ecosystem Services, Inc.(TM)  |  benefit of business and society.
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Missing Converters in 1.4.0

2006-03-08 Thread Jose' Matos
On Wednesday 08 March 2006 23:16, Rich Shepard wrote:
> On Wed, 8 Mar 2006, Rich Shepard wrote:
> >  I'll go back to the Help->Customization and see if I can find the
> > answers there.
>
>Well, reading /usr/local/share/lyx/ui/stdtoolbars.ui (and the other
> three files) leaves me more confused than enlightened. I don't see the
> references to the lib/image/action.xpm.

One example:
Toolbar "extra" "Extra"
Item "Numbered list" "layout Enumerate"
...

  The icon is called layout_Enumerate.xpm

...
Item "Set top line" "tabular-feature toggle-line-top"
...

  The icon is called tabular-feature_toggle-line-top.xpm

  The basic rule for the icon name is to use the lyx commands where the spaces 
have been replaced by an _underscore_.

>I see that menu position can be defined as top, bottom, or side. What
> controls how many lines of toolbar are present? On my 1280x1024 17" LCD
> monitor, I have two half-line toolbars. I'd like to place them on the same
> line but haven't figured out the magic to do that.

  That is the syntax:
Toolbars
"standard" "on,top"
"extra" "on,top"
"table" "off,bottom"
"math" "off,bottom"
"minibuffer" "off,bottom"
End

Each line is of the form:
"toolbar_name" "state, placement"

The first entry is the name of the toolbar.

state has three possible values: on, off or auto. auto means that only shows 
when the functions can be used.

placement is (well) the placement and can only be bottom or top.

> Thanks,
>
> Rich

-- 
José Abílio


Re: Missing Converters in 1.4.0

2006-03-08 Thread Rich Shepard

On Wed, 8 Mar 2006, Jose' Matos wrote:


 As far as I know what you want is not possible (yet) but I agree that is a
nice touch. An entry in bugzilla would be usefull for us not forget your
request.


  Ah, OK. I'll make that entry.

Thanks,

Rich

--
Richard B. Shepard, Ph.D. |  Quantifying subjectivity for the
Applied Ecosystem Services, Inc.(TM)  |  benefit of business and society.
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Missing Converters in 1.4.0

2006-03-08 Thread Jose' Matos
On Wednesday 08 March 2006 23:02, Rich Shepard wrote:
>
> Jose',
>
>I must have missed the pertinent messages in the other thread. When I
> press the right button while the cursor is over a tool bar I get a box that
> allows me to turn on/off Standard | Extra | Table | Math | Command buffer.
> What I would very much like is words rather than pictures in the toolbar,
> and a way of putting them on a single line rather than two half-lines.

  Oops, I am sorry I misunderstood your question.

  As far as I know what you want is not possible (yet) but I agree that is a 
nice touch. An entry in bugzilla would be usefull for us not forget your 
request.

>I'll go back to the Help->Customization and see if I can find the
> answers there.
>
> Rich

-- 
José Abílio


Re: Missing Converters in 1.4.0

2006-03-08 Thread Rich Shepard

On Wed, 8 Mar 2006, Rich Shepard wrote:


 I'll go back to the Help->Customization and see if I can find the
answers there.


  Well, reading /usr/local/share/lyx/ui/stdtoolbars.ui (and the other three
files) leaves me more confused than enlightened. I don't see the references
to the lib/image/action.xpm.

  I see that menu position can be defined as top, bottom, or side. What
controls how many lines of toolbar are present? On my 1280x1024 17" LCD
monitor, I have two half-line toolbars. I'd like to place them on the same
line but haven't figured out the magic to do that.

Thanks,

Rich

--
Richard B. Shepard, Ph.D. |  Quantifying subjectivity for the
Applied Ecosystem Services, Inc.(TM)  |  benefit of business and society.
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Missing Converters in 1.4.0

2006-03-08 Thread Rich Shepard

On Wed, 8 Mar 2006, Jose' Matos wrote:


 As discussed in other thread that is true if you want permanent
configuration, for session-wide the right button over the toolbar gives you
more options.



 I hope I am answering your question. :-)


Jose',

  I must have missed the pertinent messages in the other thread. When I press
the right button while the cursor is over a tool bar I get a box that allows
me to turn on/off Standard | Extra | Table | Math | Command buffer. What I
would very much like is words rather than pictures in the toolbar, and a way
of putting them on a single line rather than two half-lines.

  I'll go back to the Help->Customization and see if I can find the
answers there.

Rich

--
Richard B. Shepard, Ph.D. |  Quantifying subjectivity for the
Applied Ecosystem Services, Inc.(TM)  |  benefit of business and society.
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Missing Converters in 1.4.0

2006-03-08 Thread Jose' Matos
On Wednesday 08 March 2006 22:19, Rich Shepard wrote:
>    Also, as an aside, are there text-only options for the menus?

  As discussed in other thread that is true if you want permanent 
configuration, for session-wide the right button over the toolbar gives you 
more options.

  I hope I am answering your question. :-)

> Thanks,
>
> Rich

-- 
José Abílio


Re: Missing Converters in 1.4.0

2006-03-08 Thread Rich Shepard

On Wed, 8 Mar 2006, Rich Shepard wrote:


 I read the NEWS and README files and cannot find what happened to all the
different view options I had up through 1.3.7. No dvi output, no pdflatex, no
long list of options. Only PDF4.



 I went looking to see how to restore what used to be there but did not find
a README file or menu option.


  OK. Got that worked out. Had to run 'reconfigure', kill the process, then
re-invoke it. They're all back now.


 Also, as an aside, are there text-only options for the menus?


  This is still an open question.

Rich

--
Richard B. Shepard, Ph.D. |  Quantifying subjectivity for the
Applied Ecosystem Services, Inc.(TM)  |  benefit of business and society.
 Voice: 503-667-4517  Fax: 503-667-8863


Missing Converters in 1.4.0

2006-03-08 Thread Rich Shepard

  I read the NEWS and README files and cannot find what happened to all the
different view options I had up through 1.3.7. No dvi output, no pdflatex, no
long list of options. Only PDF4.

  I went looking to see how to restore what used to be there but did not find
a README file or menu option.

  Also, as an aside, are there text-only options for the menus?

Thanks,

Rich

--
Richard B. Shepard, Ph.D. |  Quantifying subjectivity for the
Applied Ecosystem Services, Inc.(TM)  |  benefit of business and society.
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Does Edit Preferences Converters work for you??

2005-09-12 Thread Jose' Matos
On Monday 12 September 2005 06:59, Paul Johnson wrote:
> I can manually edit the file ~/.lyx/preferences to make the converter
> known to Lyx.  And the Sweave magic does work.

  After adding the line you need to click Modify and then Save (in the same 
dialog).

  It is not intuitive I agree. :-)

> But I can't get there with the LyX GUI

  It is possible but awkward.

-- 
José Abílio


Does Edit Preferences Converters work for you??

2005-09-11 Thread Paul Johnson

I'm running Fedora Core 4 linux with lyx 1.3.6 and the qt front end.

Today I have been re-tracing my steps to make LyX work together with R 
to process Sweave documents

(http://www.mail-archive.com/lyx-users@lists.lyx.org/msg36262.html)

I'm trying to use the menus to insert a converter from NoWeb to LaTex 
and the behavior of the GUI is completely erratic.  If I choose NoWeb 
and LaTeX from the pull downs and click the "new" button, I can t ype in 
a program's name, in this case, it is "Rweave $$i". The dialogue does 
create a line in the converter list, but it won't remember the command. 
  If I close the dialogue and re-open it, I try to fill in the missing 
command by hitting the "modify" button, and it just creates a copy of 
the original NoWeb-LaTeX converter, and it won't save anything I edit.


I can manually edit the file ~/.lyx/preferences to make the converter 
known to Lyx.  And the Sweave magic does work.


But I can't get there with the LyX GUI

--
Paul E. Johnson   email: [EMAIL PROTECTED]
Dept. of Political Sciencehttp://lark.cc.ku.edu/~pauljohn
1541 Lilac Lane, Rm 504
University of Kansas  Office: (785) 864-9086
Lawrence, Kansas 66044-3177   FAX: (785) 864-5700


Re: getting/installing some packages and converters

2004-11-08 Thread Jean-Marc Lasgouttes
> "Frederic" == Frederic F Leymarie <[EMAIL PROTECTED]> writes:

Frederic> On Mon, November 8, 2004 15:47, Jean-Marc Lasgouttes said:

Frederic> I found a source of the problem: I do not have float:table
Frederic> available. It seems all my float set-up is screwed up. (the
Frederic> lyx file I am using used to work fine on another
Frederic> computer/set-up). When I go in the INSERT pull-down menu,
Frederic> under FLOATS I only have one choice: Floatflt Figure
Frederic> Shouldn't I have regular Float Figure as well as Float Table
Frederic> and maybe Floatflt Table
>>  What files do you have in ~/.lyx/layouts/ ?
>> 
>> JMarc

Frederic> It is my old set-up: many files; here is the listing:

So basically, you just copied everything from some old LyX tree,
right? Presumably some of these files need to be updated according to
what is described in the UPGRADING file. Here is the relevant part:

   If you have your own layout files, you may need to update them a little:

   - floats are now defined in the layout file, using the "Float"..."End"
 construct. In most cases, adding "Input stdfloats.inc" to your layout
 file is enough.

   - counters are also defined in the layout files, using the
 "Counter"..."End" construct. As for floats, adding "Input
 stdfloats.inc" is probably a good idea.

   And of course, if you upgrade from LyX 1.1.x, remember that since
   1.2.0, you have to do the following changes:

   - all layout files should have a "DefaultStyle" entry

   - the "Latex" font style does not exist anymore. If you really need
 its functionality, consider using the "PassThru" keyword instead.

So basically, you should add
  Input stdfloats.inc
  Input stdcounters.inc
to stdclass.inc. However, I suggest that you analyse what change you
did to those files and revert when possible to the newer versions.

JMarc


Re: getting/installing some packages and converters

2004-11-08 Thread Frederic F. Leymarie

On Mon, November 8, 2004 15:47, Jean-Marc Lasgouttes said:

> Frederic> I found a source of the problem: I do not have float:table
> Frederic> available.
> Frederic> It seems all my float set-up is screwed up. (the lyx file I
> Frederic> am using used to work fine on another computer/set-up).
> Frederic> When I go in the INSERT pull-down menu, under FLOATS I only
> Frederic> have one choice: Floatflt Figure
> Frederic> Shouldn't I have regular Float Figure as well as Float Table
> Frederic> and maybe Floatflt Table
>
> What files do you have in ~/.lyx/layouts/ ?
>
> JMarc

It is my old set-up: many files; here is the listing:

[EMAIL PROTECTED]:~/.lyx/layouts$ ls
aapaper.inc  g-brief-de.layoutrevtex.layout
aapaper.layout   g-brief-en.layoutscrartcl.layout
aastex.layoutheb-article.layout   scrbook.layout
algorithm.incheb-letter.layoutscrclass.inc
amsart.layouthollywood.layout scrlettr.layout
amsart-plain.layout  IEEEtran.layout  scrmacros.inc
amsart-seq.layoutiletter.layout   scrreprt.layout
amsbook.layout   latex8.layoutseminar.layout
amsdefs.inc  letter.layoutslides.layout
amsmaths.inc linuxdoc.layout  stdclass.inc
amsmaths-plain.inc   literate-article.layout  stdlayouts.inc
amsmaths-seq.inc literate-book.layout stdletter.inc
apa.layout   literate-report.layout   stdlists.inc
article-algo.layout  literate-scrap.inc   stdsections.inc
article.layout   llncs.layout stdstarsections.inc
book.layout  lyxmacros.incstdstruct.inc
broadway.layout  manpage.layout   stdtitle.inc
dinbrief.layout  obsolete.inc svjog.layout
docbook.layout   packages svjour.inc
egs.layout   paper.layout thesis.layout
ejour2.layoutreport.layout
foils.layout revtex4.layout

-




Re: getting/installing some packages and converters

2004-11-08 Thread Jean-Marc Lasgouttes
> "Frederic" == Frederic F Leymarie <[EMAIL PROTECTED]> writes:

Frederic> I found a source of the problem: I do not have float:table
Frederic> available.

Frederic> It seems all my float set-up is screwed up. (the lyx file I
Frederic> am using used to work fine on another computer/set-up).

Frederic> When I go in the INSERT pull-down menu, under FLOATS I only
Frederic> have one choice: Floatflt Figure


Frederic> Shouldn't I have regular Float Figure as well as Float Table
Frederic> and maybe Floatflt Table

What files do you have in ~/.lyx/layouts/ ?

JMarc


Re: getting/installing some packages and converters

2004-11-08 Thread Frederic F. Leymarie
I found a source of the problem:

I do not have float:table
available.

It seems all my float set-up is screwed up.
(the lyx file I am using used to work fine
on another computer/set-up).

When I go in the INSERT pull-down menu,
under FLOATS
I only have one choice:
Floatflt Figure


Shouldn't I have regular Float Figure
as well as Float Table
and maybe Floatflt Table


How to fix the above?

Frederic





Re: getting/installing some packages and converters

2004-11-08 Thread Juergen Spitzmueller
Also sprach Frederic F. Leymarie:
> > Do you have this also (in the layouts directory?)
>
> here it follows (I am including algolyx.sty after that, as it
> is called in the algorithm.inc file)

Hm, I downloaded the whole package from http://bgu.chez.tiscali.fr/, and the 
example file (algo.lyx) works here without problems. Can you please send me 
(privately) your file that causes errors?

Jürgen


Re: getting/installing some packages and converters

2004-11-08 Thread Frederic F. Leymarie

On Mon, November 8, 2004 14:04, Juergen Spitzmueller said:
> Also sprach Frederic F. Leymarie:
>> # Input lyx algorithm definitions
>> Input algorithm.inc
>
> Do you have this also (in the layouts directory?)

here it follows (I am including algolyx.sty after that, as it
is called in the algorithm.inc file)

-

> more algorithm.inc
# Algorithm textclass definition file. Taken from initial LyX source code
# Author:  BG <[EMAIL PROTECTED]>
# Version: 0.3

# This file contains a text style related to the algorithm and algorithmic
# packages, in order to write some algorithms through lyx.

Style Algorithm
#  Margin   First_Dynamic
  LatexType Item_Environment
  LatexName algor
  NextNoIndent  1
  LeftMarginMM
  LabelSep  xxx
  ItemSep   0
  TopSep0.5
  BottomSep 0.5
  ParSep0
  Align Block
  AlignPossible Block, Left
  LabelType Manual
  LabelString   MM
  FreeSpacing   0

  Font
Sizetiny
  EndFont

  # label font definition
  LabelFont
Series  Bold
  EndFont

  Preamble
\usepackage{algolyx}
  EndPreamble
End

Style Algorithm_(num)
  CopyStyle Algorithm
  LatexParam[1]

End

---

> more algolyx.sty
%% Version: 0.3

\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{algolyx}[2000/11/11 Algorithm support for LyX]
% \DeclareOption{noend}{ \usepackage[noend]{algorithmic} }

%% Needed packages
%% The algorithmic package is included later...
\RequirePackage{algorithm}

%% Default screen keywords definition
\newcommand{\keyif}{if}
\newcommand{\keyelseif}{elseif}
\newcommand{\keyelse}{else}
\newcommand{\keyendif}{endif}
\newcommand{\keyfor}{for}
\newcommand{\keyforall}{forall}
\newcommand{\keywhile}{while}
\newcommand{\keyrepeat}{repeat}
\newcommand{\keyuntil}{until}
\newcommand{\keyendfor}{endfor}
\newcommand{\keyendwhile}{endwhile}
\newcommand{\keyloop}{loop}
\newcommand{\keyendloop}{endloop}
\newcommand{\keyrequire}{Require:}
\newcommand{\keyensure}{Ensure:}

%% Lang keywords definition
[EMAIL PROTECTED]
  \renewcommand{\keyif}{si}
  \renewcommand{\keyelseif}{sinonsi}
  \renewcommand{\keyelse}{sinon}
  \renewcommand{\keyendif}{finsi}
  \renewcommand{\keyfor}{pour}
  \renewcommand{\keyforall}{pourtout}
  \renewcommand{\keywhile}{tantque}
  \renewcommand{\keyrepeat}{répéter}
  \renewcommand{\keyuntil}{jusqu'à}
  \renewcommand{\keyendfor}{finpour}
  \renewcommand{\keyendwhile}{fintantque}
  \renewcommand{\keyloop}{boucle}
  \renewcommand{\keyendloop}{finboucle}
  \renewcommand{\keyrequire}{Contexte}
  \renewcommand{\keyensure}{Vérifier}

  \renewcommand{\algorithmicrequire}{\textbf{Contexte :}}
  \renewcommand{\algorithmicensure}{\textbf{Vérifier :}}
  % \newcommand{\algorithmiccomment}[1]{\{#1\}}
  \renewcommand{\algorithmicend}{\textbf{fin}}
  \renewcommand{\algorithmicif}{\textbf{si}}
  \renewcommand{\algorithmicthen}{\textbf{alors}}
  \renewcommand{\algorithmicelse}{\textbf{sinon}}
  \renewcommand{\algorithmicfor}{\textbf{pour}}
  \renewcommand{\algorithmicforall}{\textbf{pour tout}}
  \renewcommand{\algorithmicdo}{\textbf{faire}}
  \renewcommand{\algorithmicwhile}{\textbf{tant que}}
  \renewcommand{\algorithmicloop}{\textbf{boucle}}
  \renewcommand{\algorithmicrepeat}{\textbf{répéter}}
  \renewcommand{\algorithmicuntil}{\textbf{jusqu'à}}

  \renewcommand{\listalgorithmname}{Liste des algorithmes}
  \floatname{algorithm}{Algorithme}
}
[EMAIL PROTECTED]
}

%% Lang setting command
[EMAIL PROTECTED]
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]
  }}
}
%% Commands with comments
[EMAIL PROTECTED]
  \ifthenelse{\equal{#1}{\keyif}}{\IF[#3]{#2}}{%
  \ifthenelse{\equal{#1}{\keyelseif}}{\ELSIF[#3]{#2}}{%
  \ifthenelse{\equal{#1}{\keyfor}}{\FOR[#3]{#2}}{%
  \ifthenelse{\equal{#1}{\keyforall}}{\FORALL[#3]{#2}}{%
  \ifthenelse{\equal{#1}{\keywhile}}{\WHILE[#3]{#2}}{%
  \ifthenelse{\equal{#1}{\keyuntil}}{\UNTIL{#2}\COMMENT{#3}}{%
  \ifthenelse{\equal{#1}{\keyelse}}{\ELSE[#3]}{%
  \ifthenelse{\equal{#1}{\keyendif}}{\ENDIF\ \COMMENT{#3}}{%
  \ifthenelse{\equal{#1}{\keyendfor}}{\ENDFOR\ \COMMENT{#3}}{%
  \ifthenelse{\equal{#1}{\keyendwhile}}{\ENDWHILE\ \COMMENT{#3}}{%
  \ifthenelse{\equal{#1}{\keyrepeat}}{\REPEAT[#3]}{%
  \ifthenelse{\equal{#1}{\keyloop}}{\LOOP[#3]}{%
  \ifthenelse{\equal{#1}{\keyendloop}}{\ENDLOOP\ \COMMENT{#3}}{%
  \ifthenelse{\equal{#1}{\keyrequire}}{\REQUIRE #2}{%
  \ifthenelse{\equal{#1}{\keyensure}}{\ENSURE #2}{%
  \STATE #2 \COMMENT{#3
}

%% Commands without comments
[EMAIL PROTECTED]
  \ifthenelse{\equal{#1}{\keyif}}{\IF{#2}}{%
  \ifthenelse{\equal{#1}{\keyelseif}}{\ELSIF{#2}}{%
  \ifthenelse{\equal{#1}{\keyfor}}{\FOR{#2}}{%
  \ifthenelse{\equal{#1}{\keyforall}}{\FORALL{#2}}{%
  \ifthenelse{\equal{#1}{\keywhile}}{\WHILE{#2}}{%
  \ifthenelse{\equal{#1}{\keyuntil}}{\UNTIL{#2}}{%
  \ifthenelse{\equal{#1}{\keyelse}}{\ELSE}{%
  \ifthenelse{\equal

Re: getting/installing some packages and converters

2004-11-08 Thread Juergen Spitzmueller
Also sprach Frederic F. Leymarie:
> #  \DeclareLaTeXClass[article,algolyx.sty]{Article (algo)}

BTW this seems plain wrong. Perhaps you can try the files here:
http://www.mail-archive.com/lyx-users%40lists.lyx.org/msg06892/algodir.tar.gz

Jürgen


Re: getting/installing some packages and converters

2004-11-08 Thread Juergen Spitzmueller
Also sprach Frederic F. Leymarie:
> # Input lyx algorithm definitions
> Input algorithm.inc

Do you have this also (in the layouts directory?)

Jürgen


Re: getting/installing some packages and converters

2004-11-08 Thread Frederic F. Leymarie

On Mon, November 8, 2004 13:56, Juergen Spitzmueller said:
> Also sprach Frederic F. Leymarie:
>> I retrieved and installed this; but it did not fix the problem.
>
> Do you have the following in your layout file:
> input stdclass.inc at the top of the file?


yes (sorry; I forgot to include the layout file in my previous reply).


> This might cure all problems. If not, send the layout file.

OK;
here it follows:

> more article-algo.layout

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[article,algolyx.sty]{Article (algo)}
# Report textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich <[EMAIL PROTECTED]>
# Transposed by Pascal André <[EMAIL PROTECTED]>
# Heavily modifed and enhanced by serveral developers.

# Input general definitions
Input stdclass.inc

# Input lyx algorithm definitions
Input algorithm.inc


# There are no chapters in an article.
NoStyle Chapter
NoStyle Chapter*

MaxCounter  Counter_Section
SecNumDepth 3
TocDepth3


# Change a bit Part and Part*
Style Part
  Align Left
  AlignPossible Left
  TopSep2
  BottomSep 1.5

  Font
SizeLarger
  EndFont
End

Style Part*
  Align Left
  AlignPossible Left
  TopSep2
  BottomSep 1.5

  Font
SizeLarger
  EndFont
End






Re: getting/installing some packages and converters

2004-11-08 Thread Jean-Pierre Chretien

>>Date: Mon, 8 Nov 2004 13:46:42 - (GMT)
>>Subject: Re: getting/installing some packages and converters
>>From: "Frederic F. Leymarie" <[EMAIL PROTECTED]>
>>To: "Juergen Spitzmueller" <[EMAIL PROTECTED]>
>>Cc: "User LyX" <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
[...]
>>
>>JP Chretien says (in a follow-up reply):
>>
>>> This may come from an old layout,
>>
>>That might be the case.
>>There is a layout (with this package) called
>>article-algo.layout
>>which is listed below (not very long).

I guess yuou forgot it.

>>
>>However, when using just the begining of
>>my original file, with title, authors, abstract
>>and begining of Intro. + biblio.
>>I do not get any errors (and the above lines
>>do not appear in the preamble...)
>>
>>So some other call later in the lyx file
>>males lyx/latex generate these lines
>>in the preamble (of the latex file;
>>these are not in my own lyx preamble).
>>I will try to track it down.

Check the layout itself, I guess it may activate preamble loading in any place,
and possibly when a style is selected (I'm not sure about this one).

>>
>>
>>NB: I noticed there are three other packages for
>>writing code in the CTAN macros/latex/contrib/
>>algorithm2e , algorithmicx , algorithms
>>while algo-0.3 is not listed...
>>
>>Can someone give feedback on these 3 other packages?
>>anyone is superior?

If your need is to pretty-print code in C, C++, Python, etc, 
I find lgrind quite good. It works as a standalone writer
as well as a source for file input.
If your need is describing formal algorithms, I guess you need one of the 
mentioned packages.
I've no expereince on these.

-- 
Jean-Pierre



Re: getting/installing some packages and converters

2004-11-08 Thread Juergen Spitzmueller
Also sprach Frederic F. Leymarie:
> I retrieved and installed this; but it did not fix the problem.

Do you have the following in your layout file:
input stdclass.inc
at the top of the file?

This might cure all problems. If not, send the layout file.

Jürgen


Re: getting/installing some packages and converters

2004-11-08 Thread Frederic F. Leymarie

On Mon, November 8, 2004 13:04, Juergen Spitzmueller said:
> Also sprach Frederic F. Leymarie:
>> But, where to find the "latex8" package?
>> e.g., it does not show under http://www.dante.de/cgi-bin/ctan-index
> first google hit: http://icdm04.cs.uni-dortmund.de/latex8.sty
> (but you won't need it, unless you want to publish with this class)

OK; thanks.


>> Although now lyx (v. 1.3.4) does reconfigure and find
>> floatflt and prettyref (I'm using tetex) it still gives me errors I do
>> not understand:
>> lyx automatically creates in the preamble the following (from the
>> produced tex file):
>> %% Because html converters don't know tabularnewline
>> \providecommand{\tabularnewline}{\\}
>> \floatstyle{}
>> \newfloat{}{}{}
>> \floatname{}{}
>> \floatstyle{}
>> \newfloat{}{}{}
>> \floatname{}{}
>
> Probably float.sty missing
> http://www.ctan.org/tex-archive/macros/latex/contrib/float/


I retrieved and installed this; but it did not fix the problem.


>> The above 6 last lines systematically create 6 errors.
>>
>> Also, each time I open my lyx file
>> I get a long series of warnings (in the command window):
>> step: Counter does not exist: section
>> Counter does not exist.

> What document class is this?

the article class modified to use the algorithm package
algo-0.3
by [EMAIL PROTECTED]

JP Chretien says (in a follow-up reply):

> This may come from an old layout,

That might be the case.
There is a layout (with this package) called
article-algo.layout
which is listed below (not very long).

However, when using just the begining of
my original file, with title, authors, abstract
and begining of Intro. + biblio.
I do not get any errors (and the above lines
do not appear in the preamble...)

So some other call later in the lyx file
males lyx/latex generate these lines
in the preamble (of the latex file;
these are not in my own lyx preamble).
I will try to track it down.


NB: I noticed there are three other packages for
writing code in the CTAN macros/latex/contrib/
algorithm2e , algorithmicx , algorithms
while algo-0.3 is not listed...

Can someone give feedback on these 3 other packages?
anyone is superior?


Frederic
---




Re: getting/installing some packages and converters

2004-11-08 Thread Jean-Pierre Chretien

>>Date: Mon, 8 Nov 2004 12:47:08 - (GMT)
>>Subject: Re: getting/installing some packages and converters
>>From: "Frederic F. Leymarie" <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED]
>>Cc: [EMAIL PROTECTED], "Jean-Pierre Chretien" <[EMAIL PROTECTED]>
>>
>>Hi,
>>
>>thanks for the help.
>>
>>
>>On Mon, November 8, 2004 8:13, Jean-Pierre Chretien said:
>>
>>>>> I am missing a few important things:
>>>>> packages: floatflt, latex8, prettyref
>>
>>> You my install TeXlive instead of teTeX (but I'm surprised that
>>> floatflt and prettyref are missing on your latex distrib). Mybe upgrade to
>>> testing if you're on stable ?
>>
>>
>>I was able to retrieve/install floatflt and prettyref.
>>
>>But, where to find the "latex8" package?

No idea right now, there is no latex8 package in the last TeXLive bundle.

>>lyx automatically creates in the preamble the following
>>(from the produced tex file):
>>
>> %% Because html converters don't know tabularnewline
>> \providecommand{\tabularnewline}{\\}
>> \floatstyle{}
>> \newfloat{}{}{}
>> \floatname{}{}
>> \floatstyle{}
>> \newfloat{}{}{}
>> \floatname{}{}
>>
>>The above 6 last lines systematically create 6 errors.

Never seen these when exporting to tex.
maybe you could rename youur ~/.lyx dir and reconfigure ?
Looks like an old default preamble stuff, or default template.
Check the preamble.

>>Also, each time I open my lyx file
>>I get a long series of warnings (in the command window):
>>
>> step: Counter does not exist: section
>> Counter does not exist.

This may come from an old layout, see above.
What about testing the distrib examples or templates ?
When you select "New" you load the layout of the default document AFAIR.

Last suggestion: incorrect permissions on the ../share/lyx/lyx2lyx/lyx2lyx
script (or the scripts in ../share/lyx/scripts), but this should produce errors
in the command window.

-- 
Jean-Pierre




Re: getting/installing some packages and converters

2004-11-08 Thread Juergen Spitzmueller
Also sprach Frederic F. Leymarie:
> But, where to find the "latex8" package?
> e.g., it does not show under
> http://www.dante.de/cgi-bin/ctan-index

first google hit:
http://icdm04.cs.uni-dortmund.de/latex8.sty
(but you won't need it, unless you want to publish with this class)

> Although now lyx (v. 1.3.4) does reconfigure and find
> floatflt and prettyref (I'm using tetex)
> it still gives me errors I do not understand:
>
> lyx automatically creates in the preamble the following
> (from the produced tex file):
>
>  %% Because html converters don't know tabularnewline
>  \providecommand{\tabularnewline}{\\}
>  \floatstyle{}
>  \newfloat{}{}{}
>  \floatname{}{}
>  \floatstyle{}
>  \newfloat{}{}{}
>  \floatname{}{}

Probably float.sty missing
http://www.ctan.org/tex-archive/macros/latex/contrib/float/

> The above 6 last lines systematically create 6 errors.
>
> Also, each time I open my lyx file
> I get a long series of warnings (in the command window):
>
>  step: Counter does not exist: section
>  Counter does not exist.

What document class is this?

Jürgen


Re: getting/installing some packages and converters

2004-11-08 Thread Frederic F. Leymarie
Hi,

thanks for the help.


On Mon, November 8, 2004 8:13, Jean-Pierre Chretien said:

>>> I am missing a few important things:
>>> packages: floatflt, latex8, prettyref

> You my install TeXlive instead of teTeX (but I'm surprised that
> floatflt and prettyref are missing on your latex distrib). Mybe upgrade to
> testing if you're on stable ?


I was able to retrieve/install floatflt and prettyref.

But, where to find the "latex8" package?
e.g., it does not show under
http://www.dante.de/cgi-bin/ctan-index


Although now lyx (v. 1.3.4) does reconfigure and find
floatflt and prettyref (I'm using tetex)
it still gives me errors I do not understand:

lyx automatically creates in the preamble the following
(from the produced tex file):

 %% Because html converters don't know tabularnewline
 \providecommand{\tabularnewline}{\\}
 \floatstyle{}
 \newfloat{}{}{}
 \floatname{}{}
 \floatstyle{}
 \newfloat{}{}{}
 \floatname{}{}

The above 6 last lines systematically create 6 errors.

Also, each time I open my lyx file
I get a long series of warnings (in the command window):

 step: Counter does not exist: section
 Counter does not exist.


Any ideas on what is the two sets of problems indicate?

Frederic




Re: getting/installing some packages and converters

2004-11-08 Thread Juergen Spitzmueller
Frederic F. Leymarie wrote:
> How to retrieve/install these ?
> (esp. the packages; I cannot run properly my lyx files)

Get them from www.ctan.org and install as described here:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages

Jürgen


Re: getting/installing some packages and converters

2004-11-07 Thread Jean-Pierre Chretien

>>Old-Delivered-To: [EMAIL PROTECTED]
>>Date: Sun, 7 Nov 2004 16:44:48 - (GMT)
>>Subject: getting/installing some packages and converters
>>From: "Frederic F. Leymarie" <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED]
>>X-TMDA-Confirm-Done: 1099845830.17414.1aa718
>>X-TMDA-Confirmed: Sun Nov 7 10:45:36 CST 2004
>>
>>Hi
>>
>>
>>I installed (a first for me) lyx/latex
>>on a linux/debian machine.
>>
>>I am missing a few important things:
>>
>>packages: floatflt, latex8, prettyref

You my install TeXlive instead of teTeX (but I'm surprised that
floatflt and prettyref are missing on your latex distrib).
Mybe upgrade to testing if you're on stable ?

>>
>>and a few less important ones:
>>converters: fig2dev, tgif, gracebat

Check if apt-get can retrieve these (same suggestion about upgrading).

-- 
Jean-Pierre




getting/installing some packages and converters

2004-11-07 Thread Frederic F. Leymarie
Hi


I installed (a first for me) lyx/latex
on a linux/debian machine.

I am missing a few important things:

packages: floatflt, latex8, prettyref

and a few less important ones:
converters: fig2dev, tgif, gracebat


How to retrieve/install these ?
(esp. the packages; I cannot run properly my lyx files)

Please reply/copy to my direct email addres:
[EMAIL PROTECTED]

Cheers,
Frederic




Re: New Converters in the Preferences dialogue?

2004-10-13 Thread Angus Leeming
Stefano Franchi wrote:

> Does anyone know if  there is a way to add an item to the drop-down
> list of formats that your are presented with when trying to add a new
> converter in the Preference dialogue? Now that I've finally found out
> how to go from LyX (LaTex) to Open office, I'd like to insert the
> converter in the list, but OpenOffice is not listed among the possible
> format options.

First you should define an Open Office format ("File formats" pane in the
Preferences dialog):

Format: sxw
GUI name:   Open Office zipped doc
Shortcut:
Extension:  sxw
Viewer:

Don't forget to press 'Modify' which adds the format definition to the
local (dialog) list before pressing 'Apply' or 'Save' to either make this
format available to the rest of this LyX session or to also save it to
your .lyx/preferences file.

-- 
Angus



New Converters in the Preferences dialogue?

2004-10-13 Thread Stefano Franchi
Does anyone know if  there is a way to add an item to the drop-down 
list of formats that your are presented with when trying to add a new 
converter in the Preference dialogue? Now that I've finally found out 
how to go from LyX (LaTex) to Open office, I'd like to insert the 
converter in the list, but OpenOffice is not listed among the possible 
format options.

Cheers,
Stefano
__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 


Re: problems with layout files and converters - lyx for windows

2004-03-26 Thread Paul Smith
the first problem i've had with this port is that i can't create pdfs
 using pdflatex. i get "bad command or file name" even though  the
tex bin/ folder is in the path. 
Now, I use Linux, but, before, I worked with Ruurd's LyX  version for 
win32 and I can tell you that I could run pdflatex with no problem. Do 
you have MikTeX installed? pdflatex should be in MikTeX distribution.

Paul





RE: problems with layout files and converters - lyx for windows

2004-03-25 Thread Rob S

> is this a good port to be using?

AFAIK - Sure is!  Use Lyx 1.3.3 though.

> the first problem i've had with this port is that i can't create pdfs
> using pdflatex. i get "bad command or file name" even though  the tex
> bin/ folder is in the path. other converters like the  dvi one work
for
> example.
> 

Try using dvipdfm  for creating your Pdf files

For a few hints and tips have a look at my page: The notes are for Win
XP set up but may be of use for win98 - if so let me know ;-)

http://www.soton.ac.uk/~rds2/WinLyxsetupnotes.htm


It might be that you can solve all your problems by installing a newer
version of Sed as per the notes on this page.


>when i try edit->reconfigure from lyx, nothing seems  to happen. 

Installing new sed.exe or the edit to the configure.bat (under "Other
minor fixes") might sort this.

If not try running configure from a command window i.e.
Cd to where configure.bat resides and see if it runs ok from there.

Rob S



problems with layout files and converters - lyx for windows

2004-03-25 Thread navaja
i'm installing lyx on a windows 98 pc. i used the port at 
http://www.home.zonnet.nl/rareitsma/lyx/. apparently this is more up to 
date than claus' one. it doesent require you to install x as well which 
is a bonus. is this a good port to be using?

the first problem i've had with this port is that i can't create pdfs 
using pdflatex. i get "bad command or file name" even though  the tex 
bin/ folder is in the path. other converters like the  dvi one work for 
example.

second thing is that i cant get lyx to find the class files. i had this 
problem on linux, and was told to rebuild the db. this solved the 
problem. cant seem to do the same on widows tho. i tried using mixtex 
update stuff and some other executables in the lyx directory but none of 
them work. when i try edit->reconfigure from lyx, nothing seems  to happen.


Re: Checking for converters

2004-02-24 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> Stephen Lawrence wrote:
>> I noticed when I install the RPM version of lyx that it runs
>> through a "configure" type check to see what binaries are installed
>> on the machine (html2latexm , etc.). Is there a way I can have it
>> re-run that script after the rpm is installed in order to see what
>> other stuff I need to install and to re-configure lyx to use those
>> new utilites?

Angus> Use "Edit->Reconfigure" on the menu bar.

Angus> Alternatively, from the command line type:

Angus> $ ${PREFIX}/share/lyx/configure

Angus> (You'll find your lyx executable at ${PREFIX}/bin/lyx)

Angus> In amongst the noise you'll find:

Angus> creating textclass.lst creating packages.lst creating
Angus> doc/LaTeXConfig.lyx creating lyxrc.defaults

Angus> Find 'em in your ${HOME}/.lyx directory.

No, you'll find them in the directory from which you ran configure.
This means that

- if you want to change system-wide defaults, do (as root)
  cd ${PREFIX}/share/lyx/ ; ./configure

- if you want to change user-local defaults, do
  cd ${HOME}/.lyx ; ${PREFIX}/share/lyx/configure

(where PREFIX is not a real variable, but rather something like
/usr/local).

JMarc


Re: Checking for converters

2004-02-23 Thread Angus Leeming
Stephen Lawrence wrote:

> I noticed when I install the RPM version of lyx that it runs through
> a "configure" type check to see what binaries are installed on the
> machine (html2latexm , etc.). Is there a way I can have it re-run
> that script after the rpm is installed in order to see what other
> stuff I need to install and to re-configure lyx to use those new
> utilites?

Use "Edit->Reconfigure" on the menu bar.

Alternatively, from the command line type:

$ ${PREFIX}/share/lyx/configure

(You'll find your lyx executable at ${PREFIX}/bin/lyx)

In amongst the noise you'll find:

creating textclass.lst
creating packages.lst
creating doc/LaTeXConfig.lyx
creating lyxrc.defaults

Find 'em in your ${HOME}/.lyx directory.

-- 
Angus



Checking for converters

2004-02-23 Thread Stephen Lawrence
I noticed when I install the RPM version of lyx that it runs through a 
"configure" type check to see what binaries are installed on the machine 
(html2latexm , etc.). Is there a way I can have it re-run that script 
after the rpm is installed in order to see what other stuff I need to 
install and to re-configure lyx to use those new utilites?

--
Stephen Lawrence Jr. - Programmer II
California Animal Health & Food Safety Laboratory System, UC Davis 
(530)-752-4614




Re: Converters

1999-06-27 Thread Paolo Di Francesco

>Thank to everyone. I found that page about converters. ;)


Ciao Ciao
   Paolo Di Francesco
   _
 ->B<-   All Recycled Bytes Message ...
   ~



Converters

1999-06-25 Thread Paolo Di Francesco

Hi,

I would convert my old docs from Wordperfect and/or QXPress to Lyx. 

Any converter?

Suggestions?




Ciao Ciao
   Paolo Di Francesco
   _
 ->B<-   All Recycled Bytes Message ...
   ~