Skip to content

Instantly share code, notes, and snippets.

View lpowers-typefi's full-sized avatar

Laura Powers lpowers-typefi

  • Typefi Systems Inc
View GitHub Profile
<c type="cell-format">
border-top: 0.5pt dashed black;
border-right: 0.5pt dashed black;
border-bottom: 3pt double black;
border-left: 0.5pt dashed black;
background-color: #3C3C3C;
indent: 1;
</c>
@lpowers-typefi
lpowers-typefi / writer-troubleshooting-log.txt
Created October 4, 2021 13:48
Example diagnostic logging
2021-10-04 09:42:50 Attach TSS process starting
2021-10-04 09:42:50 Selecting a workflow from server
2021-10-04 09:42:50 Retrieve last attached workflow file's server location details
2021-10-04 09:42:50 Server address: [address] Customer: [Customer] Server file: [file.typefi_workflow]
2021-10-04 09:42:50 Trying to connect to server [server]
2021-10-04 09:42:50 Connected to server successfully
2021-10-04 09:42:50 Trying to connect to server [server]
2021-10-04 09:42:50 Connected to server successfully
2021-10-04 09:42:52 Selected server file : [file].typefi_workflow
2021-10-04 09:42:52 User selected the server file File name: [file].typefi_workflow
package com.typefi.action.demo;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Paths;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
{
"displayname": "Demo",
"description": "Demo plug-in",
"vendor": "Typefi Systems Pty Ltd",
"actions":
[
{
"type": "create-file",
"uiVersion": 1,
"displayname": "Create File",
{
"displayname": "JATS",
"description": "JATS import and export",
"vendor": "Typefi Systems Pty Ltd",
"namespace": "com.typefi.jats",
"descriptorVersion": 2,
"minServerVersion": "8.2.0",
"actions":
[
{
<content>
<fieldSet name="year" value="1983">
<section>
<context>
<p>Monty Python's The Meaning of Life (<fieldRef name="year"/>)</p>
</context>
</section>
</content>
<!-- Resolves to: -->
<!-- Office 365 client configuration file sample.
To be used for Office 365 ProPlus apps, Office 365 Business
apps, Project Pro for Office 365 and Visio Pro for Office 365.
For detailed information regarding configuration options,
visit: http://aka.ms/ODT. To use the configuration file,
be sure to remove the comments.
The following sample allows you to download and install the
32-bit version of the Office 365 ProPlus apps and Visio Pro
<p style="break:evenPage">
There’s a lot of it about — probably a virus.
Keep warm, plenty of rest, and if you’re playing any football
try and favour the other leg.
</p>
<math>
<mi>a</mi>
<mo>&#x200D;</mo>
<mo>=</mo>
<mi>b</mi>
</math>
<mspace linebreak = 'newline'/>
<math>
<mo>&#x200D;</mo>
<mo>=</mo>
<mrow>
<mi>P</mi>
<mi>V</mi>
<msub>
<mi>E</mi>
<mrow>
<mtext>Brutto</mtext>
<mtext>,a</mtext>
</mrow>
</msub>