Re: Reference in TOC as upper-case
On Jan 3, 2016 4:26 AM, "David Rörich" <david.roer...@gmail.com> wrote: > > > > 2016-01-02 22:12 GMT+01:00 Rajil Saraswat <raji...@gmail.com>: >> >> Hi, >> >> I am using the article class. I want the 'References' in the table of >> contents to come out as upper case like 'REFERENCES'. How can i do >> that? >> >> Thanks, >> Rajil > > > > Hi, > > what document class do you use? > > David I am using the article class.
Reference in TOC as upper-case
Hi, I am using the article class. I want the 'References' in the table of contents to come out as upper case like 'REFERENCES'. How can i do that? Thanks, Rajil
Re: rsvg-convert, incorrect alignment
On 5 December 2015 at 22:51, Marcus Glöderwrote: > Hello Rajil, > > under > > Tools --> Settings --> File Handling --> Converter --> SVG->PDF (graphic) > --> Converter > > in my LyX is written the following line: > > Inkscape --file = $$ i --export-area-drawing -without-gui --export-pdf = $$ > o > > > Best regards > Marcus > > -- > PMs to: m.gloe...@gmx.de Right, thats what I have setup now. However, i have found Inkscape conversion is slow compared to rsvg-convert.
rsvg-convert, incorrect alignment
Hello, I tried to align the text in Inkscape and created an svg file (files attached). Unfortunately, rsvg-convert seems to mess up the converted pdf. I guess this is a bug in rsvg-convert. Anybody else seen this before? Thanks, Rajil image.pdf Description: Adobe PDF document
Re: rsvg-convert, incorrect alignment
On 5 December 2015 at 16:50, Marcus Glöderwrote: > Hello Rajil, > > I have loaded your SVG file in Inkscape and then saved as a PDF file > (unchanged). The result you see here: > > https://onedrive.live.com/redir?resid=DA2B9003045FA614!2812=!AJ8PPKYTDH1337Q=file%2cpdf > > Where is the problem? > > Best regards > Marcus > > -- > PMs to: m.gloe...@gmx.de If you use rsvg-convert to convert the file like 'rsvg-convert -f pdf -o image.pdf image.svg', you will find that the resulting pdf has the text aligned incorrectly. However Inkscape does it correctly as you found out. The default converter for svg in lyx in rsvg-convert, hence the issue.
Re: Render inkscape text with latex
On Dec 2, 2015 1:55 PM, "David" <roer...@inue.uni-stuttgart.de> wrote: > > Am 02.12.2015 um 20:30 schrieb Daniel CLEMENT: > > Le mardi 01 décembre 2015 à 13:27 -0600, Rajil Saraswat a écrit : > >> Hello, > >> > >> I want the text used in svg images to be rendered using latex. > >> Inkscape provides instructions at > >> http://wiki.inkscape.org/wiki/index.php/LaTeX on how to do this with > >> Lyx. However this uses ERT and one loses the capability of seeing > >> previews within Lyx. > >> > >> Is it possible to modify the SVG convertor with lyx to automatically > >> carry out the steps given on the inkscape wiki mentioned above? > >> > >> Thanks > > Hi, > > > > The solution described in the wiki is very elaborate, but have you > > noticed the tiny link to the "textext" extension for Inkscape? > > > > I find it very helpful for writing TeX formulas into Inkscape. In > > particular, you can use whatever preamble file you want within textext, > > e.g. to specify a given font. Real easy to use. You might want to give > > it a try. > > I also like to use Textext for my Inkscape figures. One should mention, > however, that the Latex rendered with Textext looks a tiny bit thicker > in the PDF output than "normal" pdflatex rendered Latex. > Thanks for these inputs. I have found that the 0.91 version of Inkscape cuts off the data in the pdf and produces a multi page pdf from a single page when exporting using PDF+Latex. This bug isn't present in 0.48 release of Inkscape.
Render inkscape text with latex
Hello, I want the text used in svg images to be rendered using latex. Inkscape provides instructions at http://wiki.inkscape.org/wiki/index.php/LaTeX on how to do this with Lyx. However this uses ERT and one loses the capability of seeing previews within Lyx. Is it possible to modify the SVG convertor with lyx to automatically carry out the steps given on the inkscape wiki mentioned above? Thanks
DVI Luatex with Yap error
Hello, I am using Verdana font in a document which renders fine with PDF (LuaTex). However, it doesnt work as a DVI (LuaTex). Yap gives an error and font properties show Verdana:mode=node:script=latn:language=DFLT;+tlig.. Not loadable Anybody know how to get best this? This is on a Windows 7 system running Lyx 2.1.2 and Miktex 2.9 Thanks, Rajil
DVI Luatex with Yap error
Hello, I am using Verdana font in a document which renders fine with PDF (LuaTex). However, it doesnt work as a DVI (LuaTex). Yap gives an error and font properties show Verdana:mode=node:script=latn:language=DFLT;+tlig.. Not loadable Anybody know how to get best this? This is on a Windows 7 system running Lyx 2.1.2 and Miktex 2.9 Thanks, Rajil
DVI Luatex with Yap error
Hello, I am using Verdana font in a document which renders fine with PDF (LuaTex). However, it doesnt work as a DVI (LuaTex). Yap gives an error and font properties show "Verdana:mode=node:script=latn:language=DFLT;+tlig.." Not loadable Anybody know how to get best this? This is on a Windows 7 system running Lyx 2.1.2 and Miktex 2.9 Thanks, Rajil
Re: Questions about koma script
On Sunday 19 February 2006 07:32, Kevin Pfeiffer wrote: Rajil Saraswat writes: I am trying to write an article using komascript, and have some questions as to its usage. It will be grateful if somebody can help me. I have attached a minimal lyx file. 1. How do i left align Title, Authors, Address (written in environment date). In short everything should be left aligned or justified. I don't recall the answer, but I would swear that this same question has been asked twice in the last four weeks, so if you are in a hurry, take a look at the archives. Thanks for your reply. Searching the archives, I hit on this link (http://marc.theaimsgroup.com/?l=lyx-usersm=113828715308692w=2) by Herbert. I have been partially successful in using this, as still the author is not correctly left aligned. 2. How do i rename Figure to Fig.? Using \renewcommand{\figurename}{Fig.} in the preamble does not do I think you'll find that as well (or on the LyX site, maybe?) Unfortunately, I didnt find anything new apart from what I have here, which did not work for me. -Kevin I have another question :). How do I make the crossreference bold as well in the paragraph? I have attached a new lyx file listing my attempts until now. cheers, Rajil komatest.lyx Description: application/lyx
Re: Questions about koma script
On Sunday 19 February 2006 07:32, Kevin Pfeiffer wrote: Rajil Saraswat writes: I am trying to write an article using komascript, and have some questions as to its usage. It will be grateful if somebody can help me. I have attached a minimal lyx file. 1. How do i left align Title, Authors, Address (written in environment date). In short everything should be left aligned or justified. I don't recall the answer, but I would swear that this same question has been asked twice in the last four weeks, so if you are in a hurry, take a look at the archives. 2. How do i rename Figure to Fig.? Using \renewcommand{\figurename}{Fig.} in the preamble does not do I think you'll find that as well (or on the LyX site, maybe?) Forgot to mention that the lyx file I added is now generating a blank first page as well. Dont know why?? cheers, Rajil
Re: Questions about koma script
On Sunday 19 February 2006 12:55, Juergen Spitzmueller wrote: Rajil Saraswat wrote: Thanks for your reply. Searching the archives, I hit on this link (http://marc.theaimsgroup.com/?l=lyx-usersm=113828715308692w=2) by Herbert. I have been partially successful in using this, as still the author is not correctly left aligned. The problem is that the author is put into a centered tabular by koma script. One hack would be to put the author (in the author environment) in a minipage of 100% columnwidth, and put \hspace*{-\tabcolsep} before the author's name. This still leaves some space before the Author. Please look at the attached lyx file. 2. How do i rename Figure to Fig.? Using \renewcommand{\figurename}{Fig.} in the preamble does not do I think you'll find that as well (or on the LyX site, maybe?) Unfortunately, I didnt find anything new apart from what I have here, which did not work for me. Does \AtBeginDocument{\renewcommand{\figurename}{Fig.}} help? No, didnt make any difference. Do you use babel? I dont but it seems the tex file which lyx generated has \usepackage{babel} in it. Jürgen cheers, Rajil komatest.lyx Description: application/lyx
Re: Questions about koma script
On Sunday 19 February 2006 14:06, Juergen Spitzmueller wrote: This still leaves some space before the Author. Please look at the attached lyx file. Well, you had inserted a blank there (between \hspace*{-\tabcolsep} and the authors name). Do you use babel? I dont but it seems the tex file which lyx generated has \usepackage{babel} in it. Yes, then you need to pass the string to babel with \addto\captionsenglish See attached example. HTH, Jürgen Thanks Juergen . It is working like a charm. cheers, Rajil
Re: Questions about koma script
On Sunday 19 February 2006 07:32, Kevin Pfeiffer wrote: Rajil Saraswat writes: I am trying to write an article using komascript, and have some questions as to its usage. It will be grateful if somebody can help me. I have attached a minimal lyx file. 1. How do i left align Title, Authors, Address (written in environment date). In short everything should be left aligned or justified. I don't recall the answer, but I would swear that this same question has been asked twice in the last four weeks, so if you are in a hurry, take a look at the archives. Thanks for your reply. Searching the archives, I hit on this link (http://marc.theaimsgroup.com/?l=lyx-usersm=113828715308692w=2) by Herbert. I have been partially successful in using this, as still the author is not correctly left aligned. 2. How do i rename Figure to Fig.? Using \renewcommand{\figurename}{Fig.} in the preamble does not do I think you'll find that as well (or on the LyX site, maybe?) Unfortunately, I didnt find anything new apart from what I have here, which did not work for me. -Kevin I have another question :). How do I make the crossreference bold as well in the paragraph? I have attached a new lyx file listing my attempts until now. cheers, Rajil komatest.lyx Description: application/lyx
Re: Questions about koma script
On Sunday 19 February 2006 07:32, Kevin Pfeiffer wrote: Rajil Saraswat writes: I am trying to write an article using komascript, and have some questions as to its usage. It will be grateful if somebody can help me. I have attached a minimal lyx file. 1. How do i left align Title, Authors, Address (written in environment date). In short everything should be left aligned or justified. I don't recall the answer, but I would swear that this same question has been asked twice in the last four weeks, so if you are in a hurry, take a look at the archives. 2. How do i rename Figure to Fig.? Using \renewcommand{\figurename}{Fig.} in the preamble does not do I think you'll find that as well (or on the LyX site, maybe?) Forgot to mention that the lyx file I added is now generating a blank first page as well. Dont know why?? cheers, Rajil
Re: Questions about koma script
On Sunday 19 February 2006 12:55, Juergen Spitzmueller wrote: Rajil Saraswat wrote: Thanks for your reply. Searching the archives, I hit on this link (http://marc.theaimsgroup.com/?l=lyx-usersm=113828715308692w=2) by Herbert. I have been partially successful in using this, as still the author is not correctly left aligned. The problem is that the author is put into a centered tabular by koma script. One hack would be to put the author (in the author environment) in a minipage of 100% columnwidth, and put \hspace*{-\tabcolsep} before the author's name. This still leaves some space before the Author. Please look at the attached lyx file. 2. How do i rename Figure to Fig.? Using \renewcommand{\figurename}{Fig.} in the preamble does not do I think you'll find that as well (or on the LyX site, maybe?) Unfortunately, I didnt find anything new apart from what I have here, which did not work for me. Does \AtBeginDocument{\renewcommand{\figurename}{Fig.}} help? No, didnt make any difference. Do you use babel? I dont but it seems the tex file which lyx generated has \usepackage{babel} in it. Jürgen cheers, Rajil komatest.lyx Description: application/lyx
Re: Questions about koma script
On Sunday 19 February 2006 14:06, Juergen Spitzmueller wrote: This still leaves some space before the Author. Please look at the attached lyx file. Well, you had inserted a blank there (between \hspace*{-\tabcolsep} and the authors name). Do you use babel? I dont but it seems the tex file which lyx generated has \usepackage{babel} in it. Yes, then you need to pass the string to babel with \addto\captionsenglish See attached example. HTH, Jürgen Thanks Juergen . It is working like a charm. cheers, Rajil
Re: Questions about koma script
On Sunday 19 February 2006 07:32, Kevin Pfeiffer wrote: > Rajil Saraswat writes: > >I am trying to write an article using komascript, and have some > > questions as to its usage. It will be grateful if somebody can help > > me. I have attached a minimal lyx file. > > > > 1. How do i left align Title, Authors, Address (written in > > environment date). In short everything should be left aligned or > > justified. > > I don't recall the answer, but I would swear that this same question has > been asked twice in the last four weeks, so if you are in a hurry, take > a look at the archives. Thanks for your reply. Searching the archives, I hit on this link (http://marc.theaimsgroup.com/?l=lyx-users=113828715308692=2) by Herbert. I have been partially successful in using this, as still the author is not correctly left aligned. > > > 2. How do i rename Figure to Fig.? Using > > \renewcommand{\figurename}{Fig.} in the preamble does not do > > I think you'll find that as well (or on the LyX site, maybe?) Unfortunately, I didnt find anything new apart from what I have here, which did not work for me. > > -Kevin I have another question :). How do I make the crossreference bold as well in the paragraph? I have attached a new lyx file listing my attempts until now. cheers, Rajil komatest.lyx Description: application/lyx
Re: Questions about koma script
On Sunday 19 February 2006 07:32, Kevin Pfeiffer wrote: > Rajil Saraswat writes: > >I am trying to write an article using komascript, and have some > > questions as to its usage. It will be grateful if somebody can help > > me. I have attached a minimal lyx file. > > > > 1. How do i left align Title, Authors, Address (written in > > environment date). In short everything should be left aligned or > > justified. > > I don't recall the answer, but I would swear that this same question has > been asked twice in the last four weeks, so if you are in a hurry, take > a look at the archives. > > > 2. How do i rename Figure to Fig.? Using > > \renewcommand{\figurename}{Fig.} in the preamble does not do > > I think you'll find that as well (or on the LyX site, maybe?) > Forgot to mention that the lyx file I added is now generating a blank first page as well. Dont know why?? cheers, Rajil
Re: Questions about koma script
On Sunday 19 February 2006 12:55, Juergen Spitzmueller wrote: > Rajil Saraswat wrote: > > Thanks for your reply. Searching the archives, I hit on this link > > (http://marc.theaimsgroup.com/?l=lyx-users=113828715308692=2) by > > Herbert. I have been partially successful in using this, as still the > > author is not correctly left aligned. > > The problem is that the author is put into a centered tabular by koma > script. One hack would be to put the author (in the author environment) in > a minipage of 100% columnwidth, and put \hspace*{-\tabcolsep} before the > author's name. This still leaves some space before the Author. Please look at the attached lyx file. > > > > > 2. How do i rename Figure to Fig.? Using > > > > \renewcommand{\figurename}{Fig.} in the preamble does not do > > > > > > I think you'll find that as well (or on the LyX site, maybe?) > > > > Unfortunately, I didnt find anything new apart from what I have here, > > which did not work for me. > > Does \AtBeginDocument{\renewcommand{\figurename}{Fig.}} help? No, didnt make any difference. > Do you use babel? I dont but it seems the tex file which lyx generated has \usepackage{babel} in it. > Jürgen cheers, Rajil komatest.lyx Description: application/lyx
Re: Questions about koma script
On Sunday 19 February 2006 14:06, Juergen Spitzmueller wrote: > > > This still leaves some space before the Author. Please look at the > > attached lyx file. > > Well, you had inserted a blank there (between \hspace*{-\tabcolsep} and the > authors name). > > > > Do you use babel? > > > > I dont but it seems the tex file which lyx generated has > > \usepackage{babel} in it. > > Yes, then you need to pass the string to babel with \addto\captionsenglish > > See attached example. > > HTH, > Jürgen Thanks Juergen . It is working like a charm. cheers, Rajil
Questions about koma script
Hi, I am trying to write an article using komascript, and have some questions as to its usage. It will be grateful if somebody can help me. I have attached a minimal lyx file. 1. How do i left align Title, Authors, Address (written in environment date). In short everything should be left aligned or justified. 2. How do i rename Figure to Fig.? Using \renewcommand{\figurename}{Fig.} in the preamble does not do anything!! cheers, Rajil komatest.lyx Description: application/lyx
Questions about koma script
Hi, I am trying to write an article using komascript, and have some questions as to its usage. It will be grateful if somebody can help me. I have attached a minimal lyx file. 1. How do i left align Title, Authors, Address (written in environment date). In short everything should be left aligned or justified. 2. How do i rename Figure to Fig.? Using \renewcommand{\figurename}{Fig.} in the preamble does not do anything!! cheers, Rajil komatest.lyx Description: application/lyx
Questions about koma script
Hi, I am trying to write an article using komascript, and have some questions as to its usage. It will be grateful if somebody can help me. I have attached a minimal lyx file. 1. How do i left align Title, Authors, Address (written in environment date). In short everything should be left aligned or justified. 2. How do i rename Figure to Fig.? Using \renewcommand{\figurename}{Fig.} in the preamble does not do anything!! cheers, Rajil komatest.lyx Description: application/lyx
tex4ht and Openoffice
Hi all, First of all a big thanks to authors of tex4ht for making this wonderful program. It makes the life easier for people like me who has to send documents to places where latex is unknown! and MS word rules. I have been playing with this oolatex to convert a lyx/tex file to openoffice format. By and large the program was successfull in converting the document but there were some bits which created problems and hence this email. I have put together a lyx file (attached) which does not come out properly in openoffice (running beta-2 version 1.9.95) 1. Some frame decorations go missing in openoffice, instead squares appear. 2. I usually make plots using gnuplot/pslatex terminal and embed them into lyx. The plot do show up in openoffice but the image setting is set to a small scale. Right clicking on the image and Setting the Crop property to 'original size' brings back the original/desired size. When, there are too many images in the document, setting each individual image property becomes too cumbersome!. Is there a default setting? Also, the image boundary (axis label) is slightly truncated. The truncation was much bigger for another of my gnuplot generated picture. 3. Table captions dont show up in openoffice where as figure captions work fine. 4. I generated an eps file thru gri (/usr/share/doc/gri-2.12.7/html/example4.html) which is marked as 'Read error' in openoffice. Please note that gri's output is a .ps file but running the command file grifile.ps showed PostScript document text conforming at level 2.0 - type EPS, so i renamed the file to .eps I have modified the convert statement in tex4ht.env to increase the image quality Gdvips -E -Ppdf -mode lexmarku -D 600 -x 2000 -y 2000 -f %%1 -pp %%2 zz%%4.ps Gconvert zz%%4.ps -trim +repage -density 600x600 -geometry 70% -transparent '#FF' %%3 The curve.tex gnuplot code was made by: $$gnuplot set term pslatex set out curve.tex plot x**2 Any pointers to solving these problems will be helpful. Thanks Rajil tex4ht.lyx Description: application/lyx % GNUPLOT: LaTeX picture with Postscript \begingroup% \makeatletter% \newcommand{\GNUPLOTspecial}{% [EMAIL PROTECTED] \setlength{\unitlength}{0.1bp}% \begin{picture}(3600,2160)(0,0)% {\GNUPLOTspecial{ %!PS-Adobe-2.0 EPSF-2.0 %%Title: curve.tex %%Creator: gnuplot 4.0 patchlevel 0 %%CreationDate: Tue May 24 19:55:57 2005 %%DocumentFonts: %%BoundingBox: 0 0 360 216 %%Orientation: Landscape %%EndComments /gnudict 256 dict def gnudict begin /Color false def /Solid false def /gnulinewidth 5.000 def /userlinewidth gnulinewidth def /vshift -33 def /dl {10.0 mul} def /hpt_ 31.5 def /vpt_ 31.5 def /hpt hpt_ def /vpt vpt_ def /Rounded false def /M {moveto} bind def /L {lineto} bind def /R {rmoveto} bind def /V {rlineto} bind def /N {newpath moveto} bind def /C {setrgbcolor} bind def /f {rlineto fill} bind def /vpt2 vpt 2 mul def /hpt2 hpt 2 mul def /Lshow { currentpoint stroke M 0 vshift R show } def /Rshow { currentpoint stroke M dup stringwidth pop neg vshift R show } def /Cshow { currentpoint stroke M dup stringwidth pop -2 div vshift R show } def /UP { dup vpt_ mul /vpt exch def hpt_ mul /hpt exch def /hpt2 hpt 2 mul def /vpt2 vpt 2 mul def } def /DL { Color {setrgbcolor Solid {pop []} if 0 setdash } {pop pop pop 0 setgray Solid {pop []} if 0 setdash} ifelse } def /BL { stroke userlinewidth 2 mul setlinewidth Rounded { 1 setlinejoin 1 setlinecap } if } def /AL { stroke userlinewidth 2 div setlinewidth Rounded { 1 setlinejoin 1 setlinecap } if } def /UL { dup gnulinewidth mul /userlinewidth exch def dup 1 lt {pop 1} if 10 mul /udl exch def } def /PL { stroke userlinewidth setlinewidth Rounded { 1 setlinejoin 1 setlinecap } if } def /LTw { PL [] 1 setgray } def /LTb { BL [] 0 0 0 DL } def /LTa { AL [1 udl mul 2 udl mul] 0 setdash 0 0 0 setrgbcolor } def /LT0 { PL [] 1 0 0 DL } def /LT1 { PL [4 dl 2 dl] 0 1 0 DL } def /LT2 { PL [2 dl 3 dl] 0 0 1 DL } def /LT3 { PL [1 dl 1.5 dl] 1 0 1 DL } def /LT4 { PL [5 dl 2 dl 1 dl 2 dl] 0 1 1 DL } def /LT5 { PL [4 dl 3 dl 1 dl 3 dl] 1 1 0 DL } def /LT6 { PL [2 dl 2 dl 2 dl 4 dl] 0 0 0 DL } def /LT7 { PL [2 dl 2 dl 2 dl 2 dl 2 dl 4 dl] 1 0.3 0 DL } def /LT8 { PL [2 dl 2 dl 2 dl 2 dl 2 dl 2 dl 2 dl 4 dl] 0.5 0.5 0.5 DL } def /Pnt { stroke [] 0 setdash gsave 1 setlinecap M 0 0 V stroke grestore } def /Dia { stroke [] 0 setdash 2 copy vpt add M hpt neg vpt neg V hpt vpt neg V hpt vpt V hpt neg vpt V closepath stroke Pnt } def /Pls { stroke [] 0 setdash vpt sub M 0 vpt2 V currentpoint stroke M hpt neg vpt neg R hpt2 0 V stroke } def /Box { stroke [] 0 setdash 2 copy exch hpt sub exch vpt add M 0 vpt2 neg V hpt2 0 V 0 vpt2 V hpt2 neg 0 V closepath stroke Pnt } def /Crs { stroke [] 0 setdash exch hpt sub exch vpt add M hpt2 vpt2 neg V currentpoint stroke M hpt2 neg 0 R hpt2 vpt2 V stroke } def /TriU { stroke [] 0 setdash 2 copy vpt 1.12 mul add M hpt neg vpt -1.62 mul V
tex4ht and Openoffice
Hi all, First of all a big thanks to authors of tex4ht for making this wonderful program. It makes the life easier for people like me who has to send documents to places where latex is unknown! and MS word rules. I have been playing with this oolatex to convert a lyx/tex file to openoffice format. By and large the program was successfull in converting the document but there were some bits which created problems and hence this email. I have put together a lyx file (attached) which does not come out properly in openoffice (running beta-2 version 1.9.95) 1. Some frame decorations go missing in openoffice, instead squares appear. 2. I usually make plots using gnuplot/pslatex terminal and embed them into lyx. The plot do show up in openoffice but the image setting is set to a small scale. Right clicking on the image and Setting the Crop property to 'original size' brings back the original/desired size. When, there are too many images in the document, setting each individual image property becomes too cumbersome!. Is there a default setting? Also, the image boundary (axis label) is slightly truncated. The truncation was much bigger for another of my gnuplot generated picture. 3. Table captions dont show up in openoffice where as figure captions work fine. 4. I generated an eps file thru gri (/usr/share/doc/gri-2.12.7/html/example4.html) which is marked as 'Read error' in openoffice. Please note that gri's output is a .ps file but running the command file grifile.ps showed PostScript document text conforming at level 2.0 - type EPS, so i renamed the file to .eps I have modified the convert statement in tex4ht.env to increase the image quality Gdvips -E -Ppdf -mode lexmarku -D 600 -x 2000 -y 2000 -f %%1 -pp %%2 zz%%4.ps Gconvert zz%%4.ps -trim +repage -density 600x600 -geometry 70% -transparent '#FF' %%3 The curve.tex gnuplot code was made by: $$gnuplot set term pslatex set out curve.tex plot x**2 Any pointers to solving these problems will be helpful. Thanks Rajil tex4ht.lyx Description: application/lyx % GNUPLOT: LaTeX picture with Postscript \begingroup% \makeatletter% \newcommand{\GNUPLOTspecial}{% [EMAIL PROTECTED] \setlength{\unitlength}{0.1bp}% \begin{picture}(3600,2160)(0,0)% {\GNUPLOTspecial{ %!PS-Adobe-2.0 EPSF-2.0 %%Title: curve.tex %%Creator: gnuplot 4.0 patchlevel 0 %%CreationDate: Tue May 24 19:55:57 2005 %%DocumentFonts: %%BoundingBox: 0 0 360 216 %%Orientation: Landscape %%EndComments /gnudict 256 dict def gnudict begin /Color false def /Solid false def /gnulinewidth 5.000 def /userlinewidth gnulinewidth def /vshift -33 def /dl {10.0 mul} def /hpt_ 31.5 def /vpt_ 31.5 def /hpt hpt_ def /vpt vpt_ def /Rounded false def /M {moveto} bind def /L {lineto} bind def /R {rmoveto} bind def /V {rlineto} bind def /N {newpath moveto} bind def /C {setrgbcolor} bind def /f {rlineto fill} bind def /vpt2 vpt 2 mul def /hpt2 hpt 2 mul def /Lshow { currentpoint stroke M 0 vshift R show } def /Rshow { currentpoint stroke M dup stringwidth pop neg vshift R show } def /Cshow { currentpoint stroke M dup stringwidth pop -2 div vshift R show } def /UP { dup vpt_ mul /vpt exch def hpt_ mul /hpt exch def /hpt2 hpt 2 mul def /vpt2 vpt 2 mul def } def /DL { Color {setrgbcolor Solid {pop []} if 0 setdash } {pop pop pop 0 setgray Solid {pop []} if 0 setdash} ifelse } def /BL { stroke userlinewidth 2 mul setlinewidth Rounded { 1 setlinejoin 1 setlinecap } if } def /AL { stroke userlinewidth 2 div setlinewidth Rounded { 1 setlinejoin 1 setlinecap } if } def /UL { dup gnulinewidth mul /userlinewidth exch def dup 1 lt {pop 1} if 10 mul /udl exch def } def /PL { stroke userlinewidth setlinewidth Rounded { 1 setlinejoin 1 setlinecap } if } def /LTw { PL [] 1 setgray } def /LTb { BL [] 0 0 0 DL } def /LTa { AL [1 udl mul 2 udl mul] 0 setdash 0 0 0 setrgbcolor } def /LT0 { PL [] 1 0 0 DL } def /LT1 { PL [4 dl 2 dl] 0 1 0 DL } def /LT2 { PL [2 dl 3 dl] 0 0 1 DL } def /LT3 { PL [1 dl 1.5 dl] 1 0 1 DL } def /LT4 { PL [5 dl 2 dl 1 dl 2 dl] 0 1 1 DL } def /LT5 { PL [4 dl 3 dl 1 dl 3 dl] 1 1 0 DL } def /LT6 { PL [2 dl 2 dl 2 dl 4 dl] 0 0 0 DL } def /LT7 { PL [2 dl 2 dl 2 dl 2 dl 2 dl 4 dl] 1 0.3 0 DL } def /LT8 { PL [2 dl 2 dl 2 dl 2 dl 2 dl 2 dl 2 dl 4 dl] 0.5 0.5 0.5 DL } def /Pnt { stroke [] 0 setdash gsave 1 setlinecap M 0 0 V stroke grestore } def /Dia { stroke [] 0 setdash 2 copy vpt add M hpt neg vpt neg V hpt vpt neg V hpt vpt V hpt neg vpt V closepath stroke Pnt } def /Pls { stroke [] 0 setdash vpt sub M 0 vpt2 V currentpoint stroke M hpt neg vpt neg R hpt2 0 V stroke } def /Box { stroke [] 0 setdash 2 copy exch hpt sub exch vpt add M 0 vpt2 neg V hpt2 0 V 0 vpt2 V hpt2 neg 0 V closepath stroke Pnt } def /Crs { stroke [] 0 setdash exch hpt sub exch vpt add M hpt2 vpt2 neg V currentpoint stroke M hpt2 neg 0 R hpt2 vpt2 V stroke } def /TriU { stroke [] 0 setdash 2 copy vpt 1.12 mul add M hpt neg vpt -1.62 mul V
tex4ht and Openoffice
Hi all, First of all a big thanks to authors of tex4ht for making this wonderful program. It makes the life easier for people like me who has to send documents to places where latex is unknown! and MS word rules. I have been playing with this oolatex to convert a lyx/tex file to openoffice format. By and large the program was successfull in converting the document but there were some bits which created problems and hence this email. I have put together a lyx file (attached) which does not come out properly in openoffice (running beta-2 version 1.9.95) 1. Some frame decorations go missing in openoffice, instead squares appear. 2. I usually make plots using gnuplot/pslatex terminal and embed them into lyx. The plot do show up in openoffice but the image setting is set to a small scale. Right clicking on the image and Setting the Crop property to 'original size' brings back the original/desired size. When, there are too many images in the document, setting each individual image property becomes too cumbersome!. Is there a default setting? Also, the image boundary (axis label) is slightly truncated. The truncation was much bigger for another of my gnuplot generated picture. 3. Table captions dont show up in openoffice where as figure captions work fine. 4. I generated an eps file thru gri (/usr/share/doc/gri-2.12.7/html/example4.html) which is marked as 'Read error' in openoffice. Please note that gri's output is a .ps file but running the command file grifile.ps showed "PostScript document text conforming at level 2.0 - type EPS", so i renamed the file to .eps I have modified the convert statement in tex4ht.env to increase the image quality Gdvips -E -Ppdf -mode lexmarku -D 600 -x 2000 -y 2000 -f %%1 -pp %%2 > zz%%4.ps Gconvert zz%%4.ps -trim +repage -density 600x600 -geometry 70% -transparent '#FF' %%3 The curve.tex gnuplot code was made by: $$gnuplot set term pslatex set out "curve.tex" plot x**2 Any pointers to solving these problems will be helpful. Thanks Rajil tex4ht.lyx Description: application/lyx % GNUPLOT: LaTeX picture with Postscript \begingroup% \makeatletter% \newcommand{\GNUPLOTspecial}{% [EMAIL PROTECTED] \setlength{\unitlength}{0.1bp}% \begin{picture}(3600,2160)(0,0)% {\GNUPLOTspecial{" %!PS-Adobe-2.0 EPSF-2.0 %%Title: curve.tex %%Creator: gnuplot 4.0 patchlevel 0 %%CreationDate: Tue May 24 19:55:57 2005 %%DocumentFonts: %%BoundingBox: 0 0 360 216 %%Orientation: Landscape %%EndComments /gnudict 256 dict def gnudict begin /Color false def /Solid false def /gnulinewidth 5.000 def /userlinewidth gnulinewidth def /vshift -33 def /dl {10.0 mul} def /hpt_ 31.5 def /vpt_ 31.5 def /hpt hpt_ def /vpt vpt_ def /Rounded false def /M {moveto} bind def /L {lineto} bind def /R {rmoveto} bind def /V {rlineto} bind def /N {newpath moveto} bind def /C {setrgbcolor} bind def /f {rlineto fill} bind def /vpt2 vpt 2 mul def /hpt2 hpt 2 mul def /Lshow { currentpoint stroke M 0 vshift R show } def /Rshow { currentpoint stroke M dup stringwidth pop neg vshift R show } def /Cshow { currentpoint stroke M dup stringwidth pop -2 div vshift R show } def /UP { dup vpt_ mul /vpt exch def hpt_ mul /hpt exch def /hpt2 hpt 2 mul def /vpt2 vpt 2 mul def } def /DL { Color {setrgbcolor Solid {pop []} if 0 setdash } {pop pop pop 0 setgray Solid {pop []} if 0 setdash} ifelse } def /BL { stroke userlinewidth 2 mul setlinewidth Rounded { 1 setlinejoin 1 setlinecap } if } def /AL { stroke userlinewidth 2 div setlinewidth Rounded { 1 setlinejoin 1 setlinecap } if } def /UL { dup gnulinewidth mul /userlinewidth exch def dup 1 lt {pop 1} if 10 mul /udl exch def } def /PL { stroke userlinewidth setlinewidth Rounded { 1 setlinejoin 1 setlinecap } if } def /LTw { PL [] 1 setgray } def /LTb { BL [] 0 0 0 DL } def /LTa { AL [1 udl mul 2 udl mul] 0 setdash 0 0 0 setrgbcolor } def /LT0 { PL [] 1 0 0 DL } def /LT1 { PL [4 dl 2 dl] 0 1 0 DL } def /LT2 { PL [2 dl 3 dl] 0 0 1 DL } def /LT3 { PL [1 dl 1.5 dl] 1 0 1 DL } def /LT4 { PL [5 dl 2 dl 1 dl 2 dl] 0 1 1 DL } def /LT5 { PL [4 dl 3 dl 1 dl 3 dl] 1 1 0 DL } def /LT6 { PL [2 dl 2 dl 2 dl 4 dl] 0 0 0 DL } def /LT7 { PL [2 dl 2 dl 2 dl 2 dl 2 dl 4 dl] 1 0.3 0 DL } def /LT8 { PL [2 dl 2 dl 2 dl 2 dl 2 dl 2 dl 2 dl 4 dl] 0.5 0.5 0.5 DL } def /Pnt { stroke [] 0 setdash gsave 1 setlinecap M 0 0 V stroke grestore } def /Dia { stroke [] 0 setdash 2 copy vpt add M hpt neg vpt neg V hpt vpt neg V hpt vpt V hpt neg vpt V closepath stroke Pnt } def /Pls { stroke [] 0 setdash vpt sub M 0 vpt2 V currentpoint stroke M hpt neg vpt neg R hpt2 0 V stroke } def /Box { stroke [] 0 setdash 2 copy exch hpt sub exch vpt add M 0 vpt2 neg V hpt2 0 V 0 vpt2 V hpt2 neg 0 V closepath stroke Pnt } def /Crs { stroke [] 0 setdash exch hpt sub exch vpt add M hpt2 vpt2 neg V currentpoint stroke M hpt2 neg 0 R hpt2 vpt2 V stroke } def /TriU { stroke [] 0 setdash 2 copy vpt 1.12 mul add M hpt neg vpt -1.62
Urgent:No indentation for footnote Authors
Hello Guys, I am stuck with this tex problem on the last day of my paper submission. The footnote for the author is coming out to be indented which i dont want(see attached lyx file). I want all the three lines of the footnote to start from the same initial column. Any help is much appreciated. cheers, Rajil auth.lyx Description: application/lyx
Re: Urgent:No indentation for footnote Authors
anybody has any idea how can i rectify this? thanks On Monday 13 September 2004 17:59, Rajil Saraswat wrote: Hello Guys, I am stuck with this tex problem on the last day of my paper submission. The footnote for the author is coming out to be indented which i dont want(see attached lyx file). I want all the three lines of the footnote to start from the same initial column. Any help is much appreciated. cheers, Rajil
Urgent:No indentation for footnote Authors
Hello Guys, I am stuck with this tex problem on the last day of my paper submission. The footnote for the author is coming out to be indented which i dont want(see attached lyx file). I want all the three lines of the footnote to start from the same initial column. Any help is much appreciated. cheers, Rajil auth.lyx Description: application/lyx
Re: Urgent:No indentation for footnote Authors
anybody has any idea how can i rectify this? thanks On Monday 13 September 2004 17:59, Rajil Saraswat wrote: Hello Guys, I am stuck with this tex problem on the last day of my paper submission. The footnote for the author is coming out to be indented which i dont want(see attached lyx file). I want all the three lines of the footnote to start from the same initial column. Any help is much appreciated. cheers, Rajil
Urgent:No indentation for footnote Authors
Hello Guys, I am stuck with this tex problem on the last day of my paper submission. The footnote for the author is coming out to be indented which i dont want(see attached lyx file). I want all the three lines of the footnote to start from the same initial column. Any help is much appreciated. cheers, Rajil auth.lyx Description: application/lyx
Re: Urgent:No indentation for footnote Authors
anybody has any idea how can i rectify this? thanks On Monday 13 September 2004 17:59, Rajil Saraswat wrote: > Hello Guys, >I am stuck with this tex problem on the last day of my paper submission. > The footnote for the author is coming out to be indented which i dont > want(see attached lyx file). I want all the three lines of the footnote to > start from the same initial column. > Any help is much appreciated. > > cheers, > Rajil
Gnuplot and -90 rotation
Hi, I am using the enhanced postscript terminal in gnuplot to create eps plots. They show up fine if i use gv on a console however they are -90 rotated in lyx. Is there any solution to correct that? cheers, Rajil
Re: Gnuplot and -90 rotation
Unfortunately that doesnt solve the problem. Even after eps2eps, the plots are still -90 degrees out of sync. Moreover, the antialias doesnt work in gv after eps2eps. It is still unclear to me how come gv show up the right orientation whereas lyx cannot? cheers On Friday 03 September 2004 14:09, Angus Leeming wrote: Rajil Saraswat wrote: Hi, I am using the enhanced postscript terminal in gnuplot to create eps plots. They show up fine if i use gv on a console however they are -90 rotated in lyx. Is there any solution to correct that? Run them through through eps2eps to fix the BoundaryBox information.
Re: Gnuplot and -90 rotation
On Friday 03 September 2004 15:21, Angus Leeming wrote: Rajil Saraswat wrote: Unfortunately that doesnt solve the problem. Even after eps2eps, the plots are still -90 degrees out of sync. Moreover, the antialias doesnt work in gv after eps2eps. It is still unclear to me how come gv show up the right orientation whereas lyx cannot? gv is just a frontend to ghostscript. ghostscript understands the WHOLE PostScript language. That's what it's designed to do. LyX simply passes the PostScript file to some external converter to convert it to a loadable format. Presumably PNG. Also presumably, you're using the default convertDefault.sh wrapper script to perform this conversion. This script is a frontend to ImageMagick's convert program. Conclusion: convert and ghostscript are doing different things with your file. Try using the attached my_ps2png converter instead. I am not sure if i did the right thing. I just replaced convertDefault.sh with your script and now lyx seems to hang if i load the document. My plots are all eps images generated through gnuplot.
Re: Gnuplot and -90 rotation
On Friday 03 September 2004 15:56, Angus Leeming wrote: Rajil Saraswat wrote: I am not sure if i did the right thing. I just replaced convertDefault.sh with your script and now lyx seems to hang if i load the document. My plots are all eps images generated through gnuplot. No you didn't. Put convertDefault.sh back http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/lib/scripts/convertDefault .sh?only_with_tag=lyx-1_3_4 (Equivalent URL http://tinyurl.com/6wuze) And go define a EPS-PNG converter in the Edit-Preferences dialog (Converters pane) as FromEPS To PNG Converter my_ps2png $$i $$o Extra Flag Press the Modify button and then the Save button. Thanks for the script, but the problem still remains. Using your scripts the images are still rotated and bounding box gets a lot of white space. I am attaching a en eps file for you to look it. It is a plain sin plot done in gnuplot. The gnuplot code was this: #gnuplot set term postscript enhanced color set out sin.eps set size 0.7,0.7 plot sin(x) cheers attachment: sin.eps
Gnuplot and -90 rotation
Hi, I am using the enhanced postscript terminal in gnuplot to create eps plots. They show up fine if i use gv on a console however they are -90 rotated in lyx. Is there any solution to correct that? cheers, Rajil
Re: Gnuplot and -90 rotation
Unfortunately that doesnt solve the problem. Even after eps2eps, the plots are still -90 degrees out of sync. Moreover, the antialias doesnt work in gv after eps2eps. It is still unclear to me how come gv show up the right orientation whereas lyx cannot? cheers On Friday 03 September 2004 14:09, Angus Leeming wrote: Rajil Saraswat wrote: Hi, I am using the enhanced postscript terminal in gnuplot to create eps plots. They show up fine if i use gv on a console however they are -90 rotated in lyx. Is there any solution to correct that? Run them through through eps2eps to fix the BoundaryBox information.
Re: Gnuplot and -90 rotation
On Friday 03 September 2004 15:21, Angus Leeming wrote: Rajil Saraswat wrote: Unfortunately that doesnt solve the problem. Even after eps2eps, the plots are still -90 degrees out of sync. Moreover, the antialias doesnt work in gv after eps2eps. It is still unclear to me how come gv show up the right orientation whereas lyx cannot? gv is just a frontend to ghostscript. ghostscript understands the WHOLE PostScript language. That's what it's designed to do. LyX simply passes the PostScript file to some external converter to convert it to a loadable format. Presumably PNG. Also presumably, you're using the default convertDefault.sh wrapper script to perform this conversion. This script is a frontend to ImageMagick's convert program. Conclusion: convert and ghostscript are doing different things with your file. Try using the attached my_ps2png converter instead. I am not sure if i did the right thing. I just replaced convertDefault.sh with your script and now lyx seems to hang if i load the document. My plots are all eps images generated through gnuplot.
Re: Gnuplot and -90 rotation
On Friday 03 September 2004 15:56, Angus Leeming wrote: Rajil Saraswat wrote: I am not sure if i did the right thing. I just replaced convertDefault.sh with your script and now lyx seems to hang if i load the document. My plots are all eps images generated through gnuplot. No you didn't. Put convertDefault.sh back http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/lib/scripts/convertDefault .sh?only_with_tag=lyx-1_3_4 (Equivalent URL http://tinyurl.com/6wuze) And go define a EPS-PNG converter in the Edit-Preferences dialog (Converters pane) as FromEPS To PNG Converter my_ps2png $$i $$o Extra Flag Press the Modify button and then the Save button. Thanks for the script, but the problem still remains. Using your scripts the images are still rotated and bounding box gets a lot of white space. I am attaching a en eps file for you to look it. It is a plain sin plot done in gnuplot. The gnuplot code was this: #gnuplot set term postscript enhanced color set out sin.eps set size 0.7,0.7 plot sin(x) cheers attachment: sin.eps
Gnuplot and -90 rotation
Hi, I am using the enhanced postscript terminal in gnuplot to create eps plots. They show up fine if i use gv on a console however they are -90 rotated in lyx. Is there any solution to correct that? cheers, Rajil
Re: Gnuplot and -90 rotation
Unfortunately that doesnt solve the problem. Even after eps2eps, the plots are still -90 degrees out of sync. Moreover, the antialias doesnt work in gv after eps2eps. It is still unclear to me how come gv show up the right orientation whereas lyx cannot? cheers On Friday 03 September 2004 14:09, Angus Leeming wrote: > Rajil Saraswat wrote: > > Hi, > >I am using the enhanced postscript terminal in gnuplot to create eps > >plots. > > They show up fine if i use gv on a console however they are -90 rotated > > in lyx. > > Is there any solution to correct that? > > Run them through through eps2eps to fix the BoundaryBox information.
Re: Gnuplot and -90 rotation
On Friday 03 September 2004 15:21, Angus Leeming wrote: > Rajil Saraswat wrote: > > Unfortunately that doesnt solve the problem. Even after eps2eps, the > > plots are still -90 degrees out of sync. Moreover, the antialias doesnt > > work in gv after eps2eps. > > It is still unclear to me how come gv show up the right orientation > > whereas lyx cannot? > > gv is just a frontend to ghostscript. ghostscript understands the WHOLE > PostScript language. That's what it's designed to do. > > LyX simply passes the PostScript file to some external converter to convert > it to a loadable format. Presumably PNG. Also presumably, you're using the > default convertDefault.sh wrapper script to perform this conversion. This > script is a frontend to ImageMagick's "convert" program. > > Conclusion: "convert" and "ghostscript" are doing different things with > your file. Try using the attached "my_ps2png" converter instead. I am not sure if i did the right thing. I just replaced convertDefault.sh with your script and now lyx seems to hang if i load the document. My plots are all eps images generated through gnuplot.
Re: Gnuplot and -90 rotation
On Friday 03 September 2004 15:56, Angus Leeming wrote: > Rajil Saraswat wrote: > > I am not sure if i did the right thing. I just replaced convertDefault.sh > > with your script and now lyx seems to hang if i load the document. My > > plots are all eps images generated through gnuplot. > > No you didn't. Put convertDefault.sh back > http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/lib/scripts/convertDefault >.sh?only_with_tag=lyx-1_3_4 (Equivalent URL http://tinyurl.com/6wuze) > > And go define a EPS->PNG converter in the Edit->Preferences dialog > (Converters pane) as > > FromEPS > To PNG > Converter my_ps2png $$i $$o > Extra Flag > > Press the Modify button and then the Save button. Thanks for the script, but the problem still remains. Using your scripts the images are still rotated and bounding box gets a lot of white space. I am attaching a en eps file for you to look it. It is a plain sin plot done in gnuplot. The gnuplot code was this: #gnuplot set term postscript enhanced color set out "sin.eps" set size 0.7,0.7 plot sin(x) cheers <>
Re: Reproducible crash in lyx 1.3.4
I thought it would be a good idea to post it to the mailing list too. Hello Rajil, I agree that there is a bug. Weird one too if you ask me. However, if you move the cursor without pushing the SHIFT button, it doesn't crash. Doesn't solve the bug issue but in case it would help you. It's my 2 cents contribution for today! :D Cheers, Mathieu
Re: Reproducible crash in lyx 1.3.4
I thought it would be a good idea to post it to the mailing list too. Hello Rajil, I agree that there is a bug. Weird one too if you ask me. However, if you move the cursor without pushing the SHIFT button, it doesn't crash. Doesn't solve the bug issue but in case it would help you. It's my 2 cents contribution for today! :D Cheers, Mathieu
Re: Reproducible crash in lyx 1.3.4
I thought it would be a good idea to post it to the mailing list too. > > Hello Rajil, > > I agree that there is a bug. Weird one too if you ask me. However, if > you move the cursor without pushing the SHIFT button, it doesn't crash. > Doesn't solve the bug issue but in case it would help you. It's my 2 > cents contribution for today! :D > > Cheers, > > Mathieu
Reproducible crash in lyx 1.3.4
Hello guys, I was working on a paper when boom, lyx crashed on me. Thankfully my previous copy was saved allright. To verify the bug, i redid the same thing couple of times and everytime the bug was reproducible. Here are the steps: 1. Start lyx program from a shell 2. Fire a new file using File-New 3. Start the math panel using Insert-Math-Math Panel 4. Click on Insert Matrix 5. Set the number of columns to 5 and rows to 2 6. Close math panel 7. Put a number for the first element of the matrix. 8. Press Shift and Right arrow key 4 times to reach the last element of the first row. 9. Fill in any alphabet here 10. BOOMcrash.. My OS i gentoo and i am on a p4 processor, running kde 3.2.3 and QT 3.3.2 cheers Rajil
Reproducible crash in lyx 1.3.4
Hello guys, I was working on a paper when boom, lyx crashed on me. Thankfully my previous copy was saved allright. To verify the bug, i redid the same thing couple of times and everytime the bug was reproducible. Here are the steps: 1. Start lyx program from a shell 2. Fire a new file using File-New 3. Start the math panel using Insert-Math-Math Panel 4. Click on Insert Matrix 5. Set the number of columns to 5 and rows to 2 6. Close math panel 7. Put a number for the first element of the matrix. 8. Press Shift and Right arrow key 4 times to reach the last element of the first row. 9. Fill in any alphabet here 10. BOOMcrash.. My OS i gentoo and i am on a p4 processor, running kde 3.2.3 and QT 3.3.2 cheers Rajil
Reproducible crash in lyx 1.3.4
Hello guys, I was working on a paper when boom, lyx crashed on me. Thankfully my previous copy was saved allright. To verify the bug, i redid the same thing couple of times and everytime the bug was reproducible. Here are the steps: 1. Start lyx program from a shell 2. Fire a new file using File->New 3. Start the math panel using Insert->Math->Math Panel 4. Click on Insert Matrix 5. Set the number of columns to 5 and rows to 2 6. Close math panel 7. Put a number for the first element of the matrix. 8. Press Shift and Right arrow key 4 times to reach the last element of the first row. 9. Fill in any alphabet here 10. BOOMcrash.. My OS i gentoo and i am on a p4 processor, running kde 3.2.3 and QT 3.3.2 cheers Rajil
Urgent:Align a caption in a minipage
Hi, I want to align centre align a caption of a figure in a minipage. It seems allright in lyx but does not come correct in the dvi file. The lyx file is attached. Please replace your figures with your own. I cant use floats as i am using prosper package. Need to do a presentation, so its a bit urgent(First time i will showing lyx and prosper to ppl here ;) Thanks a lot. tst.lyx Description: application/lyx
Re: Urgent:Align a caption in a minipage
Rajil Saraswat wrote: Hi, I want to align centre align a caption of a figure in a minipage. It seems allright in lyx but does not come correct in the dvi file. Hi, Rajil. See http://latex.s-v-p.de/floats/caption.phtml HTH, Hi Angus, Thanks for your help. That page only gives tex commands to left align the captions. Moreover i tried \usepackage{ccaption} \captionstyle{\centerlastline} but that didnt work too :( Thanks
Re: Urgent:Align a caption in a minipage
On Wednesday 05 May 2004 13:52, Angus Leeming wrote: Rajil Saraswat wrote: Hi, I want to align centre align a caption of a figure in a minipage. It seems allright in lyx but does not come correct in the dvi file. Hi, Rajil. See http://latex.s-v-p.de/floats/caption.phtml HTH, btw, i am not using caption environment but just standard. will these things still work here? Thanks
Urgent:Align a caption in a minipage
Hi, I want to align centre align a caption of a figure in a minipage. It seems allright in lyx but does not come correct in the dvi file. The lyx file is attached. Please replace your figures with your own. I cant use floats as i am using prosper package. Need to do a presentation, so its a bit urgent(First time i will showing lyx and prosper to ppl here ;) Thanks a lot. tst.lyx Description: application/lyx
Re: Urgent:Align a caption in a minipage
Rajil Saraswat wrote: Hi, I want to align centre align a caption of a figure in a minipage. It seems allright in lyx but does not come correct in the dvi file. Hi, Rajil. See http://latex.s-v-p.de/floats/caption.phtml HTH, Hi Angus, Thanks for your help. That page only gives tex commands to left align the captions. Moreover i tried \usepackage{ccaption} \captionstyle{\centerlastline} but that didnt work too :( Thanks
Re: Urgent:Align a caption in a minipage
On Wednesday 05 May 2004 13:52, Angus Leeming wrote: Rajil Saraswat wrote: Hi, I want to align centre align a caption of a figure in a minipage. It seems allright in lyx but does not come correct in the dvi file. Hi, Rajil. See http://latex.s-v-p.de/floats/caption.phtml HTH, btw, i am not using caption environment but just standard. will these things still work here? Thanks
Urgent:Align a caption in a minipage
Hi, I want to align centre align a caption of a figure in a minipage. It seems allright in lyx but does not come correct in the dvi file. The lyx file is attached. Please replace your figures with your own. I cant use floats as i am using prosper package. Need to do a presentation, so its a bit urgent(First time i will showing lyx and prosper to ppl here ;) Thanks a lot. tst.lyx Description: application/lyx
Re: Urgent:Align a caption in a minipage
> Rajil Saraswat wrote: > > Hi, > > I want to align centre align a caption of a figure in a minipage. > > It seems allright in lyx but does not come correct in the > > dvi file. > > Hi, Rajil. See http://latex.s-v-p.de/floats/caption.phtml > > HTH, Hi Angus, Thanks for your help. That page only gives tex commands to left align the captions. Moreover i tried \usepackage{ccaption} \captionstyle{\centerlastline} but that didnt work too :( Thanks
Re: Urgent:Align a caption in a minipage
On Wednesday 05 May 2004 13:52, Angus Leeming wrote: > Rajil Saraswat wrote: > > Hi, > > I want to align centre align a caption of a figure in a minipage. > > It seems allright in lyx but does not come correct in the > > dvi file. > > Hi, Rajil. See http://latex.s-v-p.de/floats/caption.phtml > > HTH, btw, i am not using caption environment but just standard. will these things still work here? Thanks
Re: Keep Section name and its text together
Sorry to repeat this question, but i am frantically looking for a solution? On Monday 02 February 2004 15:10, Rajil Saraswat wrote: Hi, Is it possible to keep the section name and standard text in one page. The problem i am facing is that the section name is coming on one page while its text is getting rendered on the next page. Thanks --Rajil
Re: Keep Section name and its text together
Sorry to repeat this question, but i am frantically looking for a solution? On Monday 02 February 2004 15:10, Rajil Saraswat wrote: Hi, Is it possible to keep the section name and standard text in one page. The problem i am facing is that the section name is coming on one page while its text is getting rendered on the next page. Thanks --Rajil
Re: Keep Section name and its text together
Sorry to repeat this question, but i am frantically looking for a solution? On Monday 02 February 2004 15:10, Rajil Saraswat wrote: > Hi, >Is it possible to keep the section name and standard text in one page. > The problem i am facing is that the section name is coming on one page > while its text is getting rendered on the next page. > > Thanks > --Rajil
Keep Section name and its text together
Hi, Is it possible to keep the section name and standard text in one page. The problem i am facing is that the section name is coming on one page while its text is getting rendered on the next page. Thanks --Rajil
Keep Section name and its text together
Hi, Is it possible to keep the section name and standard text in one page. The problem i am facing is that the section name is coming on one page while its text is getting rendered on the next page. Thanks --Rajil
Keep Section name and its text together
Hi, Is it possible to keep the section name and standard text in one page. The problem i am facing is that the section name is coming on one page while its text is getting rendered on the next page. Thanks --Rajil
Gantt chart and lyx
Has anybody tried this before? I can see some links on the wiki but the mailing list doesnt return anything useful. Thanks for your comments. Rajil
Re: Gantt chart and lyx
On Tuesday 21 October 2003 17:07, Raphael Clifford wrote: You can produce them in pstricks if you are desperate (I was and did :) ). You then end up with a nice postscript file at least. Raphael Can you provide an example which i can modify, i have never played with pstricks before! and yes i am desperate. Thanks Rajil
Re: Gantt chart and lyx
On Tuesday 21 October 2003 17:23, Raphael Clifford wrote: Can you provide an example which i can modify, i have never played with pstricks before! and yes i am desperate. Thanks Rajil Here it is. Caveat emptor :) Raphael Thanks a lot for the file. It gives me something to start with. Rajil
Gantt chart and lyx
Has anybody tried this before? I can see some links on the wiki but the mailing list doesnt return anything useful. Thanks for your comments. Rajil
Re: Gantt chart and lyx
On Tuesday 21 October 2003 17:07, Raphael Clifford wrote: You can produce them in pstricks if you are desperate (I was and did :) ). You then end up with a nice postscript file at least. Raphael Can you provide an example which i can modify, i have never played with pstricks before! and yes i am desperate. Thanks Rajil
Re: Gantt chart and lyx
On Tuesday 21 October 2003 17:23, Raphael Clifford wrote: Can you provide an example which i can modify, i have never played with pstricks before! and yes i am desperate. Thanks Rajil Here it is. Caveat emptor :) Raphael Thanks a lot for the file. It gives me something to start with. Rajil
Gantt chart and lyx
Has anybody tried this before? I can see some links on the wiki but the mailing list doesnt return anything useful. Thanks for your comments. Rajil
Re: Gantt chart and lyx
On Tuesday 21 October 2003 17:07, Raphael Clifford wrote: > > You can produce them in pstricks if you are desperate (I was and did :) > ). You then end up with a nice postscript file at least. > > Raphael Can you provide an example which i can modify, i have never played with pstricks before! and yes i am desperate. Thanks Rajil
Re: Gantt chart and lyx
On Tuesday 21 October 2003 17:23, Raphael Clifford wrote: > > > >Can you provide an example which i can modify, i have never played with > >pstricks before! and yes i am desperate. > > > >Thanks > >Rajil > > > > > > > > Here it is. Caveat emptor :) > > Raphael > Thanks a lot for the file. It gives me something to start with. Rajil
Re: VERY SIMPLE QUESTION (!)
I On Thursday 16 October 2003 18:10, Tomasz Koziara wrote: Beg your pardon, but: HOW TO CENTER A TABLE OR A FIGURE (e.g. in float field) IN LYX Insert a ERT in the float box just before the image containing \centering as explained in http://ev-en.org/wiki/moin.cgi/LyxFAQ#line321 Rajil
Re: VERY SIMPLE QUESTION (!)
I On Thursday 16 October 2003 18:10, Tomasz Koziara wrote: Beg your pardon, but: HOW TO CENTER A TABLE OR A FIGURE (e.g. in float field) IN LYX Insert a ERT in the float box just before the image containing \centering as explained in http://ev-en.org/wiki/moin.cgi/LyxFAQ#line321 Rajil
Re: VERY SIMPLE QUESTION (!)
I On Thursday 16 October 2003 18:10, Tomasz Koziara wrote: > Beg your pardon, but: > > HOW TO CENTER A TABLE OR A FIGURE (e.g. in float field) IN LYX > Insert a ERT in the float box just before the image containing \centering as explained in http://ev-en.org/wiki/moin.cgi/LyxFAQ#line321 Rajil
Re: Referencing subfigures
On Tuesday 14 October 2003 10:15, Herbert Voß wrote: attached the testfile. It is not a good idea to count figures sectionwide, when having chapters. Herbert Thanks Herbert for your help. However, it seems i was not clear enough with my question, my apologies. What i wanted was the Caption in the Figure to be 1.1.1 and the reference in the text as 1.1.1(a). If you see my original file, the reference in the text is coming out to be 1.1(a) and not 1.1.1(a). The structure i have followed in my report is, for captions i use Chapter. Section.Figure Number , i dont know if this is the correct way to write captions when using chapters. Thanks for your help in advance. Rajil
Re: Referencing subfigures
On Tuesday 14 October 2003 11:15, Rajil Saraswat wrote: On Tuesday 14 October 2003 10:15, Herbert Voß wrote: attached the testfile. It is not a good idea to count figures sectionwide, when having chapters. Herbert Thanks Herbert for your help. However, it seems i was not clear enough with my question, my apologies. What i wanted was the Caption in the Figure to be 1.1.1 and the reference in the text as 1.1.1(a). If you see my original file, the reference in the text is coming out to be 1.1(a) and not 1.1.1(a). The structure i have followed in my report is, for captions i use Chapter. Section.Figure Number , i dont know if this is the correct way to write captions when using chapters. Thanks for your help in advance. Rajil Any advice on this Herbert. Sorry, i am to submit my report this week so i am hurrying things a bit. If there is no straight solution, i will add an (a) and (b) manually. Thanks.
Re: Referencing subfigures
On Tuesday 14 October 2003 22:45, Herbert Voß wrote: Rajil Saraswat schrieb: Any advice on this Herbert. Sorry, i am to submit my report this week so i am hurrying things a bit. If there is no straight solution, i will add an (a) and (b) manually. attached, Herbert Thanks a lot Herbert, this was very useful. Rajil
Re: Referencing subfigures
On Tuesday 14 October 2003 10:15, Herbert Voß wrote: attached the testfile. It is not a good idea to count figures sectionwide, when having chapters. Herbert Thanks Herbert for your help. However, it seems i was not clear enough with my question, my apologies. What i wanted was the Caption in the Figure to be 1.1.1 and the reference in the text as 1.1.1(a). If you see my original file, the reference in the text is coming out to be 1.1(a) and not 1.1.1(a). The structure i have followed in my report is, for captions i use Chapter. Section.Figure Number , i dont know if this is the correct way to write captions when using chapters. Thanks for your help in advance. Rajil
Re: Referencing subfigures
On Tuesday 14 October 2003 11:15, Rajil Saraswat wrote: On Tuesday 14 October 2003 10:15, Herbert Voß wrote: attached the testfile. It is not a good idea to count figures sectionwide, when having chapters. Herbert Thanks Herbert for your help. However, it seems i was not clear enough with my question, my apologies. What i wanted was the Caption in the Figure to be 1.1.1 and the reference in the text as 1.1.1(a). If you see my original file, the reference in the text is coming out to be 1.1(a) and not 1.1.1(a). The structure i have followed in my report is, for captions i use Chapter. Section.Figure Number , i dont know if this is the correct way to write captions when using chapters. Thanks for your help in advance. Rajil Any advice on this Herbert. Sorry, i am to submit my report this week so i am hurrying things a bit. If there is no straight solution, i will add an (a) and (b) manually. Thanks.
Re: Referencing subfigures
On Tuesday 14 October 2003 22:45, Herbert Voß wrote: Rajil Saraswat schrieb: Any advice on this Herbert. Sorry, i am to submit my report this week so i am hurrying things a bit. If there is no straight solution, i will add an (a) and (b) manually. attached, Herbert Thanks a lot Herbert, this was very useful. Rajil
Re: Referencing subfigures
On Tuesday 14 October 2003 10:15, Herbert Voß wrote: > attached the testfile. It is not a good idea to > count figures sectionwide, when having chapters. > > Herbert Thanks Herbert for your help. However, it seems i was not clear enough with my question, my apologies. What i wanted was the Caption in the Figure to be 1.1.1 and the reference in the text as 1.1.1(a). If you see my original file, the reference in the text is coming out to be 1.1(a) and not 1.1.1(a). The structure i have followed in my report is, for captions i use Chapter. Section.Figure Number , i dont know if this is the correct way to write captions when using chapters. Thanks for your help in advance. Rajil
Re: Referencing subfigures
On Tuesday 14 October 2003 11:15, Rajil Saraswat wrote: > On Tuesday 14 October 2003 10:15, Herbert Voß wrote: > > attached the testfile. It is not a good idea to > > count figures sectionwide, when having chapters. > > > > Herbert > > Thanks Herbert for your help. However, it seems i was not clear enough with > my question, my apologies. What i wanted was the Caption in the Figure to > be 1.1.1 and the reference in the text as 1.1.1(a). If you see my original > file, the reference in the text is coming out to be 1.1(a) and not > 1.1.1(a). > > The structure i have followed in my report is, for captions i use Chapter. > Section.Figure Number , i dont know if this is the correct way to write > captions when using chapters. > > Thanks for your help in advance. > > Rajil Any advice on this Herbert. Sorry, i am to submit my report this week so i am hurrying things a bit. If there is no straight solution, i will add an (a) and (b) manually. Thanks.
Re: Referencing subfigures
On Tuesday 14 October 2003 22:45, Herbert Voß wrote: > Rajil Saraswat schrieb: > > > > Any advice on this Herbert. Sorry, i am to submit my report this week so > > i am hurrying things a bit. If there is no straight solution, i will > > add an (a) and (b) manually. > > > attached, > > Herbert > Thanks a lot Herbert, this was very useful. Rajil
Incorrect Page Numbering
I am using the 'report class' and have added Abstract and Acknowledgements before the Table of Contents. The main body of the report is supposed to use the arabic pagenumbers while others have to use the roman numbering. The problem is that the TOC is resetting the pagenumbers and not following the original pagenumbering. Moreover the page numbers in the generated TOC is also incorrect, as Abstract and Acknowledgement page have the same page number i.e. (i). I am attaching the lyx file with this email. Please correct me where i am wrong. Thanks. Rajil test.lyx Description: application/lyx
Re: Incorrect Page Numbering
On Thursday 09 October 2003 09:18, Juergen Spitzmueller wrote: Rajil Saraswat wrote: I am attaching the lyx file with this email. Please correct me where i am wrong. Have a look at the attached corrected example. Jürgen. Thanks for correcting my mistakes. Your file was very neat, i could learn a lot by using minimal commands and making things less messy. I inserted your file into my main document, the pagenumbering comes out well. However the page break between the Acknowledgement and the TOC seems to be lost. Maybe this is because of the stuff in preamble. I would be gratefull if you can have a look at this new file. Thanks Rajil test2.lyx Description: application/lyx
Re: Incorrect Page Numbering
On Thursday 09 October 2003 09:56, Juergen Spitzmueller wrote: Rajil Saraswat wrote: However the page break between the Acknowledgement and the TOC seems to be lost. Maybe this is because of the stuff in preamble. This is because of the package tocloft, which does not start a new page between toc, lof, and lot. You have to insert a page break (or a \clearpage command) manually immediately before the toc (and lof, lot, if you need). Jürgen. Thanks adding a clear page before TOC did it!! cheers Rajil
Incorrect Page Numbering
I am using the 'report class' and have added Abstract and Acknowledgements before the Table of Contents. The main body of the report is supposed to use the arabic pagenumbers while others have to use the roman numbering. The problem is that the TOC is resetting the pagenumbers and not following the original pagenumbering. Moreover the page numbers in the generated TOC is also incorrect, as Abstract and Acknowledgement page have the same page number i.e. (i). I am attaching the lyx file with this email. Please correct me where i am wrong. Thanks. Rajil test.lyx Description: application/lyx
Re: Incorrect Page Numbering
On Thursday 09 October 2003 09:18, Juergen Spitzmueller wrote: Rajil Saraswat wrote: I am attaching the lyx file with this email. Please correct me where i am wrong. Have a look at the attached corrected example. Jürgen. Thanks for correcting my mistakes. Your file was very neat, i could learn a lot by using minimal commands and making things less messy. I inserted your file into my main document, the pagenumbering comes out well. However the page break between the Acknowledgement and the TOC seems to be lost. Maybe this is because of the stuff in preamble. I would be gratefull if you can have a look at this new file. Thanks Rajil test2.lyx Description: application/lyx
Re: Incorrect Page Numbering
On Thursday 09 October 2003 09:56, Juergen Spitzmueller wrote: Rajil Saraswat wrote: However the page break between the Acknowledgement and the TOC seems to be lost. Maybe this is because of the stuff in preamble. This is because of the package tocloft, which does not start a new page between toc, lof, and lot. You have to insert a page break (or a \clearpage command) manually immediately before the toc (and lof, lot, if you need). Jürgen. Thanks adding a clear page before TOC did it!! cheers Rajil
Incorrect Page Numbering
I am using the 'report class' and have added Abstract and Acknowledgements before the Table of Contents. The main body of the report is supposed to use the arabic pagenumbers while others have to use the roman numbering. The problem is that the TOC is resetting the pagenumbers and not following the original pagenumbering. Moreover the page numbers in the generated TOC is also incorrect, as Abstract and Acknowledgement page have the same page number i.e. (i). I am attaching the lyx file with this email. Please correct me where i am wrong. Thanks. Rajil test.lyx Description: application/lyx
Re: Incorrect Page Numbering
On Thursday 09 October 2003 09:18, Juergen Spitzmueller wrote: > Rajil Saraswat wrote: > > I am attaching the lyx file with this email. Please correct me where i am > > wrong. > > Have a look at the attached corrected example. > Jürgen. Thanks for correcting my mistakes. Your file was very neat, i could learn a lot by using minimal commands and making things less messy. I inserted your file into my main document, the pagenumbering comes out well. However the page break between the Acknowledgement and the TOC seems to be lost. Maybe this is because of the stuff in preamble. I would be gratefull if you can have a look at this new file. Thanks Rajil test2.lyx Description: application/lyx
Re: Incorrect Page Numbering
On Thursday 09 October 2003 09:56, Juergen Spitzmueller wrote: > Rajil Saraswat wrote: > > However the page break between the Acknowledgement and the TOC seems to > > be lost. Maybe this is because of the stuff in preamble. > > This is because of the package tocloft, which does not start a new page > between toc, lof, and lot. You have to insert a page break (or a \clearpage > command) manually immediately before the toc (and lof, lot, if you need). > > Jürgen. Thanks adding a clear page before TOC did it!! cheers Rajil
Re: Xfig question
Can you do subscripts and superscripts in dia? What about mathematical symbols(latex code?) Thanks Rajil On Wednesday 17 September 2003 22:59, Kayvan A. Sylvan wrote: On Wed, Sep 17, 2003 at 02:53:43PM -0700, Rich Shepard wrote: On Wed, 17 Sep 2003, Kayvan A. Sylvan wrote: You could try dia: And there's also 'sketch'. So, that makes four vector drawing programs for linux. I need to learn only one and, despite its rather ugly appearance, xfig should do curves quite well. I just need to learn how. Sigh. FWIW, I'm looking now at tgif to see how it does on the curves. Then I suppose I'll have to compile sketch's python-image dependency and install it so I can get sketch running. I'd rather learn one tool than have to investigate them all. :-) dia is real nice. It's got RPMs and some good web documentation and is quite intuitive. I also use it on Windows and the diagram files are cross-platform. ---Kayvan --- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | crown of her husband | Robin Gregory (2/28/92) -- Rajil Saraswat Materials Processing Group, Department of Materials, Tel(O): +44-20-759 46746 Imperial College,Tel(R): +44-20-785 20128 Prince Consort Road, London, SW7 2BP, U.K # Gentoo Linux Linux Version 2.4.20-gentoo-r5, Compiled #2 Mon Jul 28 08:04:17 BST 2003 One 1.67GHz AMD Athlon XP Processor, 512M RAM, 3322.67 Bogomips Total Load Average 0.00, 0.00, 0.08 Uptime 6 hours 10 minutes evelyn-29-177.hor.ic.ac.uk
Re: Xfig question
Can you do subscripts and superscripts in dia? What about mathematical symbols(latex code?) Thanks Rajil On Wednesday 17 September 2003 22:59, Kayvan A. Sylvan wrote: On Wed, Sep 17, 2003 at 02:53:43PM -0700, Rich Shepard wrote: On Wed, 17 Sep 2003, Kayvan A. Sylvan wrote: You could try dia: And there's also 'sketch'. So, that makes four vector drawing programs for linux. I need to learn only one and, despite its rather ugly appearance, xfig should do curves quite well. I just need to learn how. Sigh. FWIW, I'm looking now at tgif to see how it does on the curves. Then I suppose I'll have to compile sketch's python-image dependency and install it so I can get sketch running. I'd rather learn one tool than have to investigate them all. :-) dia is real nice. It's got RPMs and some good web documentation and is quite intuitive. I also use it on Windows and the diagram files are cross-platform. ---Kayvan --- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | crown of her husband | Robin Gregory (2/28/92) -- Rajil Saraswat Materials Processing Group, Department of Materials, Tel(O): +44-20-759 46746 Imperial College,Tel(R): +44-20-785 20128 Prince Consort Road, London, SW7 2BP, U.K # Gentoo Linux Linux Version 2.4.20-gentoo-r5, Compiled #2 Mon Jul 28 08:04:17 BST 2003 One 1.67GHz AMD Athlon XP Processor, 512M RAM, 3322.67 Bogomips Total Load Average 0.00, 0.00, 0.08 Uptime 6 hours 10 minutes evelyn-29-177.hor.ic.ac.uk
Re: Xfig question
Can you do subscripts and superscripts in dia? What about mathematical symbols(latex code?) Thanks Rajil On Wednesday 17 September 2003 22:59, Kayvan A. Sylvan wrote: > On Wed, Sep 17, 2003 at 02:53:43PM -0700, Rich Shepard wrote: > > On Wed, 17 Sep 2003, Kayvan A. Sylvan wrote: > > > You could try dia: > > > > And there's also 'sketch'. > > > > So, that makes four vector drawing programs for linux. I need to learn > > only one and, despite its rather ugly appearance, xfig should do curves > > quite well. I just need to learn how. Sigh. > > > > FWIW, I'm looking now at tgif to see how it does on the curves. Then I > > suppose I'll have to compile sketch's python-image dependency and install > > it so I can get sketch running. I'd rather learn one tool than have to > > investigate them all. :-) > > dia is real nice. It's got RPMs and some good web documentation and is > quite intuitive. > > I also use it on Windows and the diagram files are cross-platform. > > ---Kayvan > --- > Kayvan A. Sylvan | Proud husband of | Father to my kids: > Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena > (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory > (2/28/92) -- Rajil Saraswat Materials Processing Group, Department of Materials, Tel(O): +44-20-759 46746 Imperial College,Tel(R): +44-20-785 20128 Prince Consort Road, London, SW7 2BP, U.K # Gentoo Linux Linux Version 2.4.20-gentoo-r5, Compiled #2 Mon Jul 28 08:04:17 BST 2003 One 1.67GHz AMD Athlon XP Processor, 512M RAM, 3322.67 Bogomips Total Load Average 0.00, 0.00, 0.08 Uptime 6 hours 10 minutes evelyn-29-177.hor.ic.ac.uk