segunda-feira, 27 de junho de 2011

Instalando referencias ABNT no word 2007

Referencia : http://www.tecnosapiens.com.br/2009/10/instalando-referencias-abnt-no-word-2007/


Em um artigo que escrevi em maio, o “Nota Rápida: Conheça o Mecanismo Online para Referências“, apresentei um recurso online (e gratuito) que gera referências no formato ABNT. Com certeza, se trata de uma mão na roda mas, no caso de grandes documentos (como teses e dissertações) o gerenciamento de referências e citações pode se tornar um problema considerável.

Provavelmente, as pessoas que utilizam o LaTeX não tem esse tipo de problema, mas aqueles que usam editores de textos como o Word e o OpenOffice podem encontrar problemas e dificuldades para fazer este gerenciamento e, principalmente, para utilizar as normas da ABNT para citações e referências.

No Word 2003, por exemplo, não há nenhum mecanismo nativo que permita o gerenciamento de referências. Entretanto, o Word 2007 possui um gerenciador de referências. O problema é que ele não vem com as normas ABNT de fábrica.


Como nem todos conhecem o gerenciador de referências do Word 2007, ele fica localizado na aba References (é que meu Word está em Inglês):


Aba References

Vamos nos focar apenas nas funcionalidades relacionadas diretamente com referências e citações:


Citações e Bibliografia

Os estilos disponíveis de referências que vêm de fábrica não incluem o estilo da ABNT:


Estilos de referências

Isso torna inútil este recurso para os brasileiros que escrevem textos acadêmicos que exigem obediência às normas ABNT (como monografias, teses, disseratações e artigos científicos). Mas, nem tudo está perdido. Recentemente encontrei uma forma de inserir os estilos da ABNT no banco de estilos de referências do Word 2007.

O procedimento é relativamente simples, vejam:

1. Faça download do arquivo com as normas ABNT:
Siga este link e faça download do estilo de norma que você deseja. Atualmente existem três estilos disponíveis: a ABNT normal (citações feitas com o sobrenome do(s) autor(es) e bibliografia em ordem alfabética), a ABNT numérica (citações indicadas por números e bibliografia na mesma ordem das citações) e uma ABTN numérica alternativa (se você instalar esta, depois me diga como ela é…. ). Se você clicou no link indicado no começo deste parágrafo, verá uma tela com os links para download:


Estilos ABNT disponíveis para download

Para fazer o download, você deve clicar no link correspondente ao estilo que deseja instalar e aceitar os termos de uso (clique em I Agree):


Licença de uso do estilo

Salve o arquivo (que tem extensão XSL) no diretório de sua preferência:


Salve o arquivo

2. Copie o arquivo para o local correto
Depois que você salvou o arquivo do estilo ABNT desejado, só resta copiá-lo para o local em que o Word 2007 armazena seus estilos.

Na maioria das máquinas com o Windows, o local é este (se seu Windows estiver em português, substitua program files, por arquivos de programas):
%program files%\Microsoft Office\Office12\Bibliography\Style

No caso de máquinas com o MAC e Word 2008, coloque o arquivo em:

/Applications/Microsoft Office 2008/Microsoft Word.app/Contents/Resources/Style/

Pronto. Se você seguiu os passos acima, já tem instalado o seu estilo ABNT:


Estilo ABNT instalado

Bem, por hoje é só pessoal. No próximo artigo vou mostrar como utilizar o gerenciador de referências do Word 2007.

Espero que tenham gostado da dica (comentários são sempre bem-vindos).

segunda-feira, 20 de junho de 2011

vesamenu.c32: not a COM32R image com o Usb-Creator no Ubuntu 10.04/10.10

acontece por conta de um bug no usb-creator. mole de resolver , no menu boot:
escrever :

help e apertar enter

vai aparecer um menu

aperte enter de novo ... pronto ... boota que eh uma beleza!

quinta-feira, 16 de junho de 2011

Compilando , instalando o VTK e unindo com o VS2008

Fonte: http://www.cs.uiowa.edu/~cwyman/classes/common/howto/winVTK.html

Compiling VTK Using CMake and Visual Studio

Preliminaries:

So you've got the CD/DVD from the back of the book "The Visualization Toolkit" or perhaps you've downloaded VTK directly from the website, but now you've got problems compiling it on your home Windows machine.

Fortunately, if you have the textbook compilation is relatively straightforward.

Please note, the installer on the CD only installs a binary version of VTK useful only as a Tcl interpreter using the VTK Tcl bindings.
However, the Windows installer also allows you to install an executable version of CMake, which is required to build the version of VTK necessary for class.
You can skip the CD's installer entirely, but you will need to download and install CMake yourself. And if you plan to use Tcl, you'll need to download that as well.
Using CMake to Setup a VTK Visual Studio Project:

Copy the directory from the CD "VTK\Source\VTK\" to your hard drive.
I put mine in "C:\VTK\Source\VTK\".
Note: This directory name should have no spaces or other weird characters in it.
You may also want to copy "C:\VTK\Source\VTKData\" if you plan to use any example code.
Open up CMake. You can do this using either a command line or a nice Windows GUI.
Open the GUI by running "CMakeSetup.exe" -- for me this is in the directory "C:\Program Files\CMake 2.4\bin\"
In the box labeled "Where is the source code:" enter the directory containing the VTK source
Again, for me this was "C:\VTK\Source\VTK\"
In the box labeled "Where to build the binaries:" enter some temporary directory.
I used "C:\VTK\VTK-win\"
Again, this directory should have no spaces or other weird characters.
Once the values have the directories set appropriately, click on the button labeled "Configure."
A dialogue will pop up asking for the system you plan to use to compile VTK.
Select the correct version of Visual Studio.
In my version of CMake, there was no entry for Visual Studio 2008, so pick the entry for Visual Studio 2005 (which VS 2008 can understand). I expect if you download the latest version of CMake, it will work out-of-the-box with Visual Studio 2008.
Click OK.
CMake will spend quite a bit of time detecting information about your system and configuring the Visual Studio project.
Wait for a bit. Maybe 2-3 minutes
Eventually, configuration will be over and a number of red configuration variables will appear in the box entitled "Cache Values." You may change these, depending what you want to build. There are a few you really should change:
I would encourage you to set "BUILD_EXAMPLES" to "ON"
If you use the examples, you should set "VTK_DATA_ROOT" to be the directory where you copied the data from the CD's "VTK\Source\VTKData\" directory. CMake detected a really nasty-looking directory name for this, you may want to clean that up.
You should set the "CMAKE_INSTALL_PREFIX" to be the directory you want to contain the headers (.h) and libraries (.lib) you will need to compile your own programs.
This directory cannot contain spaces or other weird characters.
NOTE: The default chosen probably will include spaces (i.e., "C:\Program Files\VTK"). Change this!
Subdirectories entitiled "include" and "lib" will be automatically created.
I set this to be "C:\VTK\"
Once the cached values have been set appropriately, again click on the button labeled "Configure."
This will only take a moment.
Click the button labeled "OK" to finish generating the Visual Studio project.
This will take maybe 10 seconds, then CMake will exit.
Compiling VTK with Visual Studio:

Go to the temporary directory chosen in CMake to build your binaries.
Again, for me this was "C:\VTK\VTK-win\"
Open up the Visual Studio project "ALL_BUILD.vcproj"
If you use Visual Studio 2008, it will ask you to convert to a VS 2008 project. Click "Next>" then "Next>" then "Finish".
At the top of Visual Studio UI, select a "Release" build instead of a "Debug" build (the default).
Unless, of course, you plan to use the debugger inside internal VTK functions.
In the solution explorer, right click on "ALL_BUILD," select the entry in the menu to "Build."
Wait while Visual Studio compiles.... This will take a little while.
The headers (.h) and libraries (.lib) are now compiled, but are located in all sorts of odd directories.
In the solution explorer, right click on "INSTALL," select the entry in the menu to "Build."
All the headers and libraries will be copied to the directory specified in CMake as "CMAKE_INSTALL_PREFIX."
The libraries will be in the "lib/" directory and the headers will be in the "include/vtk-5.0/" directory.
You are done compiling VTK!
Testing VTK to Double Check Things Worked:

Make sure there were no errors reported by Visual Studio when building or installing.
Check inside the build path in the directory "bin\Release\" for a number of executables, such as "VTKBenchMark.exe" that you can run to double check things work correctly. Please note most or all of the examples in this directory do not open interactive windows, but rather display a couple images and then quit.
For me, these test executables are in "C:\VTK\VTK-win\bin\Release\"
Check the installed header directory "include\"
Mine has 1,074 files
Check the installed library directory "lib\"
Mine has 64 files
If you have problems compiling, you can try to use my compiled libraries and headers.
Using VTK in Your Code:

There are two ways to get your code to link to the VTK libraries.

One approach is to continue using CMake. To use CMake, you must create a CMakeList.txt file to be processed while generating a Visual Studio project for your program. To see what a CMakeList.txt looks like, you can take a look at a sample or search for other online CMake documentation.

To link to VTK in a more "usual" Visual Studio fashion, you can:

Add the include directory to the "Addional Include Directories".
This entry is found in: Project Menu -> Properties, then under Configuration Properties -> C/C++ -> General.
My include directory is "C:\VTK\include\vtk-5.0"
Add the library directory to the "Additional Library Directories"
This entry is found in: Project Menu -> Properties, then under Configuration Properties -> Linker -> General.
My library directory is "C:\VTK\lib"
Include all the VTK libraries (.lib) files you use in your program under "Additional Dependencies"
This entry is found in: Project Menu -> Properties, then under Configuration Properties -> Linker -> Input.
You'll have to either include all the VTK libraries here or guess which ones you need.
A good place to start for the basic cone demo is to link to vtkCommon.lib, vtkFiltering.lib, vtkGraphics.lib, vtkRendering.lib, and vtksys.lib.
Link to the OpenGL library ("opengl32.lib") also under "Additional Dependencies".

quarta-feira, 1 de junho de 2011

Consertando o erro de linkagem do VS 2008 com win 7 32 bits

O erro ocorre ao tentar compilar alguns projetos convertidos.

Essa é a descrição do erro :

LINK : fatal error LNK1000: Internal error during IncrBuildImage

solucao :

baixar

http://www.4shared.com/file/dldSoXTk/VS90-KB948127.html

ou do proprio site da microsoft (eh o mesmo arquivo )

https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=11399

instalar e pronto ...

Marcadores: