[texworks] How to enter placeholder in auto-completion file

Paul A Norman paul.a.norman at gmail.com
Fri Mar 4 23:36:23 CET 2011


Dear Per,

Learning that stuff is useful as you can learn to insert anything else
you need in the future (system wide and not just TeXworks).

Other direct shortcut? - Not unless you research - and assign a
keycode  one in your system

Here is a macro/script in TeXworks to keep you going :)

Un-zip into your scripts folder (available on your Scripts menu /
Scripting TeXworks)

Then reload scripts (same menu area).

And if there is no shortcut conflict,

 Alt+M & Alt+B

will forever after  make you a bullet in TeXworks (only)

Paul

// TeXworksScript
// Title:  Make Bullet
// Description: Inserts a bullet for autocompletion
// Author:  Paul Norman
// Version: 0.1
// Date: 2011-03-05
// Script-Type: standalone
// Context: TeXDocument
// Shortcut: Alt+M, Alt+B


 TW.target.insertText("\u2022");




On 5 March 2011 10:21, Per Ting <perting at gmail.com> wrote:
> Wow, that is lengthy. Is there shortcut (as in MAc, suggested by Herb)?
>
>
> On Thu, Mar 3, 2011 at 5:31 PM, Paul A Norman <paul.a.norman at gmail.com>
> wrote:
>>
>> Dear Per,
>>
>> On a Windows machine,
>>
>> 1. Position the cursor in TeXworks where you want it.
>>
>> 2. Turn Number Lock on (leave it on)
>>
>> 3. Keeping the Alt key down.
>>
>> 4. On the numeric key pad type 0149
>>
>> 5. Release the Alt key.
>>
>> You should have a bullet.
>>
>> Here is a quick reference for a few of the other possible combinations.
>>
>>    http://www.nationalfinder.com/html/char-asc.htm
>>
>> A more comprehensive guide (including unicode is here)
>>
>>    http://www.fileformat.info/tip/microsoft/enter_unicode.htm
>>
>> And of course
>>
>>    http://www.unicode.org/charts/About.html
>>
>> Paul
>>
>> On 4 March 2011 11:08, Herbert Schulz <herbs at wideopenwest.com> wrote:
>> >
>> > On Mar 3, 2011, at 3:32 PM, Per Ting wrote:
>> >
>> >> I am wondering how I can enter the small black placeholder circle using
>> >> standard American English keyboard (on PC and Mac) in a local
>> >> auto-completion file. The recently posted Texworks manual does not say
>> >> anything about this.
>> >>
>> >> Thanks
>> >>
>> >> Per
>> >
>> > Howdy,
>> >
>> > Don't know how to do that on a Windows machine but you should be able
>> > just type Opt-8 on a Mac to produce the bullet character which is what that
>> > mark really is.
>> >
>> > Good Luck,
>> >
>> > Herb Schulz
>> > (herbs at wideopenwest dot com)
>> >
>> >
>> >
>> >
>> >
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makeBullet.zip
Type: application/zip
Size: 329 bytes
Desc: not available
URL: <http://tug.org/pipermail/texworks/attachments/20110305/cbd87986/attachment.zip>


More information about the texworks mailing list