Ibex dotnet core beta [9 June 2019]

Status

The dotnet core beta version of Ibex PDF Creator is compiled with Visual Studio 2017 version 15.9.11 using the dotnet core SDK version 2.2.106

This has been tested in Windows 10 and Ubuntu Linux 18.4

Testing on Windows using Visual Studio

If you have not already done so, install a dotnet core runtime or SDK from
https://dotnet.microsoft.com/download/dotnet-core/2.2

1. Open Visual Studio

2. Create a new .NET Core Console App project

3. Right click the project in the Solution Explorer window and select Manage Nuget Packages ...

4. At the top ofthe NuGet window click "Browse"

5. In the search field enter "ibex" and press return. This should display the Ibex PDF Creator package.

If the Ibex.PDF.Creator.Core package is not displayed, check that the Package Source in the top right of the window is set to nuget.org like so

6. Select the Ibex.PDF.Creator.Core package by clicking on it, this should display details in the left window.

7. Click the Install button. This will add the Ibex package to the project

8. Download these two test files and save them

svgradial.fo radial.svg

9. Edit Program.cs and replace all its code with this:

using System;
using ibex4;
public class Simple {
    static void Main( string[] args ) {
       FODocument doc = new FODocument();
       doc.generate( "svgradial.fo", "svgradial.pdf" );
    }
}
    

Update the paths for "svgradial.fo" and "svgradial.pdf" to point to where you saved these files

10. Execute the program, creating svgradial.pdf

Testing on Windows using the comand line

If you have not already done so, install a dotnet core runtime or SDK from
https://dotnet.microsoft.com/download/dotnet-core/2.2

1. Open a command line window

2. Optionally create a temp directory and change into it

      mkdir tmp
      cd tmp
    

3. Create a new dotnet project using this command

      dotnet new console --name testibex
    

4. Change to the project directory

      cd testibex
    

5. Add the Ibex PDF Creator component to the project. This command will download it at the same time.

      dotnet add package Ibex.PDF.Creator.Core
    

6. Edit Program.cs and replace all its code with this:

      using System;
      using ibex4;
      public class Simple {
      static void Main( string[] args ) {
      FODocument doc = new FODocument();
      doc.generate( "svgradial.fo", "svgradial.pdf" );
      }
      }
    

7. Compile the app

dotnet build
dotnet

8. Download these two test files and save them into the testibex directory

svgradial.fo radial.svg

Execute the program, creating svgradial.pdf

dotnet run

Testing on Linux

If you have not already done so, install a dotnet core runtime or SDK.

The intructions for installing the runtime fon Ubuntu linux can be found at
https://dotnet.microsoft.com/download/linux-package-manager/ubuntu18-04/runtime-2.2.0

1. Open an xterm window

2. Optionally change to your home or other directory

cd ~

3. Create a new dotnet project using this command

dotnet new console --name testibex

4. Change to the project directory

cd testibex

5. Add the Ibex PDF Creator component to the project. This command will download it at the same time.

dotnet add package Ibex.PDF.Creator.Core

6. Edit Program.cs and replace all its code with this:

using System;
using ibex4;
public class Simple {
      static void Main( string[] args ) {
          FODocument doc = new FODocument();
          doc.generate( "svgradial.fo", "svgradial.pdf" );
      }
}

7. Compile the app

dotnet build
dotnet

8. Download these two test files and save them into the testibex directory

curl http://www.xmlpdf.com/radial.svg --output radial.svg
curl http://www.xmlpdf.com/svgradial.fo --output svgradial.fo

Execute the program, creating svgradial.pdf

dotnet run
okular svgradial.pdf

Documentation

The Ibex manual can be downloaded from http://www.xmlpdf.com/builds/ibex.pdf

Limitations

Right-to-left languages such as Arabic and Hebrew are not yet supported.

Type 1 fonts are not yet supported. TrueType fonts are supported.

There is no runtime or developer license support in the beta.

Support

We are interested in your feedback.
All support is provided by email. Please send support requests to support@xmlpdf.com.

Copyright (c) 2002-2019 Visual Programming Limited