LaTeXEditor Forum Forum Index LaTeXEditor Forum
LaTeXEditor Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

LEd build 506108

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    LaTeXEditor Forum Forum Index -> Announcements
View previous topic :: View next topic  
Author Message
Adam



Joined: 30 Dec 2006
Posts: 46

PostPosted: Sun Mar 11, 2007 10:11 am    Post subject: LEd build 506108 Reply with quote

Please find test build 506108 in:
http://download.latexeditor.org/506108.zip

Changes:
- google breakpad,
- new <FILELINE> parameter for batch files,
- some small bugs were fixed.

Google breakpad is a crash reporting system which will help us stabilize LEd.
After each crash a dump file is created in <LEd_dir>\CrashRpts.
This file should be send to support@latexeditor.org.

Adam
Back to top
View user's profile Send private message
dvase



Joined: 03 Feb 2007
Posts: 15

PostPosted: Mon Mar 12, 2007 1:51 am    Post subject: Reply with quote

Thanks for the extra command, it seems to be working beautifully with Yap. 'Very Happy'

Not that it really matters (because it is currently working), but I can't seem to redefine the constants passed to the batch file.

For example, in the tex_cmd.gd file I have the following line:

Code:

11010=11010=Command.BuildAll=Build all=/l53010/l=exec:build.bat <MAINFILEDIR> <MAINFILENAME> <MAINFILEDISK> <FILENAMEEXT> <FILELINE>


If I understand the syntax, this should define the variable %5 as the FILELINE passed to the Build.bat file. However switching the order of the declarations to:

Code:

11010=11010=Command.BuildAll=Build all=/l53010/l=exec:build.bat <MAINFILEDIR> <MAINFILENAME> <MAINFILEDISK> <FILELINE> <FILENAMEEXT>


should redefine FILELINE as the %4 variable. This does not seem to be the case, as my Build.bat file only correctly forward links with the following configuration:


Code:
@echo off
%3
cd %1
rem texify --src-specials %2.tex
yap -1 -s %5%4 %2.dvi


Regardless of the tex_cmd.gd configuration.

Once again, thanks for the new addition! Very Happy
Back to top
View user's profile Send private message
dvase



Joined: 03 Feb 2007
Posts: 15

PostPosted: Tue Mar 13, 2007 3:21 am    Post subject: <FILELINE> use with Yap Reply with quote

FYI: Note that you will need to enclose the Forward search Yap command with quotations, like this:
Code:

yap -1 -s "%5%4" %2.dvi


where %5 is your <FILELINE> and %4 is <FILENAMEEXT>.

This is because of an inability of Yap to correctly deal with the quotations around the strings <FILELINE> and <FILENAMEEXT> that automatically come with the variables.
Back to top
View user's profile Send private message
Le Furet



Joined: 05 Feb 2007
Posts: 29

PostPosted: Mon Mar 19, 2007 7:11 pm    Post subject: Reply with quote

Three crashes tonight and no report in the CrashRpt directory...
_________________
Please excuse my english, I'm french Smile
Back to top
View user's profile Send private message
fisher
Guest





PostPosted: Thu Apr 05, 2007 7:01 pm    Post subject: Reply with quote

Hi.

First of all thank you guys for the effort!

Searching for a way to use yap as the dvi viewer I saw this new LINENUMBER parameter feature. But somehow I'm missing something. How do I get the new tex_cmd.gd definition file? The zip file with the new build doesn't ship it, it's only the .exe, right?

If I put the following in any of Build.bat or user1.bat and call the according function I get the second code snippet:

Code:
echo %1 %2 %3 %4 %5 %6 %7 %8 %9


Code:
05-04-2007 20:45:50: START  "XX:\Program Files\LEd\Batches\user1.bat" "xxxxxxxxx\AVM" "2007" C:
05-04-2007 20:45:53: STOP


(I 'x'ed out the path). Besides the fact, that the 2007 is only the first part of the filename which continues with ".04.23".... (note the dots) the parameter set seams to be only the default, i.e. the old one. Which, if I understand right, is not very surprising as in the tex_cmd.gd it says in the user1 line:
Code:
11021=11021=Command.User1=User1=/l53021/l=exec:user1.bat <MAINFILEDIR> <MAINFILENAME> <MAINFILEDISK>


As dvase noted before, changes to that file seam to not take effect at all (I changed it to add the <FILENAMEEXT> and <FILELINE> fields, same output). Or is there another location to change that?

Comments appreciated! Thanks a lot in advance!

--fisher[/code]
Back to top
dvase



Joined: 03 Feb 2007
Posts: 15

PostPosted: Fri Apr 06, 2007 3:30 am    Post subject: Reply with quote

fisher, I've had some trouble in the past with LaTeX and filenames that start with numbers. Try changing your filename to something very safe and predictable (i.e. "test.tex") and see if that fixes the problem.

dvase
Back to top
View user's profile Send private message
fisher
Guest





PostPosted: Fri Apr 06, 2007 8:29 pm    Post subject: Reply with quote

@dvase

Thanks for your hint. It worked! Also I noticed that LEd seams to read in the .gd files at startup only. So it needs to be restarted in order for changes to those files to take effect.

Now it works fine for me with
Code:
yap -1 --find-src-special="%5%4" %2.dvi
in both directions, i.e. also back to LEd (only that after double clicking LEd is not brought to front; but that I can live with Wink ). Applying the echo command above I can confirm that there are those 5 parameters, and only those.

I just have to figure out a way to organize my file names with "one piece documents" where I don't have a representatively named folder containing it. It seams the only file name type is only "one word" names, i.e. no spaces. Even though the file name is passed in double quotes. Numbers seam to be abominated since yap says "The DVI page could not be found" (filename main234.tex, passed with %5. main.tex works!).

Edit: If one double quotes the variables in the tex_cmd.gd file blanks in file and folder names seam to work. I'm getting there Cool

--fisher
Back to top
fisher
Guest





PostPosted: Fri Apr 06, 2007 11:37 pm    Post subject: Reply with quote

Hi again.

I figured out a working user1.bat:
Code:
@rem You can put here any commands you want - this batch file can be executed from LEd's toolbar
@rem There are parameters passed  to this batch. You can also define in tex_cmd.gd file some
@rem additional parameters to be passed to this batch file. LEd has to be restarted after editing
@rem tex_cmd.gd.
@echo off
@set MAINFILEDIR=%1
@set MAINFILENAME=%2
@set MAINFILEDISK=%3
@set FILELINE=%4
@set FILENAMEEXT=%5
echo %0 %1 %2 %3 %4 %5 %6 %7 %8 %9
%MAINFILEDISK%
cd %MAINFILEDIR%
@rem latex.exe -src-specials -interaction=nonstopmode %MAINFILENAME%
@rem bibtex.exe %MAINFILENAME%
yap -1 --find-src-special="%FILENAMEEXT%%FILELINE%" %MAINFILENAME%.dvi


The latex.exe and bibtex.exe lines, of course, have to go to the corresponding .bat files.

With the according entries in tex_cmd.gd:
Code:
11021=11021=Command.User1=User1=/l53021/l=exec:user1.bat "<MAINFILEDIR>" "<MAINFILENAME>" <MAINFILEDISK> <FILENAMEEXT> <FILELINE> "<PROJECTDIR>"


Also, I played around a little with a build.bat (I'm just posting it in hope it's usefull to anyone):
Code:

@echo off
echo %1 %2 %3 %4 %5 %6 %7 %8 %9
@set MAINFILEDIR=%1
@set MAINFILENAME=%2
@set MAINFILEDISK=%3
@set PROJECTDIR=%4
@set POJECTNAME=%5
@set FILELINE=%6
@set FILENAMEEXT=%7
@rem
@%MAINFILEDISK%
@cd %MAINFILEDIR%
@rem if exist %MAINFILENAME%.pdf del /f %MAINFILENAME%.pdf
@rem if exist %POJECTNAME%.pdf del /f %POJECTNAME%.pdf
@for /L %%i in (1,1,3) do latex.exe -interaction=nonstopmode -src-specials %MAINFILENAME%
bibtex.exe %MAINFILENAME%
latex.exe -interaction=nonstopmode -src-specials %MAINFILENAME%
yap -1 --find-src-special="%FILENAMEEXT%%FILELINE%" %MAINFILENAME%.dvi
@for /L %%i in (1,1,3) do pdflatex.exe  -interaction=nonstopmode %MAINFILENAME%
bibtex.exe %MAINFILENAME%
pdflatex.exe -interaction=nonstopmode %MAINFILENAME%
ren %MAINFILE%.pdf %PROJECTNAME%.pdf
@rem clean up:
for /f %%I in (*.log *.aux *.bbl *.blg *.ilg *.toc *.lof *.lot *.idx *.ind *.out *.fff *.ttt) del /q %%I

along with
Code:
11010=11010=Command.BuildAll=Build all=/l53010/l=exec:build.bat "<MAINFILEDIR>" "<MAINFILENAME>" <MAINFILEDISK> "<PROJECTDIR>" "<PROJECTNAME>" <FILELINE> <FILENAMEEXT>


Comments are welcome! Feel free to use or quash Wink

--fisher.
Back to top
luxlighting



Joined: 30 Sep 2008
Posts: 1
Location: Shenzhen,China

PostPosted: Tue Sep 30, 2008 4:04 pm    Post subject: Led Household bulbs ,spotlights ,Auto bulbs . Reply with quote

How are you ?
We are manufacturer of led household bulbs and autobulbs .Project lamps .
1.)Led household bulbs: ( Equivalent Incandescent Bulbs )
MR11 9LEDS .G4 Bulb .
MR16 1W,3W,3*1W
GU10 1W,3W,3*1W ,3*2w
JDRE27 1W,3W,3*1W .
E14 1W,3W,3*1W .
PAR20 3*1W .3*2W
PAR30 5*1W .7*1W .
(12V or 85-265V .)
PAR38 12*1W .( 85-260V )
Low power MR16 ,GU10 With 12LEDs.with reflector ( 0.72w) .
PAR30 with 60LEDs( 3.6W).PAR38 With 108LEDs .
We have 2800K ,3000K ,3200K ,4000K .5000k ,6700K ,11000K .12000K color temperature for choice .But All with same Price .

2) Led deocration bulbs .led wall washer ,led underground lamps .Led linear lamp
3)Led strip lamps : 5meter/reel .Can bent and cut .waterproof .choice of color .: red,yellow,blue,green,white .RGB .5meter/reel .12V .can bent ,cut .
4) Led autobulbs : T5Wedge .
. T8Wedge.(T8 Concave BA9S )
T10Wedge(T10BA9S) ,T15Wedge,BA9S ,3-LED ,4LEDS.5LEDs.
Super Festoon 33mm ,37mm 42mm 44mm
(.single chip .3chips) .red,blue, ,cool white (6500k) .warm white (3000-3200k).
.T25,18,27,36LEDs .Superflux tower 13,20LEDs.
BA15S ,BAY15D ,BA15S,3157 ,etc .
4) The delivery cost will depend on your order ( weight of your order )
5)We never ignore small orders .

We provide Time warrenty : One year ( all LED products )

We also Do OEM service for worldwide customers .thanks .

Thanks & best regards

Danny Duan
Export manager
shenzhen lux lighting technologies co.,ltd
www.luxledlight.com
Add: 904 ,124Building ,Mingle New village ,Longhua ,shenzhen ,china ,
Tel.0086-755-28096562 。0086-755-28096561-888
Fax.0086-755-28096562
E-mail: luxlighting@126.com / duanjian_2006@yahoo.com.cn
Msn;gtl-guangzhou-danny@hotmail.com
Yahoo ID : duanjian_2006
Skype; sinocolighting
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    LaTeXEditor Forum Forum Index -> Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group