Scott Guthery | 29 May 17:07 2015

Incrementing a Global Macro Variable

I'd like to run a macro script multiple times with each execution using a 
numeric value has been incremented by one vis-à-vis the previous running of 
the macro.  This might be useful, for example, for setting all the KEY 
values of entries in a bib file to different values.  A global variable 
seems to be the way to accomplish this but I don't see how to a) set a 
global variable to a numeric value or b) how to increment the global 
variable value assuming could I could set it to a numeric values.

Guidance?

Cheers, Scott

David Huffer | 28 May 18:15 2015

mode-sensitive comment

where do I define custom comment strings?  In .edt files, Edit..Move/Fill..Insert Comment used to
appropriately add "//" but that is no longer the case for me.  thanks!

--
  David 

Jörg Weber | 21 May 17:38 2015

RE: Compile XeLaTeX / PDFLaTeX with same shortcut

Alex,

 

many thanks. I actually found a different approach in Exec\TeX\Compile.edt

 

  // Assign 1 if you want to process preamble for compiler directive

  // % !Compiler:: "foo"

  // and execute Exec\TeX\foo.edt instead!

  // By default it is disabled:

  LetReg(9,!'1');

 

  // Assign 1 if you want to execute the currently selected compiler in

  // TeX Compile drop-down button.

  // By default it is disabled:

  LetReg(8,!'1');

 

Exactly what I wanted!

 

Jörg

 

 

 

From: WinEdt Team [mailto:support <at> winedt.com]
Sent: Dienstag, 19. Mai 2015 18:30
To: winedt+list <at> wsg.net
Subject: Re: [WinEdt] Compile XeLaTeX / PDFLaTeX with same shortcut

 

Jörg,

 

> I am switching quite a bit between XeLaTeX and PDFLaTeX. Is it
> possible to assign the same Keyboard shortcut to use both (e.g.
> F12)?
>
> I was browsing through the configuration inis to see if I can use a
> shortcut to trigger whatever engine is currently active in the
> toolbar, but couldn’t find anything. Or is it possible to use
> modes? Either option would be fine for me, but I would prefer to
> use one keyboard shortcut.

 

It is possible to introduce a menu item with a single shortcut (eg.
F12):

 

  BtnClick('TeX Compile');

 

Its main advantage is that a single shortcut executes whatever you
select in the drop-down menu. The default settings currently don't
use this feature but you can create a menu item that does just
that.

 

These are macros of interest if you want to manipulate such buttons
with shortcuts:

 

  BtnClick( "Button", "Menu_Item" );
  BtnGetDown( "Button", Register );
  BtnSetDown( "Button", State );
  BtnGetMenuItem( "Button", Register );

 

Best regards,

 

alex

 

 

nathalie | 20 May 08:23 2015

SVN for WinEdt 9

Hi,

I use SVN for version control and would like to know if this package at winedt.org:


is supported on WinEdt 9 and higher.

Thank you.

Nathalie
Stefan Zaiser | 20 May 08:00 2015
Picon

Source file reverted after pdflatex run

Hi,
When I compile a document with pdflatex and change something in the 
source file (while the compilation is running), my change is reverted 
after the compilation is finished. This is especially annoying if there 
is an error in the source file and thus pdflatex is waiting for some 
user interaction. If I correct the error and then press the x key in the 
console, I have to correct the error a second time as my correction has 
been undone.

Is there a way to disable the revert of the source file after the 
compilation has finished?

I am using WinEdt 9.1 on Windows 7 64bit with MikTeX 2.9.

Thanks for any help!

Regards,
Stefan

Jörg Weber | 19 May 17:07 2015

RE: Compile XeLaTeX / PDFLaTeX with same shortcut

Sorry, I forgot to say that I am using WinEDT 9.1 with LaTeXify.

 

From: Jörg Weber
Sent: Dienstag, 19. Mai 2015 16:06
To: 'winedt+list <at> wsg.net'
Subject: Compile XeLaTeX / PDFLaTeX with same shortcut

 

I am switching quite a bit between XeLaTeX and PDFLaTeX. Is it possible to assign the same Keyboard shortcut to use both (e.g. F12)?

 

I was browsing through the configuration inis to see if I can use a shortcut to trigger whatever engine is currently active in the toolbar, but couldn’t find anything. Or is it possible to use modes? Either option would be fine for me, but I would prefer to use one keyboard shortcut.

 

Thanks,

Jörg

nathalie | 18 May 18:11 2015

Themes package: No coloured themes

Hi,

I installed the Themes package (14.04.15) from winedt.org. I am using the new WinEdt 9.1 on a Win 8 64-bit machine. I got the following messages in the console:.

Installing...

OK:      File ChangeTheme.edt copied to Config.
OK:      File ConfigEx\MainMenu.ini not modified (already OK).

Done...

However, I do not get any options for choosing one of the proposed three themes. The menu only shows the word Default and nothing else: Choose an available theme---Only Default is present.

Thank you for any help.

Nathalie

Per Ting | 17 May 08:39 2015
Picon

Auto-complete in 9.1

Auto-complete is a nice and welcome feature of Winedt 9.1. Can someone please tell me:

1-How can I add new autocomplete rules for certain packages (tikz, pgfplots, beamer, pstricks, memoir, etc.) to winedt and activate/deactivate them based on the document I am working on.Is there a section in the documentation that describes the process in detail?

2-Texstudio has already .cwl files for autocompletion for numerous latex packages (see http://sourceforge.net/p/texstudio/hg/ci/default/tree/completion/ ). Is there a way that these ready-made packages can be used with Winedit (either directly or after some editing) ?

Thanks,
Alan G Konheim | 16 May 18:40 2015
Picon
Picon

Re: New auto-completion feature and Fastex macro

Please remove me from your mailing list.
Alan Konheim

On 5/16/2015 9:25 AM, Karl Koeller wrote:
> Il 16/05/2015 14:03, Raghu Naik ha scritto:
>> Do the auto-completion feature and the fastex macro interfere with 
>> each other? After updating to 9.1, the fastex macro is not working 
>> now. Did try reinstalling Fastex but did not help.
>>
>> Thanks.
>>
>> Raghu
>
> Please run Options -> Maintenance -> Upgrade Personal Configuration to 
> merge your
> personal settings with the new ones in WinEdt 9.1.
>
> Best regards,
>
> Karl
>

Raghu Naik | 16 May 14:03 2015
Picon

New auto-completion feature and Fastex macro

Do the auto-completion feature and the fastex macro interfere with each other? After updating to 9.1, the fastex macro is not working now. Did try reinstalling Fastex but did not help.

Thanks. 

Raghu
Ulrike Fischer | 16 May 12:48 2015
Picon

Upgrade to 9.1 and personal configurations

I upgraded yesterday on one of my PC from 9.0 to winedt 9.1., ran
"Upgrade Personal Configuration"  and then checked what it did to my
configurations.

On problem that I had was in ActiveStrings.ini: On doubleclick on
\documentclass and similar commands I don't want to get the
documentation but open the file. So my ini contained this

STRING="\documentclass?{?}"
  DBL_CLICK_ENABLED=1
  DBL_CLICK_MODE_FILTER="TeX|AUX"
  DBL_CLICK_MACRO="[Assign('kpsefileext','.cls');"+
                    "Exe('%b\Macros\UF\UFfindtexmf.edt');]"  

The original STRING-definition was still in ActiveStrings.ini but
commented.

The upgrade now added to ActiveStrings.ini (behind my setting) the
standard definition which calls  again %b\Macros\Doc\LaTeXDoc.edt

The question is: How can I avoid this in the future? How can I
protect my settings so that winedt realize that I did something
special and so doesn't dare to revert or change them?

--

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


Gmane