Lemenn | 25 Mar 20:24 2015
Picon

GetFileSize

Hello Alex !

I can't find a command to get the size of a file in
the macro manual.

It could be interesting to provide GetFileSize("file", <register>);
or GetFileFileSize("file", <which info>, <register>);
where <which info> is a flag to get the number of bytes, the line count
etc. in the manner of unix utility wc.

The point arises to avoid to automatically update the .log file :
              UpdateFile("%e");
if it is very large (which is quickly the case when TeX loops
indefinitely).

Thanks in advance.

Florent.

---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
http://www.avast.com

Lemenn | 23 Mar 18:19 2015
Picon

TImage control / glyph

Hello,

Presently, it is possible to decorate a form with a small
image using a TSpeedButton control, as show in the following
minimal example.

Now that WinEdt9 deals with variable size images, it would be nice
in a future release if a "TImage" control could display an image,
with a larger size than TSpeedButton / glyph allow. I think about
TImage, but it could be either a TPanel with a glyph field.

Another point about TSpeedButtons : the glyph is always
on the center of the button, making it difficult to use
with both a glyph and a caption. May be 'glyphalign=left/center/right'
could be provided...

And finally, I'm still not skilled in Delphi but it might be
easy (at first glance) to provide the 'default' and 'cancel'
properties for TSpeedButton...

Best regards.

Florent.

// -----------------------------------------------------
MUIReset("GLYPH");
MUISet('','width','600');
MUISet('','height','100');
MUISet('','position','1'); // Main Form Center

(Continue reading)

Robert K | 22 Mar 21:18 2015

RE: WinEdt Themes



Alex,
Thank you for the answer.
If I manage to implement solarize theme (good for sunny day) I will share with others.

Best Regards,
Robert

From: support <at> winedt.com
To: winedt+list <at> wsg.net
Date: Sun, 22 Mar 2015 14:09:44 -0300
Subject: Re: [WinEdt] WinEdt Themes

<!-- .ExternalClass .ecxhmmessage P { padding:0px; } .ExternalClass body.ecxhmmessage { font-size:12pt; font-family:Calibri; } -->
Robert,
 
> Do you know if it's possible to implement one of the Sublime
> Themes: http://colorsublime.com/ I mean an easy and painless way
> because I'm pretty sure that editing many files I will finally get
> what I want. I started tweaking it but I gave up - it's tedious and
> cumbersome. If it's not possible does anybody plan (may be Alex in
> the foreseeable future) to write a plug-in?
 
The Sublimes Themes were written for a different application using
different tools. It would be possible to decipher the colors and
adapt / translate / steal them for WinEdt 9.
 
What it takes is assigning RGB values to about 100 named colors
that are used by WinEdt for highlighting and other editor Window
color properties. Yes, it is tedious, it requires some planning and
designing to come up with something that is consistent and
aesthetically pleasing and give it a "catchy name" like "Midnight
Blue" or "Northern Stars"... Making such a scheme would take
about 100 boring lines of color assignments like this:
 
  sclWindowBk="clBlack"
  sclWindowText="clLime"
  sclHighlightBk="SysHighlight"
  sclHighlightText="SysHighlightText"
  sclFoundStringBk="#00A0FF"
...
  // Spelling: underline colors
  spcError="clRed"
  spcWarning="clLime"
  spcCompounded="clAqua"
  // Filter Sets (special characters)
  fscNumeric="clPaleTurquoise"
  fscMathSymbols="clLightCyan"
  fscTextDelimiters="#E0E0C0"
  fscDelimiters="clAquamarine"
  fscParenthesis="clAquamarine"
 
After that it is trivial to apply (load) it for other users. It
takes equal (and probably larger) amount of work to prepare a
sublime theme and make it pass "npm dependencies" tests -- for
those that know what that is:-) Installing an existing theme
(prepared by somebody else) is, of course, easy.
 
What I am saying is: it is perfectly possible for WinEdt users to
prepare themes like this and share them with others on winedt.org.
Popular designs might even become available as alternatives in the
future defaults. However, I will not embark on this myself. Graphic
design is not one of my strong skills. Furthermore, I personally
don't feel passionate enough about alternative color schemes and
would probably not use them anyway. I'll leave this one as a
challenge to the community. It can be done and it can be made
friendly to share without my direct involvement.
 
Fair enough?
 
Best regards,
 
alex
 
Robert K | 20 Mar 08:48 2015

WinEdt Themes


Dear Users,
Do you know if it's possible to implement one of the Sublime Themes: http://colorsublime.com/
I mean an easy and painless way because I'm pretty sure that editing many files I will finally get what I want. I started tweaking it but I gave up - it's tedious and cumbersome.
If it's not possible does anybody plan (may be Alex in the foreseeable future) to write a plug-in?

- Robert       



Winifred | 17 Mar 10:21 2015

Fwd: Your Amazon.co.uk order of "Great and British Knitwear..." has been dispatched


On Tue Mar 17 03:40:18 CDT 2015, "Amazon.co.uk" 
<auto-shipping <at> amazon.co.uk> wrote:

> Amazon.co.uk Dispatch Confirmation
> Order #026-4676094-2562767 
> https://www.amazon.co.uk/ref=TE_3p_tex_g
> 
> ___________________________________________________________________________
> 
> Hello, We thought you'd like to know that Great & British 
> Knitwear dispatched your item(s). Your order is on the way, and 
> can no longer be changed.
> 
> Your estimated delivery date is:
> Wednesday, March 25, 2015
> 
> Your order was sent to the following address:
> 	
> Mrs W Sillitto
> 1 THE GRANARY
> VICTORIA STREET
> DUNBAR, EH42 1HW
> United Kingdom
> 
> Your item(s) is (are) being sent by Royal Mail. This order does 
> not have an associated tracking number.
> 
> To understand why tracking isn't available, please visit our Help 
> page: http://www.amazon.co.uk/notracking?ref=TE_3p_tex_not
> ============================================================================
> 
> Delivery Information
> 
> 1 X Great and British Knitwear Ladies' 100% Lambswool Plain Round 
> Neck Jumper. Made In Scotland-New Camel-Large
> Sold by Great & British Knitwear
> £40.00
> Condition: New
> ___________________________________________________________________________
> 
> Item Subtotal: £40.00
> Postage & Packing: £2.95
> Total: £42.95
> Paid by Visa: £42.95
> ============================================================================
> 
> It's easy to return an item. Visit our Online Returns Centre: 
> https://www.amazon.co.uk/returns-support?ref=TE_3p_tex_r
> 
> If you need further assistance with your order, please contact 
> the seller Great & British Knitwear: 
>
https://www.amazon.co.uk/gp/help/contact-seller/contact-seller.html?ie=UTF8&orderID=026-4676094-2562767&sellerID=A1DK3GV9HDO8JU&ref=TE_3p_tex_mcf 
> We hope to see you again soon.
> Amazon.co.uk 
> ___________________________________________________________________________
> 
> Visit our Returns Support Centre: 
> https://www.amazon.co.uk/returns to return your item. If you 
> don’t want to use our Returns Support Centre, and you want to 
> exercise your right of cancellation, you may use this form: 
> http://g-ec2.images-amazon.com/images/G/02/cs/documents/CancellationformMFN14_uk._V350984941_.pdf.
> 
> Please note: This email was sent from a notification-only address 
> that can't accept incoming email. Please do not reply to this 
> message.
Kamil | 1 Mar 17:06 2015
Picon

Winedt as an active window after running PDFLaTeX

Hello,

I use build 20140917 - 64-bit on W7. When I run PDFLaTeX, the output pdf
appears in Sumatra but the Sumatra window remains active. I have to switch
manually (Alt-Tab) to Winedt and that can be annoying (especially when
multiple runs are necessary). I tried to experiment with SetFocus(''); (I
found it in an old thread from 2006; it seems obsolete(?)) putting it into
PDFLaTeX.edt but no success. I would like a similar behavior for LaTeX when
previewing it as a dvi file in DVIout.

Any help appreciated,
Kamil

Lemenn | 25 Feb 22:36 2015
Picon

HTMLHelp

Hello,

I have a .chm file (made by myself) that contains information
about TeX primitives.

This .chm file has links to The TeX Book (pdf) using a trick described
here http://www.cybertext.com.au/tips_HTML_chm_external.htm

An object is inserted in the .html page :
<script>
<object id="Knuth_124" type="application/x-oleobject"
        classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"
        width="1" height="1"
        codebase="hhctrl.ocx#Version=6,1,7600,16385">
<param name="Command" value="ShortCut">
<param name="Item1" value=",&quot;CHMOpenPDF.exe&quot;,
                             &quot;TeXBook.pdf&quot;
                             &quot;page=124&quot;">
<param name="Item2" value="273,0,0">
</object></script>

Then a link is made with:
           <a onclick=JavaScript:Knuth_124.Click()>...</a>

This will trigger:  "CHMOpenPDF.exe" "TeXBook.pdf" "page=124"
(CHMOpenPDF is a small utility i made that forces Adobe Reader to close
and reopens TeXBook.pdf at a given page...)

When I launch the .chm file from a windows explorer, the links work
fine, but when I use HTMLHelp they don't work, as if JavaScript was
disabled (I tested with Owner = 0|1  and with WinEdt started as
Administrator or not with no success).

WinExe("", *hh.exe "%C\texchm.chm"*, "%C", "", 100000,0); // Links work
HTMLHelp("%C\texchm.chm', 1, 4, "<keyword>");       // Links don't work

Nota :  In the first case the corresponding process is hh.exe and
         in the second case it is WinEdt.exe ( whether or not Owner =
                                                                1|0 ).

Also, when the process is hh.exe, a caracteristic sound from IExplore
can be heared (Klack !) when a page is loaded (just like i.e.)

Any clue about HTMLHelp with javascript ? Probably the browser used
to display the pages is not the same in each case ?

Thanks by advance.

Staer, Arsenio | 25 Feb 20:19 2015

Copy code from WinEdt to Word keeping the syntax coloring

Dear WinEdt experts,

I was wondering if it were possible to copy the latex code from WinEdt to Word or anywhere with the syntax coloring intact? Say, \section light blue in WinEdt and same color in the copied text in Word. That's for revisions with non-latex using coauthors, which number plenty in my field.

If not WinEdt, then any other editor?

Thank you in advance,

Arsenio Staer 

P.S. This was also posted on latex-community.org. 
Karl Koeller | 21 Feb 13:07 2015

NEW - WinEdt contribution: Floats

Dear WinEdt-ers,

The package Figures&Tables at winedt.org is not available anymore.
It has been substituted by the package Floats.

Users who would like to install the new package have to uninstall
the package Figures&Tables first.

The new package collects not only figures and tables, but also
algorithms and listings.

Visit http://www.winedt.org/Config/Tree/Floats.php for more info and 
download.

Regards,

Karl

Lemenn | 13 Feb 15:55 2015
Picon

Return; and SetOK;

Hello again, Alex

and thanks for your answer about `!' and `+' (very useful feature
indeed !)

I wonder if there is any technical reason that explain why Return;
always sets the OK flag to 1 : Call(:label:); cannot be used in
place of Exe, for Exit observes the OK status.

The question almost arises with SubstituteInString : the \E{macro}
feature is interesting but not very convenient in practice : it is
most often easier to keep a RegEx in the very file where it is used:

SubstituteInString("<string>", >
                    "..\(0pattern\)..", "\Xx{Call(:label:);}", 1);

is extremely efficient : .
    :label: lies in the same file
     SubstituteInString does not need SaveFind; RestoreFind; to keep
        the regex tags (%#0...#9) untouched
     every pattern is matched
     etc.

So my question: \X{Call(:label:);} cannot be used since Return;
always SetOK(1);... it is an end-user point of view...

Best regards,

Florent.

Ulrike Fischer | 12 Feb 12:35 2015
Picon

makeindex mystery

I got a document which has four indexes and so need 4 makeindex
calls with different input/output extensions.

When I compile the document and then click on the "I" in windows all
4 makeindex calls are executed. How is winedt doing this (if it is
winedt at all)? I could find nothing in the macros that explained to
me how makeindex knew that it should compile other files than the
standard idx.

--

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/


Gmane