dracoblue.net

Getting LaTeX to work on Windows

After I got the following errors:

! LaTeX Error: Cannot determine size of graphic in filename.jpg (no BoundingBox).

when trying:

\usepackage{graphics}
...
\includegraphics{filename.jpg}

And those errors on a .tex file (a friend gave me):

I found no \citation commands
I found no \bibdata command
I found no \bibstyle command

and several other issues with my latex editors on windows machines, I finally figured out to convert that tex to pdf.

First of all I installed the

miktex latex command line tools. I downloaded basic version here, worked fine.

TexnicCenter and LEd can't manage to edit UTF-8 files. So I needed to stick with texmaker (which works also on linux and mac os). To get utf-8 working there, I switched to Options -> Configure Texmaker and turned Font to utf-8.

After I got those issues with includegraphics tags, I changed the 'fast translation'-key F1 to PdfLatex -> ViewPDF (in options) and: It workes well, even with those images.

In articles, latex, open source, windows by DracoBlue @ 23 Aug 2007 | 175 Words

Embedding Array fields as Attributes in Smarty

If you want to use an arrayfields value as attribute for a function, you can't use:

{func var="test $foo[bar] test"}  <-- sees $foo[bar]

like described in the

manual. You have to use this instead:

{func var="test `$foo.bar` test"}  <-- sees $foo[bar]

In open source, php, smarty by DracoBlue @ 21 Aug 2007 | 53 Words

Fix SA-MP 0.2.1 Internet/Serverlist

Looks like Kyeman is continueing the official site, so this list isn't in use anymore. Thanks for using!

Open

C:\WINDOWS\system32<wbr>drivers\etc\hosts

And append:

[code]81.169.180.114 master.sa-mp.com[/code]

Thats it. em[/em]

This serverlist will be removed as soon as sa-mp is relaunched by the devs.

In dracoblue.net by DracoBlue @ 24 Jul 2007 | 42 Words

Www-Archives and File-Archives

Today I finally added Www-Archives and File-Archives and the required makeAvailable-functions.

This generally means, that you can share your packages on a webserver somewhere and they'll be downloaded on demand only as soon as you try to install them.

The whole system is using sqlite3 now as database, and runs quite fast in tests.

In project, wnp by DracoBlue @ 18 Jul 2007 | 54 Words

DUDB 2.4 and DUtils 1.10

Today I updated DUDB and DUtils with new functionality.

DUDB 2.4 has now udb_renameUser(oldnick[],newnick[]) added and DUtils 1.10 has now a new function called frenametextfile(filename[],newfilename[]). I added both of them, because fputchar is still broken in sa-mp 0.2 on linux machines, so dudb uses the secure [em]fcopytextfile[/em] instead of the [em]fcopy[/em] which only works on windows.

Please update both, if you are using Dini, too.

In dini, dudb, dutils, open source, pawn by DracoBlue @ 12 Jul 2007 | 67 Words

Page 39 - Page 40 - Page 41