Robert B. Gozzoli | 28 Jan 05:55
Picon

Trying to create a shortcut for selecting a font

Dear List members,
i am trying to create a shortcut, in order to select a particular font
in xelatex.

I would like to define a short cut that insert this string.

{\Hiero }, as I am using a particular font for the transliteration of
Egyptian hieroglyphs different from the main font.

I would like to select as shortcut something like CTRL+ALT+h

If someone can help me and show how such thing can be achieved, I will
be extremely grateful.

Roberto Gozzoli

Picon
Favicon

PDFLaTeX and BibTeX in WinEdt 6.0

Hi,
     I am uisng WinEdt 6.0 and TeXLive 2011. I normally compile 
documents via the PDFTeXify method (TeX Options as Dvi > ps > pdf). 
However since TL2010, PDFLaTeX will convert eps figures to pdf files. As 
the conventional compiling Dvi > ps > pdf is time consuming with many 
eps files, I normally use PDFLaTeX for small changes that I make in the 
document for faster compilation.

I see however that PDFLaTeX compilation does not include the BibTeX 
compilation as well. How to set this in WinEdt so that BibTeX is also 
called with PDFLaTeX?

Thanks.

Best Regards,

Y.Calleecharan

houda araj | 22 Jan 02:29
Picon
Gravatar

latex to html

Hello,
Is any tool that I can integrate to winedt to convert my latex files to html ?
Thanks


Christian Lubeseder | 21 Jan 17:24
Picon
Picon
Gravatar

Ajusting winedt for Lilypond

I try to use Winedt for the writing of lilypond files (program similar to TeX for the writing of song sheets. It works in combination with TeX). To use the full functionality I want to adjust Winedt, but get some strange Problems.
First I used my winedt 5 (Build: 20071003  (v. 5.5))
Second I donwloaded the latest Winedt 6 ( Build: 20110315  (v. 6.0))
 
1. Including file Types
In the configuration of Modes I add "*.lytex" for the "TeX" Mode.
I create a new Submode "Lily" for the file-Type "*.ly"
 
In the documents settings I can select the Type Lily, but opening a new file with drag and drop it is not recognized under Winedt5. What can be the reason for it?
 
2. Some german letters have to be written in spezial characters. I try to use the translation functionality. I add a new Translation Table. The reading does not wort, writing is doing it in the wrong order. At the end of the file I included the new part of the TranslationTables.ini  Where is my mistake?
 
3. The command to include a file is similar to TeX, but not the same.  A DoubleClick on
    \include "Song.ly"
    should open the file "Song.ly". How do I write it in the ActriveStrings.ini (I have a problem with the Space and " ").
 
 
It would be great to get some help!
 
Best regards
Christian
 
PS: Table for Translation
 
TABLE="Lilypond_Read"
  TYPE=1
  INVERTED=0
  ENABLED=1
  FILTER="Lily"
  ANSI2OEM=0
  ANSI2OEM_FILTER=""
  ANSI2OEM_AFTER=1
  OEM2ANSI=0
  OEM2ANSI_FILTER=""
  OEM2ANSI_AFTER=0
  SUB="END_SUB"
    "ä" -> "ä"
    "ö" -> "ö"
    "ü" -> "ü"
    "Ä" -> "Ä"
    "Ö" -> "Ö"
    "Ü" -> "Ü"
    "ß" -> "ß"
END_SUB
 
TABLE="Lilypond_Write"
  TYPE=2
  INVERTED=0
  ENABLED=1
  FILTER="Lily"
  ANSI2OEM=0
  ANSI2OEM_FILTER=""
  ANSI2OEM_AFTER=1
  OEM2ANSI=0
  OEM2ANSI_FILTER=""
  OEM2ANSI_AFTER=0
  SUB="END_SUB"
    "ä" -> "ä"
    "ö" -> "ö"
    "ü" -> "ü"
    "Ä" -> "Ä"
    "Ö" -> "Ö"
    "Ü" -> "Ü"
    "ß" -> "ß"
END_SUB              
Picon
Favicon

Make $ appears in couples in WinEdt 6

Hello,
           I am using WinEdt 6 on Win XP. A couple of years ago, there 
was a question posted (and a solution given) which concerned the 
automatic insertion of a second $ on typing an $ and returning the 
cursor in between the two $$. This is convenient when writing inline 
maths. The aforesaid old discussion is here and concerned then WinEdt 
5.5 (It also works with v 5.6b):

http://article.gmane.org/gmane.editors.winedt/4202/match=make+apears+couples+just+typing+one+them

Can anyone show me how to port this to WinEdt 6?

Thank you.

Best Regards,
Y.Calleecharan

Norbert Wermes | 12 Jan 20:50
Picon

Fwd: defining menu shortcuts and help with \cites

> 
> What is the shortcut abbreviation for the 
> right Alt key 
> 
> and how can one find out the numerical values for a key
> in statements like 
> 
>   SHORTCUT="32803::Alt+End"
>  
> in MainMenu.ini
> 
> Thanks
> 

Norbert Wermes | 11 Jan 22:15
Picon

Re: Directory with Projects

Hi Karl,

please let me come back to the problem which I can now reproducibly create and explain better.
Sorry for the initial unclear explanations.

WINEDT 6, Build 20110315

- the text is organized within WINEDT as a project "main.prj"
- main.tex is the MAIN file in the \MAIN directory and includes all chapter files using "include{}"
- the chapters are in \MAIN\CHAP1\chap1.tex, ..., \MAIN\CHAP9\chap9.tex 
- I am editing usually in 2-3 chapters and then compile

If is save chap1.tex into \MAIN\CHAP1\chap1.tex using "save as" and then 'pdftexify'
THEN
a new directory with one (.aux) file is created

\MAIN\CHAP1\CHAP1\chap1.aux

and in addition the files

main.bbl
main.aux
main.blg
main.idx
main.ilg
main.log
main.pdf

are placed under \MAIN\CHAP1
while I expected them to appear under the \MAIN directly.

The reason obviously is that by doing "save as" under \MAIN\CHAP1 this saving directory assignment is valid for all files in the project.

I finally also found the New dropdown button as you suggested.
I succeeded to do the steps 1) to 4), but not 5)

1) from the New dropdown button in the toolbar, choose 'WinEdt Macro'

2) paste this code in that file:
ListFolderFiles(0,"C:\MAIN","",1,0);
WriteFile("C:\MAIN\result.txt","%!0");

i.e.

ListFolderFiles(0,"V:","",1,0);
WriteFile("V:result.txt","%!0");    

V is a virtual disk. The main file is directly there.

3) substitute C:\MAIN with the full path to your main tex file (in both lines)

4) save it as test.edt (wherever)

5) open result.txt (it must be where your main file is)


... then result.txt is NOT written to V:
Searching it on either C not V failed too.

Norbert






On Jan 10, 2012, at 9:09 AM, Norbert Wermes wrote:

Hi, thanks, however ... see below

Your explanation is not very clear...

Do the following:

1) from the New dropdown button in the toolbar, choose 'WinEdt Macro'


I fail to find this, sorry ... a scree shot of my display is attached 


Anyway, as I already told you, when you include subdocuments in subfolders, the corresponding .aux files are put in corresponding subfolders by TeX itself!!!!!!!!!  Nothing to do with WinEdt!!!!!  If you don't like this behavior, you can use \input instead of \include.


I know this, but the .aux file is included in a NEW subdirectory, i.e.

rather than in \CHAP1\chap1.aux
it is included in
\MAIN\CHAP2\CHAP1\chap1.aux

this is the weird thing, the new SUBdirectories !!!!
 


  

<PastedGraphic-3.tiff>

  


Alex Degtyarev | 10 Jan 12:44
Picon

feature request

Dear Alex,

I have a minor feature request for the next release. Alas, latex logs are
too long and too overloaded with junk: every single package tends to print a
lot of useless info, every \count, \dimen, etc. is listed, every \redef, and
lots of other junk... So, it's almost impossible to find the necessary info
when needed. For this reason, it would be just great to have a simple search
in the log window (and, maybe, in other similar windows). Maybe just the
standard windows search dialog, or just a single Edit/OK/Cancel dialog box
with case/diacritics insensitive search, or even just an input box in the
window header in the Sumatra style. Could you give it a thought?

Regards,
Alex

Norbert Wermes | 7 Jan 17:59
Picon

Directory with Projects

I am writing a longer text with several chapters and observe the following problem
WINEDT 6, Build 20110315

- the text is organized within WINEDT as a project
- main.tex is the MAIN file in Directory \MAIN which invokes all chapter files using "include"
- the chapters are chap1.tex in directory \MAIN\CHAP1 ... chap9.tex in directory \MAIN\CHAP9
- I am editing usually within 2-3 chapters and then compile

- now it happens that after having run pdfTexify (or other compilers) that the directory pointer of  main.tex and also of Chapn.text is changed to \WinShell rather than  \MAIN as it was set before and I have to set it back by saving it using "save as".
- In addition - if I edited last the chap1.tex file in directory \MAIN\CHAP1 then the compiler puts all .aux, .toc., .bbl files into this directory rather than
in the \MAIN directory of the main file.

How can I control this?

Thanks for advice.
Norbert

Yih-Dar Shieh | 6 Jan 11:25
Picon

Integration WinEdt and SumatraPDF by AutoIt

Dear Alex,

I am integrating WinEdt + SumatraPDF into a Window, but a 3rd party application: AutoIt. What I have done are the following:
( My question is on the 8th, so you may skip (1)-(7)   )

Suppose you have a test.tex file and already compile it, so you have test.pdf file, and your WinEdt has only
one tab open, i.e test.tex, then when you run WinEdt+SumatraPDF.exe it will

1) Open WinEdt ( so test.tex is opened), get the path and file name( in this case, test.tex and test.pdf), open test.pdf, open test.pdf in a 2nd window

2) Create an AutoIt GUI window with three panels( A vertical split in the middle and a horizontal split in the middle of the right panel )

3) Embed the WinEdt window and SumatraPDF windows into these panels, by a function "SetParent"

4) When you move the split lines of the AutoIt GUI, it will resize the WinEdt and SumatraPDF windows automatically.

5) When double click on WinEdt, it will do forward search ( at the location of the mouse cursor)

6) One can use Ctrl+left or Ctrl+right to switch between WinEdt and SumatraPDF

7) When you type something in test.tex, it will be saved automatically, compile automatically and do forward search automatically. So one get a real-time preview of what you are typing. Of course, when test.tex is to big, the compiliation need more time,  so when it detects pdflatex.exe is running, it will only save the file test.tex, but not to compile. One can also set the idle time before compile to avoid constant compiliation.

8) One can do inverse search, but this is a little bit tricky. Since the WinEdt window is embedded to AutoIt GUI window, it is not a window no longer. When one double click on SumatraPDF window, it invokes the command-line commands

"C:\Program Files (x86)\WinEdt Team\WinEdt 6\WinEdt.exe" "[Open(|%f|);SelPar(%l,8);]"

But since there is no WinEdt window exist, it will open a new WinEdt window, call it WinEdt, and show the inverse search result to this window.

What I have done to solve this problem is: Open a 2nd WinEdt window after (3), call it WinEdt2, and hide it (AutoIt can do this). Then when

"C:\Program Files (x86)\WinEdt Team\WinEdt 6\WinEdt.exe" "[Open(|%f|);SelPar(%l,8);]"

is invoked, the inverse search result is shown on WinEdt2 (but one can't see it, since WinEdt2 is hide!). I also created some macro, so then it will read the current line number of WinEdt2, write it to a linenumber.txt file, and WinEdt will read this linenumber.txt to get the value, and finally go to this line.

It works pretty well, but I hope I can do this better. Is that possible you make the following:

Add some command ( like DDE command ), and when this command is invoked, it will detect if WinEdt.exe process is running.
If not, it will open WinEdt.exe and show the inverse search on this window. If WinEdt.exe process is already running, then get HWND of this process and get the corresponding WinEdt window, and finally show the inverse search result on this window.

I realized that this is a very specific purpose of feature request. So if you are not going to do this, that's fine, since without this, it works already well. But if you can integral WinEdt with SumatraPDF officially, it would be much greater.

Best Regards.




Robert B. Gozzoli | 3 Jan 23:55
Picon

defining menu shortcuts and help with \cites

Dear list members,
I come having two problems with defining a couple of shortcuts.
I would like to set two keyboard shortcuts for \footnote and \cite. I
checked the FAQ and I understand there is a shortcut menu I can use in
order to do that, but I do not know where. If someone can help about
it will be appreciated.

The other point is about the \cites command and double click.

If I double click \cites, the first item in the list is has the
brackets highlighted and found in the bibliography.
I would like however that clicking again, the other item would be
selected and then found in the bibliography.
I believe it is a question of macros, but if someone can help me in
the task or direct me to a webpage, will be appreciated.

Thanks,

Roberto


Gmane