Tuesday, October 27, 2009

Blue Border on Blackberry Apps

I had a blue border and permanent keyboard locked in portrait view (wouldn't rotate) with the touch screen being slightly off (didn't accurately recognize where my finger was) after reinstalling Google Sync. To fix it I went to

options>applications>highlight Google Sync>click menu>click Disable Compatibility mode>pull the battery

This worked for me and with this app. I've seen the same blue border on a friends phone with YouMail and with the QuickPull Scheduler. I don't know if it would fix those problems as well, but it's definitely worth a shot! I gathered it was a Java problem but i dont know. It made the apps unusable.

Blackberry/Outlook/Gmail sync

IF Google was willing to include contact sync with their desktop calender sync program life would be much easier. I don't know why mobile sync includes both but desktop doesn't. I also don't know why gmail contacts info fields aren't the same as outlook. I think outlook has a better system simply because the interface and extendability are a little better than gmail. Anyway, here's how I sync my Outlook to Blackberry Storm to Google Calender/Contacts to Outlook.

First thing Backup!

This method is free and works without making duplicates. It's not perfect and i'm only writing this because over the last 24 hours I've had to restore all my contacts and fix my calendar about 3 times because the new OS 5 came out and i couldn't help but screw around...and ruin everything.

1. Install Google Calendar sync on the PC (http://www.google.com/sync/pc.html)
- sign in and select 2-way sync

2. Blackberry Desktop Manager
-click on synchronization-configure synchronization (in the left pane)
-click on synchronization (in the right pane)
-check what you want but UNCHECK the sync Calendar box
This step make sure the contacts get synced to outlook. Because google sync for pc doesn't sync contacts there's no problem of duplicates.

This still means you have to connect to the host PC with either the cable or bluetooth...i dont have bluetooth so it's not entirely wireless.

3. Install Google sync mobile to the blackberry. (http://www.google.com/sync/blackberry.html)
This automatically puts contacts and calender events on Gmail and Google Calendar which is synced with Outlook with step 1.

I'm set up so the blackberry is the primary device. This is because i actually sync across multiple computers too and the blackberry can be the go between.

Wednesday, May 27, 2009

Verticle Scroll bar Missing in Word 2007

Sometimes the vertical scroll bar in Word 2007 disappears for no apparent reason. To turn it back on go to

the Windows button in the top left corner, Word Options, Advanced, Display

then check 'show vertical scroll bar'

I don't know why this is even an option.

Friday, May 15, 2009

Remote Desktop with Mulitple Monitor Support

This post is basically a bookmark for myself so I can quickly find the links I used to figure out how to remote desktop over multiple monitors.

for multiple monitors of the same size and resolution the 'run' command is

mstsc /span

this was found here

for monitors of different resolution

mstsc /W:2860 /H:1050

where 'W' is the total width of both monitors (2860=1680+1280) and 'H' is the height of the smallest monitor.

this was found here

The problem is that the computer i'm trying to log in to has two identical monitors, but the computer i'm logging in from does not. The /span command doesn't seem to work correctly.

Monday, May 4, 2009

Making bibliography styles for Latex

This is actually much easier than I expected.

Open a command prompt and type
latex makebst

this opens a dialog where you fill out a bunch of formatting questions. It creates a .dbj file and ask if you want to run this 'batch job now.' Clicking yes generates the .bst file you'll need for the \bibliographystyle{} command

The output files are in C:\Users\Username

Monday, April 27, 2009

Grouping Nomenclature in Latex

See the other post about nomenclature for general usage

the \nomenclature command has some other options given by

\nomenclature[]{}{}

the is replaced by a letter or number to define groups in the nomenclature. You can create group titles by following the 'subgroups' section. If you JUST want to group things together, just use numbers like

\nomenclature[1]{$A$}{The nozzle cross-sectional area}

\nomenclature[1]{$A^*$}{The throat area}

\nomenclature[2]{$\varepsilon$}{The area ratio, $\varepsilon=A^*/A$}

\nomenclature[1]{$M$}{The Mach number}

\nomenclature[2]{$\gamma$}{The ratio of specific heats}


to group the roman and greek letters seperately.


For the aiaa-tc class from aiaa.org i had to do this because they had subgroups defined in the class. There subgroups are

b = subscript
c = convention
g = Symbols
t = superscript

This is usually dependent on \usepackage[]{nomencl} or \usepackage[noprefix]{nomencl} and i haven't messed around too much with other classes, but the aiaa-tc class overwrote the option anyway so i had to use numbers instead of letters for everything.

Nomenclature in Latex Made Easy

As pretty as Latex documents are, for 40 years of development you'd think they'd have made all this automatic. I'm using Texmaker to generate the Latex output and a BATCH file to generate the nomenclature. The Latex syntax you'll need can be found here.

In the directory where the Latex file is located create a BATCH file (a text document with the extension changed to .bat) with the following command

makeindex.exe filename.nlo -s nomencl.ist -o filename.nls

replace 'filename' with the name of the tex file. For example if the tex file is called 'glossary.tex' then the BATCH file command would look like

makeindex.exe glossary.nlo -s nomencl.ist -o glossary.nls

The process is 3 steps,
1) Run Latex on the document to identify the nomenclature,
2) build the nomenclature by double clicking on the BATCH file,
3) print the nomenclature to the output file by running Latex on the document again

The process should similar for generating indexes and glossaries except the Latex syntax is a little different. They all use the makeindex.exe command so they all need different identifiers.