Posts

Showing posts from February, 2025

Using Drupal and DITA OT to Create a PDF File

Image
This post shows you how to use Drupal and DITA OpenToolkit to create a PDF file. It uses Views in Drupal and the REST UI to create a json file that will be used to create a bookmap and markdown files. These files will be used by Open Toolkit to create a PDF file. Prerequisites:  Drupal, DITA OT, Python Make sure that the following modules are installed in Drupal: For DITA Open Toolkit, you can use markdown files instead of DITA files. For this post we will use markdown files, which are much easier to work with. DITA files require that you are familiar with fairly complex tagging. Markdown is much easier to use. See the following website for a markdown cheatsheet: https://www.markdownguide.org/cheat-sheet/ Creating  Dita Bookmap and Markdown Content Types We will create a Dita bookmap and two markdown files. First, let's make two new  Content Types  in Drupal. For the first content type, perform the following steps: Select  Structure > Content Types > ...

Code Block in Blogger

Code Block in Blogger Use the following command to write a code block in blogger: < pre > < code style = " background-color: #eeeeee; border: 1px solid rgb(153, 153, 153); display: block; overflow: auto; padding: 20px;" > you can write your code between this < code ></ code > tag </ code > </ pre >   After the code block was created. I copied the above code text from Visual Code Studio, and it retains its style. This will be useful for me in further posts. See  How to add code snippets in blogger posts  for more details. 

Revamped Site

 Revamped Site This is site has  been revamped and will focus on some of the programming projects that I am currently working on or have worked on in the past. Some the projects that I worked on have been posted on Github. My main focus is Python and Ruby web frameworks. I have also been playing around with Docker containers, and I may provide some posts on what I have learned. Another interest  for me is PowerShell. I plan on providing content about PowerShell scripting.

Github Projects

Github Projects My github site is located at the following URL: https://github.com/edstraus23/ These are the projects that I am working on: https://github.com/edstraus23/python_proj0 - Documenting Python code with Sphinx https://github.com/edstraus23/python_proj1 - Flask-Based CMS Project https://github.com/edstraus23/python_proj2 - Documenting Python code with Doxygen https://github.com/edstraus23/c_proj0 - Documenting C code with Doxygen https://github.com/edstraus23/sinatra_proj0 - Sinatra-Based CMS Project