Difference between revisions of "File formats/3D PDF"
Jump to navigation
Jump to search
AngelHerraez (talk | contribs) (compiling instructions for making a PDF with 3D model from Jmol) |
AngelHerraez (talk | contribs) (more content) |
||
Line 8: | Line 8: | ||
* Installation of MiKTeX (Windows) | * Installation of MiKTeX (Windows) | ||
# Download and install Miktex "basic" from http://miktex.org/ | # Download and install Miktex "basic" from http://miktex.org/ | ||
− | # Do an update | + | # Do an update (<code>Start > Programs > MiKTeX > Maintenance</code>) |
− | # Open the download manager and download the movie15 package | + | # Open the download manager and download the movie15 package (<code>Start > Programs > MikTex > Maintenance</code>) |
=== IDTF to U3D === | === IDTF to U3D === | ||
(See also descriptions and comments for [[File_formats/3D_Objects#IDTF|IDTF]] and [[File_formats/3D_Objects#U3D|U3D]] formats regarding Jmol.) | (See also descriptions and comments for [[File_formats/3D_Objects#IDTF|IDTF]] and [[File_formats/3D_Objects#U3D|U3D]] formats regarding Jmol.) | ||
− | * | + | * ''Windows'' installation of IDTFConverter |
− | # Download and unzip http://www.iaas.msu.ru/tmp/u3d/u3dIntelWin.zip into, perhaps, {{file|c:\idtf}} | + | # Download and unzip http://www.iaas.msu.ru/tmp/u3d/u3dIntelWin.zip into, perhaps, {{file|c:\idtf\}} |
− | # Create a simple command file {{file|u3d.bat}} and place it in a folder where it is easily | + | # Create a simple command file {{file|u3d.bat}} and place it in a folder where it is easily accessible (e.g. the Windows directory or a folder included in the system's path). This {{file|u3d.bat}} file must contain this text: |
:: <code>c:\idtf\idtfconverter.exe -input %1.idtf -output %1.u3d</code> | :: <code>c:\idtf\idtfconverter.exe -input %1.idtf -output %1.u3d</code> | ||
+ | |||
+ | * ''MacOS and Linux'' installation of IDTFConverter | ||
+ | # See [[File_formats/3D_Objects#IDTF|IDTF]] for instructions on getting the converter. | ||
+ | # Create a command file similarly to the one described for Windows. | ||
== Creating the document == | == Creating the document == | ||
− | 1. Within Jmol: | + | 1. Within Jmol script console: |
: <code>write c:/temp/xxx.idtf</code> | : <code>write c:/temp/xxx.idtf</code> | ||
− | : That will create two files: {{file|xxx.idtf} and {{file|xxx.idtf.tex}} | + | : That will create two files: {{file|xxx.idtf}} and {{file|xxx.idtf.tex}} |
− | 2. | + | 2. At the system command line or terminal, call the {{file|u3d.bat}} file (Windows), or equivalent MacOS or Linux command file, to convert the {{file|.idtf}} to {{file|.u3d}} format: |
: <code>u3d c:\temp\xxx</code> | : <code>u3d c:\temp\xxx</code> | ||
Revision as of 15:29, 16 July 2010
Contents
PDF documents with integrated 3D interactive models
(This is a draft)
Installations
LaTeX to PDF
There are several pdfLatex software, like teTex, MiKTeX...
- Installation of MiKTeX (Windows)
- Download and install Miktex "basic" from http://miktex.org/
- Do an update (
Start > Programs > MiKTeX > Maintenance
) - Open the download manager and download the movie15 package (
Start > Programs > MikTex > Maintenance
)
IDTF to U3D
(See also descriptions and comments for IDTF and U3D formats regarding Jmol.)
- Windows installation of IDTFConverter
- Download and unzip http://www.iaas.msu.ru/tmp/u3d/u3dIntelWin.zip into, perhaps, c:\idtf\
- Create a simple command file u3d.bat and place it in a folder where it is easily accessible (e.g. the Windows directory or a folder included in the system's path). This u3d.bat file must contain this text:
c:\idtf\idtfconverter.exe -input %1.idtf -output %1.u3d
- MacOS and Linux installation of IDTFConverter
- See IDTF for instructions on getting the converter.
- Create a command file similarly to the one described for Windows.
Creating the document
1. Within Jmol script console:
2. At the system command line or terminal, call the u3d.bat file (Windows), or equivalent MacOS or Linux command file, to convert the .idtf to .u3d format:
u3d c:\temp\xxx
3. Run the MikTeX program TeXworks and open your xxx.idtf.tex
4. Click menu item Typeset